@import url("/fonts.css");
:root {
  --ink: #182d2b;
  --muted: #6c7774;
  --line: #dde4de;
  --paper: #f6f7f2;
  --white: #fff;
  --green: #b5edd5;
  --dark: #122824;
  --warn: #945323;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #327b60;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.65;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -1px;
}
.brand img {
  width: 32px;
  height: 32px;
}
.topbar {
  max-width: 1280px;
  margin: auto;
  padding: 25px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.btn {
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.btn.mint {
  background: var(--green);
  border-color: var(--green);
  color: var(--dark);
}
.btn.small {
  padding: 8px 12px;
  font-size: 12px;
}
.btn.ghost {
  background: transparent;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 750;
  color: #4c7261;
}
.hero {
  max-width: 1280px;
  margin: auto;
  padding: 85px 48px 70px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.04;
  letter-spacing: -4px;
  font-weight: 650;
  margin: 24px 0;
}
.hero h1 em {
  font-style: normal;
  color: #638f77;
}
.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.note {
  font-size: 12px !important;
  color: var(--muted);
  margin: 18px 0 !important;
}
.visual {
  border: 1px solid #d8e2d9;
  border-radius: 16px;
  background: #e9eee6;
  padding: 20px;
  box-shadow: 0 35px 65px -35px #45665760;
  transform: rotate(1deg);
}
.visual-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 4px 0 18px;
  color: #527360;
}
.scene {
  position: relative;
  background: #1c342e;
  aspect-ratio: 16/10;
  border-radius: 9px;
  overflow: hidden;
}
.scene svg {
  width: 100%;
  height: 100%;
}
.scene-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #122824bd;
  color: #cce1d6;
  border: 1px solid #779b8470;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 9px;
  letter-spacing: 1px;
}
.scene-label:before {
  content: "●";
  color: #b5edd5;
  margin-right: 7px;
}
.scene-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: #d4e5d8;
  font: 11px monospace;
}
.filmstrip {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.filmstrip span {
  height: 30px;
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(145deg, #74917d, #263f31);
}
.filmstrip span:nth-child(2n) {
  background: linear-gradient(30deg, #324a3c, #a0b7a0);
}
.visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 12px;
}
.visual-foot small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 11px;
  background: #e6f3e9;
  color: #2a6347;
  font-weight: 650;
}
.pill.queued,
.pill.processing,
.pill.running,
.pill.uploading {
  background: #fff1d8;
  color: #886029;
}
.pill.failed {
  background: #fce8e4;
  color: #9a473c;
}
.pill.expired {
  background: #eceeed;
  color: #727b77;
}
.formats {
  max-width: 1184px;
  margin: auto;
  padding: 25px 0;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.formats strong {
  font-weight: 700;
  color: #4a5a52;
}
.section {
  max-width: 1280px;
  margin: auto;
  padding: 80px 48px;
}
.section h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
  font-weight: 600;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}
.step {
  border-top: 1px solid #bdc9bf;
  padding-top: 25px;
}
.step .number {
  font-size: 12px;
  color: #649077;
  margin-bottom: 25px;
}
.step h3 {
  font-size: 21px;
  font-weight: 600;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}
.cta {
  background: var(--dark);
  color: white;
  border-radius: 12px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta h2 {
  margin-bottom: 10px;
}
.cta p {
  color: #c0d0c7;
  margin: 0;
  font-size: 14px;
}
footer {
  max-width: 1280px;
  margin: auto;
  padding: 30px 48px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
footer div {
  display: flex;
  gap: 22px;
}
.auth {
  max-width: 470px;
  margin: 65px auto;
  padding: 35px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.auth h1 {
  font-size: 29px;
  letter-spacing: -1px;
}
.auth p {
  font-size: 14px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 17px 0 7px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d2dcd4;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
input[type="range"] {
  padding: 0;
}
input[type="checkbox"] {
  width: auto;
}
input::placeholder {
  color: #98a29c;
}
.auth .btn {
  width: 100%;
  margin-top: 22px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.error {
  color: #a34436;
  background: #fff0eb;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  background: #eff2ea;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  margin: 0 10px 34px;
}
.workspace-select {
  font-size: 12px;
  padding: 11px;
  background: #fafbf7;
  margin-bottom: 26px;
}
.side-nav {
  display: grid;
  gap: 7px;
}
.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  border-radius: 7px;
  text-align: left;
  color: #66756c;
  font-size: 13px;
}
.side-nav button.active {
  background: #dce9df;
  color: #214838;
  font-weight: 700;
}
.side-icon {
  font-size: 17px;
  width: 19px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 15px 10px;
  border-top: 1px solid var(--line);
}
.sidebar-bottom p {
  font-size: 11px;
  color: #7c8880;
  line-height: 1.6;
}
.sidebar-bottom button {
  font-size: 11px;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
}
.main {
  padding: 0 42px 48px;
  min-width: 0;
}
.app-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.user {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e9dd;
  display: grid;
  place-items: center;
  color: #52735c;
  font-weight: 700;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px 0 26px;
}
.page-title h1 {
  font-weight: 650;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.page-title p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.actions {
  display: flex;
  gap: 9px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  margin-bottom: 30px;
}
.stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 10px 0 6px;
}
.stat small {
  font-size: 11px;
  color: #69806f;
}
.dropzone {
  border: 1px dashed #bacbbc;
  background: #f0f5ed;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  transition: 0.2s;
}
.dropzone.drag {
  background: #d7efdf;
  border-color: #46886a;
}
.dropzone h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.dropzone p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.upload-icon {
  height: 43px;
  width: 43px;
  border: 1px solid #cbd8c9;
  border-radius: 10px;
  background: #fafcf7;
  display: grid;
  place-items: center;
  font-size: 23px;
  flex-shrink: 0;
}
.drop-content {
  display: flex;
  gap: 17px;
  align-items: center;
}
.list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}
.list-top h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}
.search {
  width: 230px;
  padding: 9px 12px;
  font-size: 12px;
  background: transparent;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.video-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.thumb {
  aspect-ratio: 16/9;
  background-color: #e0e8df;
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  background-size: 500% 800%;
  background-position: 0 0;
}
.thumb .play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffffdf;
  display: grid;
  place-items: center;
  opacity: 0.9;
  font-size: 12px;
}
.thumb .duration {
  position: absolute;
  right: 9px;
  bottom: 9px;
  background: #15251ec9;
  color: white;
  border-radius: 4px;
  font-size: 10px;
  padding: 4px 6px;
}
.card-info {
  padding: 16px;
}
.card-info h3 {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 9px;
}
.card-details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #edf0e9;
}
.card-foot button {
  border: 0;
  background: none;
  font-size: 11px;
  font-weight: 650;
  color: #39715a;
  cursor: pointer;
}
.progress {
  height: 4px;
  border-radius: 3px;
  background: #e7eee4;
  overflow: hidden;
  margin: 11px 0;
}
.progress div {
  background: #579276;
  height: 100%;
  transition: width 0.3s;
}
.empty {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 50px;
  text-align: center;
  background: white;
}
.empty .big {
  font-size: 36px;
  margin: 0 0 18px;
  color: #93ad99;
}
.empty h3 {
  font-size: 19px;
  font-weight: 600;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 410px;
  margin: auto;
}
.table {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.table-row {
  padding: 18px 20px;
  border-bottom: 1px solid #edf0e9;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.table-row:last-child {
  border-bottom: 0;
}
.table-row p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.mono,
pre {
  font-family: "SFMono-Regular", Consolas, monospace;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #142923;
  color: #d5e6d9;
  padding: 22px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.8;
}
.docs {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 25px;
}
.docs h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
}
.docs h2 {
  font-size: 22px;
  margin-top: 35px;
}
.docs p,
.docs li {
  font-size: 14px;
  color: #5f7065;
  line-height: 1.8;
}
.docs code {
  font-family: monospace;
}
.upload-progress {
  background: white;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 15px;
  font-size: 12px;
}
.upload-progress strong {
  display: block;
  margin-bottom: 8px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  max-width: 760px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 100px #15251e40;
  color: var(--ink);
}
dialog::backdrop {
  background: #12282466;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  padding-right: 20px;
}
dialog .close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--muted);
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
.preview-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 7px;
  background: #142923;
  image-rendering: auto;
}
.preview-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 17px;
  font: 12px monospace;
}
.preview-controls input {
  flex: 1;
  width: 80px;
}
.preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
.alert {
  padding: 12px;
  background: #f0f4ea;
  border-radius: 7px;
  font-size: 12px;
  color: #667c61;
  margin: 12px 0;
}
.checkbox-row {
  display: flex;
  gap: 9px;
  align-items: start;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}
