@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@600;700;800&display=swap");

:root{
  --bg: #f7f7f8;
  --bg-elevated: rgba(255,255,255,0.86);
  --card: rgba(255,255,255,0.88);
  --panel: rgba(255,255,255,0.78);
  --border: rgba(17, 24, 39, 0.08);
  --text: #101114;
  --muted: rgba(16,17,20,0.62);
  --muted2: rgba(16,17,20,0.46);
  --shadow: 0 24px 80px rgba(15,23,42,0.10);
  --shadow2: 0 12px 34px rgba(15,23,42,0.08);
  --accent: #2c6fb6;
  --accent-soft: rgba(44,111,182,0.14);
  --accent-strong: #1d5b99;
  --white: #ffffff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1400px 900px at 20% 0%, rgba(44,111,182,0.10), transparent 50%),
    radial-gradient(1000px 700px at 100% 0%, rgba(0,0,0,0.04), transparent 40%),
    linear-gradient(180deg, #fbfbfc 0%, #f4f4f6 100%);
  background-repeat:no-repeat;
}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.wrap{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:18px 22px 40px;
  flex:1 0 auto;
}



.utility-bar{
  position:relative;
  display:grid;
  grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr);
  align-items:center;
  gap:16px;
  margin:0 0 18px;
  min-height:44px;
  width:100%;
}
.utility-bar-spacer{
  display:block;
  visibility:hidden;
  min-width:110px;
  justify-self:start;
}
.utility-brand{
  display:flex;
  align-items:center;
  gap:12px;
  justify-self:start;
  min-width:110px;
}
.utility-brand a,
.utility-brand a:visited,
.utility-brand a:hover,
.utility-brand a:active,
.utility-brand a:focus-visible{
  text-decoration:none;
}
.utility-brand .page-brand-mark{
  width:42px;
  height:42px;
  border-radius:13px;
}
.utility-brand .page-brand-name{
  font-size:22px;
}
.utility-nav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:center;
  gap:6px;
  padding:6px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background: rgba(20,20,22,0.88);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}
