@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #090d19;
  --surface: #111728;
  --line: #2b3348;
  --soft-line: #212a3d;
  --text: #f4f5fd;
  --secondary: #b2b9cc;
  --muted: #919db5;
  --lavender: #a9a4ff;
  --blue: #79a8ff;
  --primary: #a9acff;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 88% 34%, #18183555 0, transparent 47%), var(--bg);
  font: 400 16px/1.5 "DM Sans", Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid #a5c4ff; }
button { color: inherit; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, calc(100% - clamp(40px, 9vw, 176px))); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--soft-line); }
.header-content, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-content { min-height: 82px; }
.brand, .member-menu, .access-mark, .footer-studio { display: inline-flex; align-items: center; }
.brand { gap: 18px; }
.logo-crop { display: block; width: 91px; height: 41px; position: relative; overflow: hidden; mix-blend-mode: screen; mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent); }
.logo-crop img { position: absolute; width: 110px; max-width: none; left: -10px; top: -36px; filter: contrast(1.55) brightness(1.04); }
.brand-divider { width: 1px; height: 23px; background: #394158; }
.product-name { font-size: 19px; font-weight: 600; letter-spacing: -.7px; }
.access-mark { gap: 8px; color: #a5aec2; font-size: 13px; }
.access-mark .icon { width: 15px; height: 15px; }
.member-menu { gap: 16px; }
.member-email { color: var(--secondary); font-size: 13px; overflow-wrap: anywhere; }
.subtle-button, .text-button { background: transparent; border: none; }
.subtle-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--secondary); }
.subtle-button .icon { width: 15px; height: 15px; }
.subtle-button:hover, .text-button:hover { color: var(--text); }
.login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(325px, .92fr); column-gap: clamp(45px, 7.6vw, 116px); align-items: center; padding: clamp(38px, 5.5vw, 84px) 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 1.65px; color: #abaee8; }
.eyebrow > span { height: 2px; width: 24px; background: linear-gradient(90deg, #6fb5ff, #a78dff); }
h1 { font-size: clamp(48px, 5.15vw, 78px); font-weight: 600; letter-spacing: -.066em; line-height: 1.02; margin: 13px 0 11px; }
h1 em { font-style: normal; color: #acaaff; background: linear-gradient(115deg, #8bbaff 7%, #c294ff 95%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(15px, 1.28vw, 18px); color: var(--secondary); line-height: 1.55; }
.monitor { margin-top: clamp(23px, 2.05vw, 32px); border: 1px solid #323b53; border-radius: 14px; overflow: hidden; background: #101625; box-shadow: 0 14px 38px #0002; }
.monitor-image { aspect-ratio: 2.04; position: relative; overflow: hidden; background: #192545; }
.monitor-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #090d1973, transparent 26%); }
.monitor-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-marks { position: absolute; inset: 14px; z-index: 1; pointer-events: none; }
.frame-marks i { position: absolute; width: 12px; height: 12px; border-color: #e1e7ff99; border-style: solid; }
.frame-marks i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame-marks i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.frame-marks i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.frame-marks i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.frame-label, .frame-aspect { position: absolute; z-index: 2; color: #fff; font: 500 10px/1.3 var(--mono); letter-spacing: 1px; }
.frame-label { bottom: 22px; left: 25px; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; text-shadow: 0 1px 3px #121022; }
.light-dot { width: 6px; height: 6px; border-radius: 50%; background: #aaadff; box-shadow: 0 0 9px #b0a6ff99; }
.frame-aspect { top: 23px; right: 25px; padding: 3px 6px; border: 1px solid #dde6ff55; background: #10182b33; border-radius: 3px; }
.demo-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 0 9px; }
.demo-tab { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; min-height: 73px; padding: 10px clamp(12px, 1.35vw, 22px); background: transparent; border: 0; color: var(--muted); }
.demo-tab .icon { width: 23px; height: 23px; }
.demo-tab span { line-height: 1.3; }
.demo-tab strong { display: block; font-size: 14px; font-weight: 600; color: #c5ccdf; }
.demo-tab small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.demo-tab[aria-selected="true"] { color: #abaaff; }
.demo-tab[aria-selected="true"] strong { color: var(--text); }
.demo-tab[aria-selected="true"]::after { content: ""; height: 2px; position: absolute; bottom: 0; left: clamp(12px, 1.35vw, 22px); right: clamp(12px, 1.35vw, 22px); background: linear-gradient(90deg,#88b6ff,#ac8aff); border-radius: 2px; }
.demo-tab:hover, .workflow-tab:hover { background: #ffffff05; }
.login-card, .work-form, .result-panel { border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(125deg, #151b2d, #111626 76%); }
.login-card { padding: clamp(25px, 2.5vw, 38px); box-shadow: 0 20px 50px #0002; }
.login-icon, .tool-icon { display: grid; place-items: center; color: #abaaff; background: linear-gradient(135deg,#282d50,#23243c); border: 1px solid #3f4170; }
.login-icon { width: 47px; height: 47px; margin-bottom: 23px; border-radius: 13px; }
.login-icon .icon { width: 23px; height: 23px; }
.login-card h2 { font-size: clamp(29px, 2.5vw, 37px); line-height: 1.15; letter-spacing: -.048em; font-weight: 600; }
.card-description { margin-top: 10px; color: var(--secondary); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.login-card form { margin-top: 26px; }
label, .field-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04px; color: #e0e4ef; }
.input-wrap { display: flex; align-items: center; gap: 10px; min-height: 49px; margin-top: 8px; padding: 0 14px; color: var(--muted); background: #0c1020; border: 1px solid #394158; border-radius: 8px; }
.input-wrap:focus-within { border-color: #99aaff; box-shadow: 0 0 0 3px #9b9dff20; }
.input-wrap .icon { width: 18px; height: 18px; }
.input-wrap input { width: 100%; min-width: 0; padding: 11px 0; color: var(--text); background: transparent; border: none; outline: none; font-size: 14px; }
input::placeholder, textarea::placeholder { color: #929bb1; opacity: 1; }
.code-input { font-family: var(--mono); letter-spacing: .35em; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 11px 19px; color: #151630; background: linear-gradient(102deg,#a2bbff,#b3a3ff); border: 1px solid #c1c1ff55; border-radius: 8px; font-weight: 700; font-size: 14px; transition: filter .15s, transform .15s; }
.primary-button:hover:not(:disabled) { filter: brightness(1.08); }
.primary-button:active:not(:disabled) { transform: translateY(1px); }
.primary-button:disabled { opacity: .65; }
.primary-button .icon { width: 17px; height: 17px; stroke-width: 2; }
.login-card .primary-button { width: 100%; justify-content: space-between; margin-top: 16px; }
.login-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.login-foot .icon { width: 16px; height: 16px; }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.text-button { padding: 4px 0; font-size: 12px; color: #b3b4ff; font-weight: 600; }
.text-button:disabled { color: var(--muted); cursor: default; }
.notice { margin-top: 14px; padding: 10px 12px; border: 1px solid #444663; border-radius: 8px; background: #23283e; color: #d8dfff; line-height: 1.45; font-size: 13px; overflow-wrap: anywhere; }
.notice.error { border-color: #67414e; background: #35232e; color: #ffc5d3; }
.site-footer { border-top: 1px solid var(--soft-line); margin-top: auto; }
.footer-content { min-height: 57px; font-size: 12px; color: var(--muted); }
.footer-studio { gap: 8px; }
.footer-studio .icon { width: 15px; height: 15px; }
.studio { flex: 1; padding-block: 44px 58px; }
.studio h1 { font-size: clamp(40px, 4.1vw, 59px); }
.workflow-tabs { margin: 23px 0; display: flex; gap: 7px; border-bottom: 1px solid var(--line); }
.workflow-tab { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: none; border-bottom: 2px solid transparent; padding: 12px 14px; margin-bottom: -1px; color: var(--secondary); font-weight: 600; font-size: 14px; }
.workflow-tab .icon { width: 18px; height: 18px; }
.workflow-tab span { font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; font-weight: 500; color: var(--muted); }
.workflow-tab[aria-selected="true"] { color: #c3c5ff; border-bottom-color: var(--lavender); }
.work-panel { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(255px,.8fr); gap: 22px; align-items: start; }
.work-form, .result-panel { padding: clamp(19px, 2vw, 30px); }
.panel-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 23px; }
.tool-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.panel-heading h2, .result-panel h2 { font-size: 21px; letter-spacing: -.8px; line-height: 1.25; font-weight: 600; }
.panel-heading p { font-size: 13px; color: var(--secondary); margin-top: 4px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.work-form > .field + .field, .work-form > .field + .upload-pair { margin-top: 16px; }
textarea, select { color: var(--text); border: 1px solid #394158; border-radius: 8px; background-color: #0d1221; font-size: 14px; }
textarea { width: 100%; padding: 12px; resize: vertical; min-height: 68px; line-height: 1.5; }
select { width: 100%; min-height: 43px; padding: 9px 28px 9px 10px; }
.upload-pair, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.optional { margin-left: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.upload-slot { position: relative; min-width: 0; }
.upload-target { min-height: 115px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 10px; border: 1px dashed #47516e; border-radius: 9px; background: #0d1323; cursor: pointer; }
.upload-target:hover, .upload-slot.dragging .upload-target { border-color: #a4a7ff; background: #161d34; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.upload-target:focus-within { outline: 2px solid #a5c4ff; outline-offset: 2px; }
.upload-target .icon { width: 22px; height: 22px; margin-bottom: 3px; color: var(--lavender); }
.upload-target strong { font-size: 13px; font-weight: 600; }
.upload-target small { font-size: 11px; color: var(--muted); }
.file-preview { display: flex; align-items: center; gap: 8px; margin-top: 7px; min-width: 0; }
.file-preview > img { display: block; max-height: 64px; width: 62px; object-fit: contain; border-radius: 5px; background: #0c101e; }
.file-preview > audio { display: block; width: 100%; height: 38px; min-width: 70px; }
.file-name { color: var(--secondary); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.remove-file { margin-inline-start: auto; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; width: 29px; height: 29px; background: var(--bg); }
.remove-file .icon { width: 14px; height: 14px; }
.settings { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.settings legend { width: 100%; padding: 17px 0 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.settings legend .icon { vertical-align: -4px; width: 17px; height: 17px; color: var(--lavender); margin-right: 4px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 9px; }
.hint:empty { display: none; }
.count-field { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.count-group { display: flex; gap: 4px; }
.count-group label { position: relative; cursor: pointer; }
.count-group input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.count-group span { display: grid; place-items: center; min-width: 37px; height: 33px; border: 1px solid var(--line); border-radius: 6px; background: #0e1324; color: var(--secondary); }
.count-group input:checked + span { color: #d4d3ff; background: #2c2e4d; border-color: #686daa; }
.count-group input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.generate { width: 100%; margin-top: 22px; }
.result-panel { background: #111626; }
.result-panel h2 { font-size: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 15px; }
.empty-results { font-size: 13px; color: var(--muted); text-align: center; padding: 30px 12px; }
.empty-results .icon { display: block; width: 29px; height: 29px; margin: 0 auto 12px; color: #7c89aa; }
.job-summary { color: var(--secondary); font-size: 13px; margin: 10px 0; overflow-wrap: anywhere; }
.job-working { display: inline-block; width: 11px; height: 11px; margin-right: 7px; border: 2px solid #505878; border-top-color: #aeaaff; border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-item { margin-top: 16px; }
.result-item video { display: block; width: 100%; max-height: 330px; border-radius: 7px; background: #070a12; }
.result-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-top: 7px; font-size: 12px; color: var(--secondary); }
.result-caption a { color: #b7b9ff; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.result-caption a:hover { text-decoration: underline; }
.result-caption .icon { width: 13px; height: 13px; }
@media (max-width: 960px) {
  .login-layout { grid-template-columns: minmax(0,1.3fr) minmax(300px,1fr); gap: 32px; }
  .container { width: calc(100% - 56px); }
  .monitor-image { aspect-ratio: 1.7; }
  .work-panel { grid-template-columns: minmax(0,1.6fr) minmax(225px,.8fr); gap: 14px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); max-width: 560px; }
  .header-content { min-height: 66px; }
  .brand { gap: 11px; }
  .product-name { font-size: 17px; }
  .logo-crop { transform: scale(.84); transform-origin: left center; margin-right: -14px; }
  .brand-divider { height: 18px; }
  .access-mark { font-size: 11px; gap: 5px; }
  .access-mark .icon { width: 13px; height: 13px; }
  .login-layout { grid-template-columns: 1fr; padding-block: 27px 33px; gap: 20px; align-items: start; }
  .showcase { display: contents; }
  .eyebrow { font-size: 10px; }
  .showcase .eyebrow { grid-row: 1; }
  .showcase h1 { grid-row: 2; font-size: clamp(43px, 8vw, 55px); margin: -11px 0 -12px; }
  .lead { grid-row: 3; margin-bottom: 0; }
  .login-card { grid-row: 4; padding: 23px; }
  .monitor { grid-row: 5; margin-top: 2px; }
  .monitor-image { aspect-ratio: 2.02; }
  .demo-tab { min-height: 62px; }
  .login-icon { width: 39px; height: 39px; margin-bottom: 12px; border-radius: 10px; }
  .login-icon .icon { width: 20px; height: 20px; }
  .login-card form { margin-top: 20px; }
  .login-foot { margin-top: 19px; padding-top: 14px; }
  .studio { padding-block: 27px 35px; }
  .work-panel { grid-template-columns: 1fr; }
  .member-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28vw; font-size: 11px; }
  .member-menu { gap: 7px; }
  .subtle-button { min-height: 33px; padding-inline: 8px; }
  .workflow-tabs { gap: 0; }
  .workflow-tab { padding: 10px 8px; font-size: 13px; gap: 5px; }
  .workflow-tab span { font-size: 9px; }
}
@media (max-width: 410px) {
  .container { width: calc(100% - 28px); }
  .brand { gap: 8px; }
  .product-name { font-size: 15px; }
  .upload-pair { grid-template-columns: 1fr; }
  .workflow-tab { padding-inline: 5px; }
  .workflow-tab .icon { width: 15px; height: 15px; }
  .member-email { max-width: 22vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