.checkbox-row input {
  margin-top: 4px;
}
.hidden {
  display: none !important;
}
#toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  max-width: 400px;
  background: var(--ink);
  color: white;
  padding: 15px 22px;
  border-radius: 9px;
  box-shadow: 0 12px 40px #12282430;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
  z-index: 100;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
.mobile-brand {
  display: none;
}
@media (max-width: 950px) {
  .hero {
    gap: 35px;
    padding-top: 50px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .main {
    padding-inline: 25px;
  }
  .layout {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .formats {
    margin: 0 35px;
    flex-wrap: wrap;
  }
  .three {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .topbar {
    padding: 20px;
  }
  .navlinks {
    gap: 18px;
  }
  .navlinks .hide-mobile {
    display: none;
  }
  .hero {
    padding: 45px 22px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 55px;
    letter-spacing: -3px;
  }
  .hero p {
    font-size: 16px;
  }
  .visual {
    max-width: 500px;
  }
  .formats {
    margin: 0 22px;
    gap: 15px;
    justify-content: start;
  }
  .section {
    padding: 45px 22px;
  }
  .section h2 {
    font-size: 30px;
  }
  .three {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .step .number {
    margin-bottom: 12px;
  }
  .cta {
    padding: 25px;
    display: block;
  }
  .cta .btn {
    margin-top: 22px;
  }
  footer {
    padding: 25px 22px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: relative;
    padding: 15px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0 0 16px;
  }
  .workspace-select {
    position: absolute;
    right: 15px;
    top: 14px;
    width: 180px;
    margin: 0;
  }
  .side-nav {
    display: flex;
    gap: 0;
    overflow: auto;
  }
  .side-nav button {
    padding: 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .side-icon {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .main {
    padding: 0 18px 30px;
  }
  .app-header {
    height: 55px;
  }
  .page-title {
    padding-top: 25px;
    gap: 12px;
    align-items: start;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .page-title .actions {
    flex-direction: column;
  }
  .btn {
    padding: 10px 13px;
    font-size: 12px;
  }
  .stats {
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px 11px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat span,
  .stat small {
    font-size: 10px;
  }
  .dropzone {
    padding: 20px;
  }
  .dropzone > .btn {
    display: none;
  }
  .list-top {
    gap: 10px;
  }
  .search {
    width: 170px;
  }
  .auth {
    margin: 35px 18px;
    padding: 28px;
  }
  .table-row {
    padding: 15px;
    gap: 12px;
  }
  .preview-meta {
    display: block;
  }
  .preview-meta span {
    display: block;
    margin-bottom: 8px;
  }
  dialog {
    padding: 24px;
  }
  .docs {
    margin-top: 35px;
  }
}