.utility-link{
  appearance:none;
  border:0;
  background:transparent;
  text-decoration:none;
  color:rgba(255,255,255,0.64);
  font-size:13px;
  font-weight:800;
  padding:10px 16px;
  border-radius:12px;
  cursor:pointer;
  transition:140ms ease;
  font-family:inherit;
}
.utility-link:hover,
.utility-link:focus-visible{
  color:#fff;
  background:rgba(255,255,255,0.05);
  outline:none;
}
.utility-link.active{
  color:#fff;
  background:rgba(255,255,255,0.08);
}
.utility-actions{
  position:static;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.utility-page-nav-slot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.utility-page-nav-slot .page-dropdown{
  margin:0;
}
.signin-trigger{
  width:auto;
  min-width:110px;
  padding-inline:18px;
}
.modal-open{ overflow:hidden; }
.modal-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:80;
}
.modal-overlay.is-open{ display:flex; }
.modal-shell{
  position:relative;
  width:min(100%, 760px);
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(28,28,31,0.98), rgba(21,21,23,0.98));
  box-shadow: 0 28px 80px rgba(0,0,0,0.46);
  color:#fff;
}
.modal-pricing{
  width:min(calc(100% - 48px), 1240px);
}
.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.76);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.modal-heading{
  text-align:center;
  padding:34px 28px 12px;
}
.modal-heading h2{
  margin:0;
  font-family:var(--display);
  font-size:40px;
  line-height:1;
  letter-spacing:-0.04em;
}
.modal-heading p{
  margin:10px auto 0;
  max-width:520px;
  color:rgba(255,255,255,0.58);
  line-height:1.5;
}
.modal-footnote{
  padding:0 28px 24px;
  text-align:center;
  color:rgba(255,255,255,0.42);
  font-size:12px;
}
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  padding:10px 18px 20px;
}
.pricing-card{
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(39,39,42,0.96), rgba(27,27,29,0.96));
  padding:18px;
  display:flex;
  flex-direction:column;
  min-height:420px;
}
.pricing-card-featured{
  background: linear-gradient(180deg, #2c6fb6, #1d5b99);
  border-color: rgba(158,203,255,0.26);
}
.pricing-tier{
  font-size:18px;
  font-weight:800;
}
.pricing-copy{
  margin-top:4px;
  font-size:13px;
  color:rgba(255,255,255,0.62);
}
.pricing-card-featured .pricing-copy,
.pricing-card-featured .pricing-list,
.pricing-card-featured .pricing-list li,
.pricing-card-featured .pricing-price span{ color:rgba(255,255,255,0.88); }
.pricing-price{
  margin-top:16px;
  font-size:44px;
  font-weight:800;
  line-height:1;
  letter-spacing:-0.04em;
}
.pricing-price span{
  font-size:18px;
  font-weight:700;
  color:rgba(255,255,255,0.48);
}
.pricing-meter{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:8px;
  margin:18px 0 14px;
}
.pricing-meter span{
  height:14px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}
.pricing-meter span.active{ background: rgba(158,203,255,0.42); }
.pricing-meter-featured span{ background: rgba(255,255,255,0.22); }
.pricing-meter-featured span.active{ background: rgba(255,255,255,0.82); }
.pricing-list{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:grid;
  gap:10px;
  color:rgba(255,255,255,0.74);
  font-size:14px;
}
.pricing-list li::before{
  content:'✓';
  margin-right:8px;
  color:#9ecbff;
  font-weight:800;
}
.pricing-card-featured .pricing-list li::before{ color:#fff; }
.pricing-card .btn-mini,
.pricing-card .primary,
.pricing-secondary{
  margin-top:auto;
}
.pricing-secondary{
  width:100%;
  min-height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.28);
  background: transparent;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  margin-top:10px;
}
.modal-auth{
  width:min(calc(100% - 48px), 520px);
  padding:30px 28px 24px;
  text-align:center;
}
.auth-icon{
  width:68px;
  height:68px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  color:#fff;
}
.modal-auth h2{
  margin:0;
  font-family:var(--display);
  font-size:34px;
  line-height:1.02;
  letter-spacing:-0.04em;
}
.auth-copy{
  margin:10px auto 0;
  color:rgba(255,255,255,0.58);
  line-height:1.5;
  max-width:320px;
}
.auth-actions{
  display:grid;
  gap:10px;
  margin-top:22px;
}
.auth-provider{
  width:100%;
  min-height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.96);
  color:#121212;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}
.auth-provider-apple{
  background: rgba(255,255,255,0.10);
  color:#fff;
}
.auth-provider-icon{
  font-size:18px;
  font-weight:800;
  width:22px;
  text-align:center;
}
.auth-terms{
  margin-top:16px;
  font-size:12px;
  color:rgba(255,255,255,0.44);
  line-height:1.5;
}

header.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.titleblock{ display:flex; flex-direction:column; gap:10px; }
.title{
  font-family:var(--display);
  font-size:24px;
  font-weight:800;
  letter-spacing:-0.04em;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
}
.title .pill{ display:none !important; }
.pill{
  font-size:12px;
  font-weight:700;
  color: rgba(16,17,20,0.74);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.74);
  padding:7px 11px;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(15,23,42,0.06);
  user-select:none;
}
.subtitle{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
  max-width:820px;
  margin:0;
}

