@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

@font-face {
  font-family: Vidoya;
  src: url("./PPNeueMontreal-Book.otf");
  font-weight: 400;
}
@font-face {
  font-family: Cairo;
  src: url("./Cairo-VariableFont_slnt_wght.ttf");
}
@font-face {
  font-family: Montserrat;
  src: url("./Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: Montserrat;
  src: url("./Montserrat-Italic-VariableFont_wght.ttf");
  font-style: italic;
}
@font-face {
  font-family: Vidoya;
  src: url("./PPNeueMontreal-Italic.otf");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: Vidoya;
  src: url("./PPNeueMontreal-Bold.otf");
  font-weight: 700;
}
:root {
  --bg: #0f1212;
  --panel: #19201f;
  --raised: #212a28;
  --field: #131817;
  --ink: #f5f7f6;
  --muted: #9ca8a4;
  --teal: #4eb9ad;
  --teal-dark: #2f928d;
  --gold: #d4a82e;
  --danger: #e27474;
  --line: rgba(255, 255, 255, .08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Open Sans", Arial, system-ui, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 6px 6px;
}
img, video, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1780px, calc(100% - 36px)); margin: 0 auto; }
.nav {
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 25px; }
.brand-logo { flex: 0 0 auto; height: 58px; }
.brand-logo img {
  display: block; width: auto; height: 100%; max-width: 250px; object-fit: contain;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #151817; background: var(--teal); box-shadow: 5px 7px 14px #060808;
}
.brand em { color: var(--gold); font-style: normal; }
.nav-links { display: flex; gap: 24px; align-items: center; color: var(--muted); }
.button {
  min-height: 44px; border: 0; border-radius: 14px; padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--ink); background: var(--raised); box-shadow: 4px 6px 13px rgba(0,0,0,.34);
}
.button:hover { filter: brightness(1.08); }
.button.primary { color: #0b1715; background: var(--teal); font-weight: 700; }
.button.gold { color: #171407; background: var(--gold); font-weight: 700; }
.button.ghost { background: transparent; box-shadow: none; border: 1px solid var(--line); }
.button.danger { color: #ffdede; background: rgba(226,116,116,.15); }
.hero {
  min-height: 640px;
}
.hero-home {
  position: relative;
  width: calc(100% - 20px);
  margin: 10px auto 0;
  min-height: clamp(650px, 56vw, 950px);
  display: flex;
  align-items: flex-start;
  overflow: visible;
  border-radius: 20px;
  background-color: #0d1014;
  background-image: url("./HERO-20260614.jpg?v=20260815-Optimized");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 82% auto;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 18, .97) 0%, rgba(11, 14, 18, .88) 19%, rgba(11, 14, 18, .28) 38%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(58px, 6vw, 110px);
  padding-bottom: 60px;
}
.hero-copy {
  width: min(490px, 36vw);
}
.hero-copy h1 {
  font-size: clamp(47px, 4.7vw, 78px);
}
.hero-copy .lead {
  max-width: 480px;
  font-size: clamp(16px, 1.2vw, 19px);
}
.hero-copy .industry-intro {
  max-width: 470px;
  margin-top: 20px;
}
.hero-copy .actions {
  margin-top: 24px;
}
.eyebrow, .section-label {
  color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
h1 { font-size: clamp(48px, 7vw, 92px); line-height: .94; letter-spacing: -.055em; margin: 18px 0 24px; }
h1 span, h2 span { color: var(--teal); }
.lead { max-width: 670px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.industry-intro {
  max-width: 720px; margin: 24px 0 12px; color: var(--ink); font-size: 16px; line-height: 1.5;
}
.industry-list {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none;
}
.industry-list li {
  padding: 8px 13px; border: 1px solid rgba(78, 185, 173, .34); border-radius: 999px;
  color: var(--teal); background: rgba(78, 185, 173, .07); font-size: 14px; font-weight: 700;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.mockup, .panel, .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 10px 14px 30px rgba(0,0,0,.38);
}
.mockup { padding: 18px; transform: rotate(1.5deg); }
.mockup-screen { aspect-ratio: 9/10; border-radius: 16px; background: #090b0b; padding: 22px; display: grid; }
.mock-video {
  place-self: center; width: 56%; aspect-ratio: 9/16; border-radius: 18px;
  background: linear-gradient(145deg, #158b95, #d1a127 50%, #1a1a1a 51%);
  display: grid; place-items: end center; padding: 26px 10px; text-align: center;
}
.mock-video strong { font-size: clamp(18px, 3vw, 36px); }
.section { padding: 82px 0; }
.section h2 { font-size: clamp(36px, 5vw, 64px); margin: 10px 0 36px; letter-spacing: -.04em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; }
.card h3 { font-size: 24px; margin: 12px 0; }
.card p { color: var(--muted); line-height: 1.55; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 18px;
  padding-top: 12px;
}
.feature-card {
  position: relative;
  min-width: 0;
  padding: 34px 18px 18px;
  border-radius: var(--radius);
  overflow: visible;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.feature-card:hover {
  border-color: rgba(78, 185, 173, .28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24), 0 0 24px rgba(78, 185, 173, .08);
  transform: translateY(-2px);
}
.feature-card h3 {
  margin: 4px 0 9px;
  font-size: clamp(19px, 1.45vw, 25px);
}
.feature-card p {
  min-height: 4.7em;
  margin: 0 0 17px;
  font-size: 14px;
}
.feature-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 860 / 510;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
}
.feature-card:hover img {
  transform: scale(1.025);
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 0 28px rgba(255, 255, 255, .08);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 34px 18px 18px;
  border-radius: var(--radius);
  background: linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255,255,255,.18) 50%, transparent 58%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-36%);
  transition: opacity .32s ease, transform .48s ease;
}
.feature-card:hover::after {
  opacity: .42;
  transform: translateX(36%);
}
.feature-number {
  position: absolute;
  top: -18px;
  left: 18px;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78,185,173,.52);
  border-radius: 50%;
  color: var(--teal);
  background: var(--panel);
  box-shadow: 5px 7px 16px rgba(0,0,0,.32);
  font-size: 22px;
  font-weight: 700;
}
.price { font-size: 48px; font-weight: 700; }
.price small { color: var(--muted); font-size: 16px; font-weight: 400; }
.feature-list { list-style: none; padding: 0; color: var(--muted); line-height: 2; }
.auth-layout { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(460px, 100%); padding: 34px; }
.auth-card .brand-logo { width: min(310px, 100%); height: auto; }
.auth-card .brand-logo img { width: 100%; height: auto; max-width: none; }
.auth-card h1 { font-size: 42px; margin: 14px 0 8px; }
.field { display: grid; gap: 8px; margin: 16px 0; }
.field label { color: var(--muted); font-size: 14px; }
.input, select, textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--field); color: var(--ink); padding: 11px 14px; outline: 0;
}
.input:focus, select:focus, textarea:focus { border-color: var(--teal); }
.message { min-height: 22px; color: var(--muted); margin: 12px 0; }
.message.error { color: #ff9d9d; }
.message.success {
  color: #8ee6c5;
  padding: 12px 14px;
  border: 1px solid rgba(78, 185, 173, .55);
  border-radius: 12px;
  background: rgba(78, 185, 173, .1);
  font-weight: 700;
}
.app-header { padding: 14px 0; }
.app-layout { display: grid; grid-template-columns: 250px 1fr; gap: 18px; padding-bottom: 32px; }
.app-nav { padding: 18px; align-self: start; position: sticky; top: 18px; }
.app-nav a { display: flex; padding: 13px 14px; border-radius: 12px; color: var(--muted); margin: 4px 0; }
.app-nav a:hover, .app-nav a.active { color: var(--ink); background: var(--raised); }
.content { min-width: 0; }
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 8px 0 22px; }
.page-title h1 { font-size: 44px; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 20px; }
.stat strong { display: block; font-size: 30px; margin-top: 8px; }
.stat span { color: var(--muted); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.badge { border-radius: 999px; padding: 5px 9px; font-size: 12px; background: var(--raised); }
.badge.ready, .badge.active { color: var(--teal); }
.badge.failed, .badge.disabled { color: #ff9d9d; }
.editor {
  display: grid; grid-template-columns: minmax(350px, 390px) minmax(720px, 1fr);
  gap: 16px; align-items: stretch;
}
.editor-workspace {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  min-width: 0;
}
.editor-sidebar {
  width: 100%; height: 100%; min-height: calc(100vh - 112px); overflow-x: hidden; overflow-y: auto; padding: 18px;
  scrollbar-gutter: stable;
}
.editor-sidebar.right {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.right-controls-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 24px;
  align-items: start;
}
.right-controls-column,
.right-controls-wide { min-width: 0; }
.right-controls-column > .section-heading:first-child { margin-top: 0; }
.right-controls-wide {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
}
.compact-control-group {
  padding-bottom: 0;
}
.editor-main {
  height: auto;
  min-height: 0;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(360px, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 20px;
  align-items: start;
}
.editor-main .page-title { grid-column: 1 / -1; margin-bottom: 0; }
.editor-main .page-title h2 { margin: 4px 0; }
.section-heading { color: var(--teal); font-weight: 700; font-size: 17px; margin: 22px 0 12px; }
.header-actions { display: flex; gap: 9px; align-items: center; }
.full { width: 100%; }
.control-group { padding: 14px 0; border-top: 1px solid var(--line); }
.group-title { color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.row.compact { align-items: center; margin: 10px 0; }
.row.compact label, .toggle-row {
  min-height: 46px; padding: 11px 14px; display: flex; align-items: center; gap: 9px;
  color: var(--muted); background: var(--field); border: 1px solid var(--line); border-radius: 13px;
}
.toggle-row { margin: 9px 0; }
.file-row .button { padding-inline: 12px; }
.file-name, .calculated-value { color: var(--muted); font-size: 13px; margin: 6px 0 13px; }
output { float: right; color: var(--ink); }
input[type="color"] {
  width: 100%; height: 46px; padding: 4px; border: 1px solid var(--line);
  border-radius: 13px; background: var(--field);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--teal);
}
.drop-zone {
  border: 2px dashed rgba(212,168,46,.7); border-radius: 16px; min-height: 105px;
  display: grid; place-items: center; gap: 10px; text-align: center; color: var(--muted); padding: 15px;
  cursor: pointer;
}
.drop-zone.drag {
  background: rgba(212,168,46,.12);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(212,168,46,.18);
}
.drop-zone:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.drop-zone .button { min-height: 40px; padding: 8px 16px; }
.file-input-hidden {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: -10000px !important;
}
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 12px 0; }
.thumb {
  position: relative; padding: 0; border: 0; border-radius: 9px; overflow: hidden;
  background: var(--field); color: var(--ink);
}
.thumb.active { outline: 2px solid var(--gold); outline-offset: 2px; }
.thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb span {
  position: absolute; left: 5px; bottom: 5px; min-width: 20px; padding: 3px 5px;
  border-radius: 7px; background: rgba(0,0,0,.7); font-size: 10px;
}
.photo-position-controls {
  margin: 12px 0; padding: 14px; border-radius: 14px; background: var(--field);
}
.photo-position-controls .field { margin-top: 12px; }
.slide-text-customizer {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}
.slide-text-customizer .group-title { color: var(--teal); }
.selected-slide-controls {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--field);
}
.button.active { color: #111616; background: var(--gold); }
.canvas-wrap { min-height: 0; display: grid; place-items: start center; overflow: hidden; align-self: start; }
.video-canvas {
  position: relative; width: auto; height: min(46vh, 460px); max-height: none; aspect-ratio: 9/16; overflow: hidden;
  background: #050606; border: 0; outline: 0; border-radius: 18px;
  box-shadow: none; touch-action: none;
  container-type: inline-size;
}
.video-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border: 2px solid #050606;
  border-radius: inherit;
  pointer-events: none;
}
.video-canvas .media-layer { display: none; }
.video-canvas .media-layer.is-visible { display: block; }
.video-canvas[data-background="blur"] { background: #171b1a; }
.video-canvas[data-background="black"] { background: #000; }
.video-canvas.landscape { aspect-ratio: 16/9; width: 90%; height: auto; }
.video-canvas.square { aspect-ratio: 1; }
.video-canvas.portrait45 { aspect-ratio: 4/5; }
.video-canvas.pinterest23 { aspect-ratio: 2/3; }
.editor-main:has(.video-canvas.landscape),
.editor-main:has(.video-canvas.square),
.editor-main:has(.video-canvas.portrait45),
.editor-main:has(.video-canvas.pinterest23) {
  grid-template-columns: minmax(320px, .85fr) minmax(360px, 1fr);
}
.editor-main:has(.video-canvas.landscape) .video-canvas { width: 100%; height: auto; max-height: 360px; }
.editor-main:has(.video-canvas.square) .video-canvas { width: min(100%, 420px); height: auto; }
.editor-main:has(.video-canvas.portrait45) .video-canvas,
.editor-main:has(.video-canvas.pinterest23) .video-canvas { height: min(46vh, 460px); width: auto; }
.video-canvas .slide, .canvas-background {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  visibility: visible; opacity: 1;
}
.video-canvas.photo-adjusting .slide { z-index: 7; cursor: grab; }
.video-canvas.photo-adjusting .slide:active { cursor: grabbing; }
.video-canvas.photo-adjusting .overlay-text,
.video-canvas.photo-adjusting .canvas-logo,
.video-canvas.photo-adjusting .text-backdrop { pointer-events: none; }
.canvas-background { z-index: 0; filter: brightness(.55); }
.overlay-text, .canvas-logo { position: absolute; z-index: 4; cursor: move; user-select: none; translate: -50% -50%; }
.overlay-text { width: max-content; max-width: 88%; padding: .08em .18em; line-height: 1.08; white-space: pre-wrap; }
.overlay-title { font-size: 5.2cqw; font-weight: 700; }
.overlay-subtitle { font-size: 3.2cqw; }
.overlay-link { color: var(--teal); font-size: 2.8cqw; }
.canvas-logo { width: 15%; max-height: 25%; object-fit: contain; }
.text-backdrop {
  position: absolute; z-index: 3; left: 0; right: 0; height: 48%; pointer-events: none;
}
.text-backdrop[data-position="top"] { top: 0; }
.text-backdrop[data-position="center"] { top: 26%; }
.text-backdrop[data-position="bottom"] { bottom: 0; }
.text-backdrop.none { display: none; }
.text-backdrop.darkGradient { background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.42) 58%, transparent); }
.text-backdrop.darkGradient[data-position="top"] { background: linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,.42) 58%, transparent); }
.text-backdrop.lightGradient { background: linear-gradient(to top, rgba(255,255,255,.84), rgba(255,255,255,.34) 58%, transparent); }
.text-backdrop.lightGradient[data-position="top"] { background: linear-gradient(to bottom, rgba(255,255,255,.84), rgba(255,255,255,.34) 58%, transparent); }
.video-fade-overlay { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: #000; opacity: 0; }
.preview-controls {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-top: 0;
}
.preview-side-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  gap: 12px;
}
.editor-actions { display: flex; justify-content: flex-start; gap: 12px; padding-top: 0; }
.editor-actions .button { min-width: 220px; min-height: 64px; font-size: 18px; }
.button-icon { width: 28px; height: 28px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.create-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.create-icon path:first-of-type { fill: none; }
.create-icon.is-encoding { animation: create-video-pulse 1s ease-in-out infinite; }
.export-icon { width: 28px; height: 28px; }
@keyframes create-video-pulse {
  50% { opacity: .48; transform: scale(.88); }
}
.share-panel { padding-top: 0; }
.share-panel .section-heading { margin-top: 10px; }
.social-share-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.social-share-grid button {
  width: 64px; min-height: 76px; padding: 8px 5px; border: 0; background: transparent;
  color: #aeb5b3; display: grid; justify-items: center; align-content: start; gap: 6px;
  transition: color .18s ease, transform .18s ease;
}
.social-share-grid button img {
  width: 52px; height: 52px; padding: 11px; object-fit: contain;
  border: 3px solid #aeb5b3; border-radius: 50%;
  filter: invert(78%) sepia(5%) saturate(195%) hue-rotate(116deg) brightness(91%);
  transition: border-color .18s ease, filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.social-share-grid button img.instagram-network-icon {
  padding: 13px;
}
.social-share-grid button span { font-size: 11px; }
.social-share-grid button:hover,
.social-share-grid button.active {
  color: var(--gold);
}
.social-share-grid button:hover img,
.social-share-grid button.active img {
  border-color: var(--gold);
  filter: invert(70%) sepia(73%) saturate(592%) hue-rotate(4deg) brightness(94%);
  box-shadow: 0 0 0 3px rgba(212, 168, 46, .12);
}
.social-share-grid button:hover img { transform: translateY(-2px); }
.social-share-grid button.is-unavailable { opacity: .72; }
.preset-hint { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input[type="range"] { width: 100%; accent-color: var(--gold); }
.progress { height: 8px; border-radius: 10px; background: var(--raised); overflow: hidden; }
.progress > div { height: 100%; background: var(--gold); }
.mobile-only { display: none; }
.site-footer {
  width: calc(100% - 20px);
  margin: 24px auto 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-company { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-links a:hover { color: var(--teal); }
.legal-page {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 64px 0 72px;
}
.legal-page h1 {
  margin: 14px 0 12px;
  font-size: clamp(42px, 6vw, 68px);
}
.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 25px;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.72;
}
.legal-page a { color: var(--teal); }
.legal-page ul { padding-left: 22px; }
.legal-meta { color: var(--muted); font-size: 14px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 28px;
}
.contact-details,
.contact-form { padding: 26px; }
.contact-details h2 { margin-top: 0; }
.contact-form .field:first-child { margin-top: 0; }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 1050px) {
  .hero-home {
    min-height: 720px;
    background-position: right center;
    background-size: 78% auto;
  }
  .hero-home::before {
    background: linear-gradient(90deg, rgba(11, 14, 18, .97) 0%, rgba(11, 14, 18, .88) 34%, rgba(11, 14, 18, .22) 66%, transparent);
  }
  .hero-copy {
    width: min(390px, 43vw);
  }
  .hero-copy h1 {
    font-size: clamp(44px, 6vw, 64px);
  }
  .editor { grid-template-columns: minmax(300px, 360px) minmax(360px, 1fr); }
  .editor .right { grid-column: 1 / -1; height: auto; position: static; }
  .editor-main {
    grid-template-columns: minmax(230px, 330px) minmax(320px, 1fr);
    min-height: 0;
  }
  .video-canvas { height: min(44vh, 410px); }
  .right-controls-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { font-size: 17px; }
  body { background-size: 5px 5px; }
  .shell { width: calc(100% - 28px); }
  .nav {
    height: auto;
    min-height: 72px;
    gap: 12px;
    padding-top: max(11px, env(safe-area-inset-top));
    padding-bottom: 11px;
  }
  .nav-links { gap: 8px; margin-left: auto; }
  .nav-links a:not(.button) { display: none; }
  .nav-links .button { min-height: 46px; padding-inline: 15px; white-space: nowrap; }
  .brand-logo { height: 43px; min-width: 0; }
  .brand-logo img { max-width: min(184px, 43vw); }
  .button { min-height: 48px; border-radius: 13px; padding-inline: 17px; }
  .hero { min-height: 0; }
  .hero-home {
    width: 100%;
    margin: 0;
    min-height: 0;
    display: block;
    overflow: visible;
    border-radius: 0;
    background-image: none;
  }
  .hero-home::before {
    display: none;
  }
  .hero-home::after {
    content: "";
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto 10px;
    aspect-ratio: 3034 / 1692;
    min-height: 225px;
    overflow: hidden;
    border-radius: 20px;
    background: #0d1014 url("./HERO-20260614.jpg?v=20260815-Optimized") center center / cover no-repeat;
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 42px;
  }
  .hero-copy {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-copy h1 {
    max-width: 560px;
    margin: 18px auto 22px;
    font-size: clamp(42px, 12vw, 60px);
    line-height: .98;
    letter-spacing: -.045em;
  }
  .hero-copy .lead,
  .hero-copy .industry-intro {
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .lead { font-size: 18px; line-height: 1.55; }
  .hero-copy .industry-intro { font-size: 16px; line-height: 1.55; }
  .eyebrow, .section-label {
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: .11em;
  }
  .industry-list { justify-content: center; }
  .industry-list li { padding: 9px 13px; font-size: 14px; }
  .actions { justify-content: center; margin-top: 27px; }
  .actions .button { min-width: 158px; }
  .section { padding: 58px 0; }
  .section .section-label,
  .section h2 { text-align: center; }
  .section h2 {
    margin: 10px auto 30px;
    max-width: 620px;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .mockup { display: none; }
  .grid-3, .stat-grid, .feature-grid { grid-template-columns: 1fr; }
  .grid-3 { gap: 14px; }
  .feature-grid { gap: 34px; padding-top: 18px; }
  .feature-card {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 16px 16px;
    text-align: left;
  }
  .feature-card h3 { font-size: 25px; }
  .feature-card p { min-height: 0; font-size: 16px; }
  .feature-number { left: 16px; }
  .card { padding: 22px; }
  .card h3 { font-size: 25px; }
  .card p, .feature-list { font-size: 16px; }
  .price { font-size: 44px; }

  .auth-layout {
    min-height: 100svh;
    display: block;
    padding:
      max(18px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }
  .auth-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px 20px;
    text-align: center;
  }
  .auth-card .brand-logo { margin: 0 auto; }
  .auth-card h1 {
    margin-top: 22px;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.05;
  }
  .auth-card .lead { margin-inline: auto; font-size: 18px; }
  .auth-card form { text-align: left; }
  .field label { font-size: 15px; }
  .input, select, textarea {
    min-height: 50px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .app-header { flex-wrap: wrap; }
  .app-header > .button { margin-left: auto; }
  .app-layout { grid-template-columns: 1fr; }
  .app-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 10px;
  }
  .app-nav a {
    justify-content: center;
    margin: 0;
    min-height: 48px;
    align-items: center;
    text-align: center;
  }
  .page-title {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .page-title h1 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .page-title h2 {
    font-size: 29px;
    line-height: 1.12;
  }
  .page-title > .button,
  .page-title > button { width: 100%; }
  .stat { padding: 19px; text-align: center; }
  .stat strong { font-size: 32px; }
  .table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }
  table { min-width: 620px; }
  th, td { padding: 13px 10px; }

  .header-actions {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .header-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
    white-space: normal;
  }
  .editor {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    gap: 12px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .editor-workspace {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .editor-main {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .editor-workspace > .editor-sidebar.right { order: 2; }
  .editor > .editor-sidebar:not(.right) { order: 2; }
  .editor > .editor-sidebar.right { order: 3; }
  .editor-sidebar,
  .editor-main {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 15px;
    overflow: visible;
    border-radius: 18px;
  }
  .right-controls-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .preview-side-panel {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .editor-main .page-title {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .editor-main .page-title h2 { font-size: 27px; }
  .badge { flex: 0 0 auto; font-size: 12px; }
  .canvas-wrap {
    min-height: 0;
    padding: 5px 0 12px;
    overflow: visible;
  }
  .video-canvas {
    width: min(100%, 330px);
    height: auto;
    max-height: none;
    border-radius: 14px;
  }
  .video-canvas.landscape,
  .video-canvas.square,
  .video-canvas.portrait45,
  .video-canvas.pinterest23 { width: 100%; max-width: 420px; }
  .preview-controls {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .preview-controls .button { grid-column: 1 / -1; width: 100%; }
  .preview-controls .progress { min-width: 0; }
  .editor-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .editor-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }
  .section-heading {
    margin: 24px 0 13px;
    font-size: 18px;
    text-align: left;
  }
  .drop-zone { min-height: 126px; font-size: 16px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .toggle-row,
  .row.compact label { min-height: 50px; font-size: 16px; }
  input[type="range"] { min-height: 32px; }
  input[type="checkbox"],
  input[type="radio"] { width: 20px; height: 20px; flex: 0 0 auto; }
  .row { grid-template-columns: 1fr; }
  .row.file-row,
  .row.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-row .button { width: 100%; min-width: 0; }
  .social-share-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 4px;
  }
  .social-share-grid button { width: 100%; min-height: 82px; }
  .site-footer {
    margin-top: 18px;
    padding: 17px 12px;
    font-size: 12px;
    text-align: center;
  }
  .footer-inner,
  .footer-company,
  .footer-links {
    justify-content: center;
  }
  .footer-inner { flex-direction: column; gap: 10px; }
  .footer-company { display: grid; gap: 2px; }
  .legal-page {
    width: calc(100% - 28px);
    padding: 48px 0 54px;
    text-align: left;
  }
  .legal-page h1 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.03;
    text-align: center;
  }
  .legal-page > .section-label,
  .legal-meta { display: block; text-align: center; }
  .legal-page h2 { font-size: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 14px; }
  .contact-details,
  .contact-form { padding: 20px; }
  .message,
  .file-name,
  .preset-hint,
  .calculated-value {
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  .file-name,
  .preset-hint,
  .calculated-value { font-size: 14px; }
  .content,
  .panel,
  .card,
  .editor-sidebar,
  .editor-main { min-width: 0; }
  h1, h2, h3, p, li, label, .button { overflow-wrap: anywhere; }
  select { text-overflow: ellipsis; }
}

@media (max-width: 430px) {
  .shell { width: calc(100% - 20px); }
  .nav { min-height: 66px; }
  .brand-logo { height: 38px; }
  .brand-logo img { max-width: 154px; }
  .nav-links .button { min-height: 43px; padding-inline: 12px; font-size: 14px; }
  .hero-inner { padding: 40px 0 34px; }
  .hero-copy h1 { font-size: clamp(39px, 12.5vw, 52px); }
  .hero-copy .lead { font-size: 17px; }
  .hero-home::after { min-height: 195px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .industry-list { gap: 7px; }
  .industry-list li { font-size: 13px; }
  .section { padding: 48px 0; }
  .card { padding: 19px; }
  .auth-card { padding: 22px 17px; }
  .header-actions { grid-template-columns: 1fr 1fr; }
  .editor { width: calc(100% - 12px); }
  .editor-sidebar, .editor-main { padding: 13px; border-radius: 15px; }
  .editor-main .page-title { gap: 8px; }
  .editor-main .page-title h2 { font-size: 23px; }
  .badge { max-width: 126px; text-align: center; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .social-share-grid button img { width: 48px; height: 48px; }
}

.admin-user-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.button.danger {
  color: #ff9797;
  border-color: rgba(255, 110, 110, .42);
  background: rgba(130, 28, 28, .12);
}
.button.danger:hover {
  color: #fff;
  border-color: #d85d5d;
  background: #a43c3c;
}

/* Final compact editor workbench override. Keeps the preview card only as tall as its content. */
.editor { align-items: start !important; }
.editor-main {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 12px 16px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 6px 18px !important;
  align-items: start !important;
}
.editor-main .page-title {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}
.editor-main .canvas-wrap {
  align-self: start !important;
  min-height: 0 !important;
  padding: 0 !important;
  place-items: start stretch !important;
}
.editor-main .video-canvas {
  width: auto !important;
  height: min(58vh, 560px) !important;
  max-height: none !important;
  justify-self: center !important;
}
.editor-main .video-canvas.portrait,
.editor-main .video-canvas:not(.landscape):not(.square):not(.portrait45):not(.pinterest23) {
  aspect-ratio: 9 / 16 !important;
  width: auto !important;
  height: min(58vh, 560px) !important;
}
.editor-main .video-canvas.landscape {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  height: auto !important;
  max-height: 320px !important;
}
.editor-main .video-canvas.square {
  aspect-ratio: 1 / 1 !important;
  width: min(100%, 440px) !important;
  height: auto !important;
}
.editor-main .video-canvas.portrait45 {
  aspect-ratio: 4 / 5 !important;
  width: auto !important;
  height: min(54vh, 520px) !important;
}
.editor-main .video-canvas.pinterest23 {
  aspect-ratio: 2 / 3 !important;
  width: auto !important;
  height: min(56vh, 540px) !important;
}
.editor-main:has(.video-canvas.landscape),
.editor-main:has(.video-canvas.square),
.editor-main:has(.video-canvas.portrait45),
.editor-main:has(.video-canvas.pinterest23) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
.editor-main .preview-side-panel {
  align-self: start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}
.editor-main .preview-controls { padding-top: 0 !important; }
.editor-main .editor-actions {
  justify-content: flex-start !important;
  padding-top: 0 !important;
}
.editor-main .editor-actions .button {
  min-width: 180px !important;
  min-height: 54px !important;
  font-size: 16px !important;
  padding-inline: 18px !important;
}
.editor-main .button-icon {
  width: 24px !important;
  height: 24px !important;
}
.editor-main .share-panel { padding-top: 0 !important; }
.editor-main .share-panel .section-heading { margin-top: 8px !important; }
.editor-main .social-share-grid {
  gap: 8px !important;
}
.editor-main .social-share-grid button {
  width: 56px !important;
  min-height: 66px !important;
  padding: 5px 3px !important;
  gap: 4px !important;
}
.editor-main .social-share-grid button img {
  width: 46px !important;
  height: 46px !important;
  padding: 9px !important;
}
.editor-main .social-share-grid button span {
  font-size: 10px !important;
}

@media (max-width: 760px) {
  .editor-main {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
  .editor-main .video-canvas {
    width: auto !important;
    height: min(64vh, 520px) !important;
  }
  .editor-main .video-canvas.landscape,
  .editor-main .video-canvas.square,
  .editor-main .video-canvas.portrait45,
  .editor-main .video-canvas.pinterest23 {
    width: min(100%, 420px) !important;
    height: auto !important;
  }
  .editor-main .editor-actions .button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