.page-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 20px;
}
.page-brand a{ text-decoration:none; }
.page-brand-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  display:grid;
  place-items:center;
  box-shadow:0 16px 34px rgba(0,0,0,0.24);
  color:#fff;
  flex-shrink:0;
}
.page-brand-mark svg{ width:22px; height:22px; }
.page-brand-name{
  font-family:var(--display);
  font-size:24px;
  font-weight:800;
  letter-spacing:-0.04em;
  line-height:1;
  color:#fff;
}
.page-brand-name .lab{
  background:linear-gradient(135deg, #9ecbff, #4f8fd9 58%, #1f5b99);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.top-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-shrink:0;
  margin-left:auto;
}

.suite-nav{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.78);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(15,23,42,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.suite-link{
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  color: rgba(16,17,20,0.70);
  padding:10px 12px;
  border-radius:12px;
  transition:140ms ease;
  white-space:nowrap;
}
.suite-link:hover{
  background: rgba(16,17,20,0.05);
  color: var(--text);
}
.suite-link.active{
  background: rgba(16,17,20,0.92);
  color: #fff;
}

.dark-toggle{
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.80);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:140ms ease;
  color:rgba(16,17,20,0.76);
  flex-shrink:0;
  box-shadow:0 10px 24px rgba(15,23,42,0.06);
}
.dark-toggle:hover{
  border-color:rgba(83,135,203,0.55);
  box-shadow:0 10px 24px rgba(44,111,182,0.14);
  transform:translateY(-1px);
}

.window{
  border-radius:24px;
  box-shadow:0 24px 80px rgba(0,0,0,0.42);
  border:1px solid rgba(255,255,255,0.12);
  overflow:hidden;
  background: rgba(15,15,17,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.windowbar{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  height:44px;
  padding:0 14px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(180deg, rgba(22,22,25,0.98), rgba(18,18,20,0.94));
}
.traffic{ display:flex; gap:8px; align-items:center; }
.dot{
  width:12px; height:12px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,0.08);
}
.dot.red{ background:#ff5f57; }
.dot.yellow{ background:#febc2e; }
.dot.green{ background:#28c840; }
.windowtitle{
  flex:1;
  text-align:center;
  font-size:13px;
  font-weight:700;
  color: rgba(214,220,235,0.82);
  letter-spacing:0;
  user-select:none;
}

.grid{
  display:grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap:16px;
  padding:20px 16px 16px;
}

.card{
  background:rgba(28,28,31,0.94);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:22px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
}
.card-head{
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.card-title{
  font-size:14px;
  font-weight:700;
  color:#f3f4f6;
  letter-spacing:0;
  text-transform:none;
}
.tiny{ font-size:12px; color:var(--muted2); }

.drop{
  flex:1 1 auto;
  min-height:560px;
  height:auto;
  position:relative;
  display:flex;
  align-items:stretch;
  padding:16px;
  box-sizing:border-box;
}

.dropzone{
  position:relative;
  inset:auto;
  flex:1 1 auto;
  width:auto;
  height:auto;
  min-height:0;
  box-sizing:border-box;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,0.16);
  background: rgba(31,31,34,0.98);
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:160ms ease;
  outline:none;
  overflow:hidden;
}
.dropzone::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(120% 90% at 50% 50%, rgba(83,135,203,0.08), rgba(83,135,203,0.02) 55%, transparent 75%);
  opacity:0;
  transition: opacity 160ms ease;
}
.dropzone:hover{
  border-color: rgba(83,135,203,0.40);
  background: rgba(33,35,40,0.98);
  box-shadow: inset 0 0 0 1px rgba(83,135,203,0.10), 0 12px 28px rgba(44,111,182,0.10);
}
.dropzone:hover::after{
  opacity:1;
}
.dropzone.dragover{
  border-color: rgba(83,135,203,0.55);
  background: rgba(37,44,58,0.98);
  box-shadow: inset 0 0 0 1px rgba(83,135,203,0.18), 0 18px 60px rgba(44,111,182,0.14);
}
.dropzone.dragover::after{
  opacity:1;
  background: radial-gradient(120% 90% at 50% 50%, rgba(83,135,203,0.14), rgba(83,135,203,0.04) 55%, transparent 78%);
}

.drop-inner{
  text-align:center;
  padding:24px;
  max-width:520px;
}
.icon{
  width:44px;height:44px;
  border-radius:14px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  background: rgba(19,78,145,0.20);
  border:1px solid rgba(53,122,201,0.45);
  color: #1e90ff;
  box-shadow:none;
}
.drop-title{
  font-family:var(--sans);
  font-size:18px;
  font-weight:700;
  letter-spacing:-0.02em;
  margin-bottom:4px;
}
.drop-hint{
  font-size:14px;
  color:rgba(255,255,255,0.60);
  line-height:1.45;
}

.preview-wrap{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:14px;
}
.meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.meta-left{ min-width:0; display:flex; flex-direction:column; gap:4px; }
.filename{
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:520px;
}
.filedims{ font-size:12px; color:var(--muted); }
.time-readout{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  text-align:center;
  font-variant-numeric:tabular-nums;
  margin-inline:auto;
}
.time-readout span{
  display:inline-block;
  min-width:0;
}
.time-readout .time-sep{
  opacity:0.52;
  font-weight:700;
}
.chip{
  font-size:12px;
  font-weight:700;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: rgba(16,17,20,0.74);
  user-select:none;
  white-space:nowrap;
}

.preview-panel,
.preview,
.video-frame{
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(19,19,22,0.96);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  max-height:460px;
}
.preview-panel img,
.preview-panel video,
.preview img,
video{
  display:block;
  max-width:100%;
  max-height:460px;
  width:auto;
  height:auto;
}

.preview.checkerboard,
.preview-panel.checkerboard{
  background-color:#ffffff;
  background-image:
    linear-gradient(45deg, rgba(15,23,42,0.10) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15,23,42,0.10) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(15,23,42,0.10) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(15,23,42,0.10) 75%);
  background-size:18px 18px;
  background-position:0 0, 0 9px, 9px -9px, -9px 0px;
}

.thumb-strip{ display:flex; gap:10px; overflow-x:auto; padding:10px 2px 2px; scrollbar-width:thin; }
.thumb{
  width:56px;height:56px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.68);
  overflow:hidden;
  flex:0 0 auto;
  cursor:pointer;
  position:relative;
  transition:120ms ease;
  user-select:none;
}
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.thumb:hover{ transform: translateY(-1px); }
.thumb.active{
  border-color: rgba(83,135,203,0.55);
  box-shadow: 0 10px 30px rgba(44,111,182,0.16);
}

.controls{ padding:16px 18px 18px; }
.row{ margin-bottom:14px; }
label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:#f3f4f6;
  margin-bottom:9px;
  letter-spacing:0;
  text-transform:none;
}
input[type="text"], input[type="number"], select, textarea{
  width:100%;
  min-height:38px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.11);
  background-color: rgba(21,21,24,0.96);
  color: #f5f5f5;
  outline:none;
  transition:140ms ease;
  box-shadow:none;
  font-family:var(--sans);
  font-size:14px;
}
textarea{ min-height:110px; resize:vertical; }
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus{
  border-color: rgba(83,135,203,0.55);
  box-shadow: 0 0 0 4px rgba(44,111,182,0.14);
}
select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  text-indent:0.01px;
  text-overflow:'';
  padding-right:52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:16px 16px;
  background-position:right 18px center;
  cursor:pointer;
}

.inline{ display:flex; gap:10px; align-items:center; }
.btn-row{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }

.primary{
  width:100%;
  min-height:42px;
  padding:13px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(20,20,22,0.92);
  color: #f4f4f5;
  font-weight:800;
  letter-spacing:-0.02em;
  cursor:pointer;
  box-shadow:none;
  transition:140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
}
.primary:hover{ transform: translateY(-1px); border-color: rgba(83,135,203,0.34); }
.primary:disabled{
  opacity:0.45;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}
.primary.accent{
  background: linear-gradient(180deg, #2c6fb6, #1d5b99);
  color:#111;
  border-color: rgba(83,135,203,0.30);
}
.btn-mini{
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(35,35,38,0.98);
  min-height:42px;
  padding:12px 14px;
  border-radius:14px;
  font-size:13px;
  font-weight:800;
  color: rgba(255,255,255,0.78);
  cursor:pointer;
  transition:140ms ease;
  white-space:nowrap;
  box-shadow:none;
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
}
.btn-mini:hover{
  border-color: rgba(83,135,203,0.40);
  box-shadow: 0 10px 25px rgba(44,111,182,0.10);
  transform: translateY(-1px);
}
.btn-mini:disabled{
  opacity:0.55;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}

.help, .footnote{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}
.legal{
  width:100%;
  margin:auto auto 0;
  padding:28px 22px 18px;
  text-align:center;
  font-size:10.5px;
  letter-spacing:0.6px;
  color: rgba(16,17,20,0.42);
  user-select:none;
  pointer-events:none;
  text-transform:uppercase;
  opacity:1;
  transform:none;
}

html.dark{
  --bg: #070707;
  --bg-elevated: rgba(18,18,20,0.96);
  --card: rgba(24,24,27,0.94);
  --panel: rgba(28,28,31,0.92);
  --border: rgba(255,255,255,0.08);
  --text: #f4f4f5;
  --muted: rgba(255,255,255,0.58);
  --muted2: rgba(255,255,255,0.42);
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --shadow2: 0 12px 34px rgba(0,0,0,0.28);
}
html.dark body{
  background:#070707;
  background-image:none;
  background-repeat:no-repeat;
}

html.dark body.solid-dark-page{
  background:#070707;
  background-image:none;
}
html.dark .suite-nav{
  background: rgba(24,24,27,0.86);
  border-color: rgba(255,255,255,0.08);
  box-shadow:none;
}
html.dark .suite-link{ color: rgba(255,255,255,0.62); }
html.dark .suite-link:hover{ background: rgba(255,255,255,0.05); color: #fff; }
html.dark .suite-link.active{ background: rgba(255,255,255,0.95); color: #111; }
html.dark .dark-toggle{
  background:rgba(24,24,27,0.86);
  color:rgba(255,255,255,0.80);
  border-color:rgba(255,255,255,0.08);
  box-shadow:none;
}
html.dark .window{ background: rgba(15,15,17,0.96); border-color: rgba(255,255,255,0.12); }
html.dark .windowbar{ background: linear-gradient(180deg, rgba(22,22,25,0.98), rgba(18,18,20,0.94)); border-color: rgba(255,255,255,0.08); }
html.dark .windowtitle,
html.dark .tiny,
html.dark .help,
html.dark .footnote,
html.dark .subtitle,
html.dark .filedims,
html.dark .legal{ color: rgba(255,255,255,0.56); }
html.dark .card,
html.dark .preview,
html.dark .preview-panel,
html.dark .video-frame{ background: rgba(24,24,27,0.92); border-color: rgba(255,255,255,0.10); }
html.dark .card{
  box-shadow: inset 0 0 0 1px rgba(202,208,216,0.10), 0 12px 34px rgba(0,0,0,0.28);
}
html.dark .dropzone{
  background: rgba(24,24,27,0.92);
  border-color: rgba(202,208,216,0.22);
  box-shadow:none;
}
html.dark .dropzone:hover{ border-color: rgba(83,135,203,0.48); background: rgba(33,35,40,0.98); box-shadow: inset 0 0 0 1px rgba(83,135,203,0.10), 0 12px 28px rgba(44,111,182,0.10); }
html.dark .card-title,
html.dark .filename,
html.dark label,
html.dark .title,
html.dark .drop-title{ color:#fff; }
html.dark .chip,
html.dark .pill{
  background: rgba(38,38,42,0.95);
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.08);
  box-shadow:none;
}
html.dark input[type="text"],
html.dark input[type="number"],
html.dark select,
html.dark textarea{
  background: rgba(20,20,22,0.92);
  color: #fff;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}
html.dark select{
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  appearance:none !important;
  background: rgba(20,20,22,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 18px center !important;
  background-size:16px 16px !important;
  padding-right:52px;
}
html.dark select::-ms-expand{
  display:none;
}
html.dark input[type="text"]:focus,
html.dark input[type="number"]:focus,
html.dark select:focus,
html.dark textarea:focus{
  box-shadow: 0 0 0 4px rgba(83,135,203,0.16);
  border-color: rgba(83,135,203,0.50);
}
html.dark .btn-mini{
  background: rgba(20,20,22,0.90);
  color: #f4f4f5;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
}
html.dark .primary{
  background: rgba(20,20,22,0.92);
  color: #f4f4f5;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.20);
}
html.dark .primary.accent{ background: linear-gradient(180deg, #2c6fb6, #1d5b99); color:#ffffff; border-color: rgba(83,135,203,0.30); }

@media (min-width: 641px){
  .subtitle{
    white-space: nowrap;
    max-width: none;
  }
}

html.dark .preview.checkerboard,
html.dark .preview-panel.checkerboard{
  background-color:#1b1b1d;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
}

@media (max-width: 980px){
  header.topbar{ flex-direction:column; align-items:flex-start; }
  .top-controls{ width:100%; justify-content:flex-end; }
}
@media (max-width: 940px){
  .grid{ grid-template-columns: 1fr; }
  .drop{ min-height:460px; height:auto; }
  .filename{ max-width:360px; }
  .btn-row{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .wrap{ padding-bottom:32px; }
  .suite-nav{ flex-wrap:wrap; }
  .title{ font-size:20px; }
  .utility-bar{
    grid-template-columns:minmax(88px,1fr) auto minmax(88px,1fr);
    gap:10px;
  }
  .utility-bar-spacer, .utility-brand{ min-width:88px; }
  .utility-link{ padding:9px 12px; font-size:12px; }
  .signin-trigger{ min-width:88px; padding-inline:14px; }
  .legal{ margin-top:auto; margin-right:auto; margin-bottom:0; margin-left:auto; padding:24px 16px 16px; opacity:1; transform:none; }
}


/* Dark-only lock */
.dark-toggle{ display:none !important; }

.page-dropdown{
  position:relative;
}
.page-dropdown summary{
  display:flex !important;
  list-style:none !important;
}
.page-dropdown summary::-webkit-details-marker{ display:none !important; }
.page-dropdown summary::marker{
  content:"" !important;
  display:none !important;
}
.page-dropdown-toggle{
  position:relative;

  display:flex !important;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:12px;
  min-width:244px;
  min-height:46px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(20,20,22,0.90);
  color:#fff;
  box-shadow: 0 12px 34px rgba(0,0,0,0.26);
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.page-dropdown-toggle::-webkit-details-marker{ display:none !important; }
.page-dropdown-toggle::marker{
  content:"" !important;
  display:none !important;
}
.page-dropdown[open] .page-dropdown-toggle{
  border-color: rgba(83,135,203,0.42);
  box-shadow: 0 12px 36px rgba(44,111,182,0.12);
}
.page-dropdown-label{
  flex:1 1 auto;
  min-width:0;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.02em;
  white-space:nowrap;
}
.page-dropdown-caret{
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
  margin-left:auto;
  align-self:center;
  opacity:0.8;
  transition: transform 140ms ease;
  background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.page-dropdown-toggle::after{ content:none !important; display:none !important; }
.page-dropdown[open] .page-dropdown-caret{ transform: rotate(180deg); }
.page-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:260px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(20,20,22,0.98);
  box-shadow: 0 26px 60px rgba(0,0,0,0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index:30;
}
.page-dropdown-item{
  display:block;
  text-decoration:none;
  color: rgba(255,255,255,0.76);
  font-size:13px;
  font-weight:700;
  padding:12px 13px;
  border-radius:12px;
  transition: 120ms ease;
}
.page-dropdown-item:hover{ background: rgba(255,255,255,0.06); color:#fff; }
.page-dropdown-item.active{
  background: linear-gradient(180deg, rgba(44,111,182,0.18), rgba(44,111,182,0.10));
  color:#fff;
  border:1px solid rgba(83,135,203,0.18);
}
.top-controls{ justify-content:flex-end; }

@media (max-width: 640px){
  .page-dropdown-toggle{ min-width: 100%; }
  .page-dropdown-menu{ left:0; right:0; min-width:unset; }
}


/* homepage polish */
.home-topbar{ align-items:flex-start; justify-content:space-between; }
.home-topbar .titleblock{ display:none; }
.home-topbar{ justify-content:flex-end; }
.home-topbar .page-brand{ margin:0; }
.home-topbar .top-controls{ width:auto; margin-left:auto; }
.home-page .titleblock .title,
.home-page .titleblock .subtitle{ display:none; }
.tool-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tool-badge{
  font-size:11px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:#9ecbff;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(83,135,203,0.20);
  background: rgba(44,111,182,0.10);
}
.tool-launch:hover,
.tool-launch:focus-visible{
  background: linear-gradient(180deg, #2c6fb6, #1d5b99) !important;
  color:#111 !important;
  border-color: rgba(83,135,203,0.30) !important;
}
.tool-icon svg{ width:18px; height:18px; display:block; }


input[type="range"]:disabled{
  opacity:0.38;
  cursor:not-allowed;
  filter:grayscale(1);
}

.nav-match-select{
  min-height:46px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  appearance:none !important;
  background: rgba(20,20,22,0.90) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 18px center !important;
  background-size:16px 16px !important;
  color:#fff !important;
  box-shadow: 0 12px 34px rgba(0,0,0,0.26) !important;
  padding:12px 44px 12px 14px;
}
.nav-match-select::-ms-expand{
  display:none;
}
.nav-match-select:focus{
  border-color: rgba(83,135,203,0.42) !important;
  box-shadow: 0 0 0 4px rgba(83,135,203,0.14), 0 12px 34px rgba(0,0,0,0.26) !important;
}

@media (max-width: 680px){
  .page-brand{ gap:10px; margin-bottom:16px; }
  .page-brand-mark{ width:42px; height:42px; border-radius:12px; }
  .page-brand-mark svg{ width:20px; height:20px; }
  .page-brand-name{ font-size:22px; }
}

@media (max-width: 980px){
  .utility-bar{
    grid-template-columns:minmax(88px,auto) 1fr auto;
    align-items:center;
    min-height:unset;
  }
  .utility-bar-spacer, .utility-brand{ min-width:88px; }
  .utility-nav{ justify-self:center; }
  .utility-actions{
    justify-self:end;
    gap:10px;
    flex-wrap:nowrap;
  }
}
@media (max-width: 820px){
  .pricing-grid{ grid-template-columns:1fr; }
  .pricing-card{ min-height:unset; }
}
@media (max-width: 640px){
  .utility-bar{
    grid-template-columns:minmax(70px,auto) auto auto;
    gap:8px;
  }
  .utility-nav{ justify-self:center; }
  .utility-actions{ width:auto; gap:8px; }
  .signin-trigger{ width:auto; min-width:92px; }
  .page-dropdown-toggle{ min-width:200px; }
  .modal-shell{ width:min(calc(100% - 24px), 1240px); border-radius:22px; }
  .modal-auth{ width:min(calc(100% - 24px), 520px); }
  .modal-heading h2{ font-size:32px; }
  .modal-auth h2{ font-size:28px; }
}
