:root {
  --ink: #13232f;
  --muted: #60707c;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --line: #d8e0de;
  --teal: #0f766e;
  --teal-dark: #0b5d57;
  --teal-soft: #e4f3f0;
  --amber: #c66a12;
  --amber-soft: #fff0dc;
  --red: #b42318;
  --shadow: 0 18px 50px rgba(19, 35, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 74px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(216, 224, 222, 0.9);
  background: rgba(245, 247, 246, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: #41515d;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta,
.primary-button,
.secondary-button,
.download-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta {
  padding: 10px 15px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.nav-cta svg,
.primary-button svg,
.secondary-button svg,
.download-button svg {
  width: 17px;
  height: 17px;
}

.nav-cta:hover,
.primary-button:hover,
.download-button:hover {
  transform: translateY(-1px);
}

.tool-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px 34px;
}

.tool-heading {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.09;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
}

.upload-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.dropzone,
.queue-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dropzone {
  display: flex;
  min-height: 390px;
  padding: 48px 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dropzone.is-dragging {
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateY(-2px);
}

.drop-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.drop-icon svg {
  width: 34px;
  height: 34px;
}

.dropzone h2 {
  margin-bottom: 7px;
  font-size: 25px;
}

.dropzone > p {
  color: var(--muted);
}

.primary-button {
  min-width: 164px;
  margin-top: 10px;
  padding: 13px 20px;
  background: var(--teal);
  color: #fff;
  font-weight: 750;
}

.primary-button:hover {
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.privacy-line {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 20px 0 0;
  font-size: 12px;
}

.privacy-line svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}

.queue-panel {
  display: flex;
  min-height: 390px;
  padding: 22px;
  flex-direction: column;
}

.queue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.queue-head h2 {
  margin: 1px 0 0;
  font-size: 20px;
}

.queue-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9eeec;
  color: #52616b;
  font-size: 12px;
  font-weight: 700;
}

.queue-badge.is-busy {
  background: var(--amber-soft);
  color: var(--amber);
}

.queue-badge.is-done {
  background: var(--teal-soft);
  color: var(--teal);
}

.queue-list {
  display: flex;
  gap: 10px;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
}

.queue-empty {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 30px 18px;
  color: #7a8790;
  text-align: center;
}

.queue-empty svg {
  width: 33px;
  height: 33px;
  margin-bottom: 4px;
  color: #9aa6ad;
}

.queue-empty p {
  margin: 0;
  font-size: 13px;
}

.job-card {
  padding: 14px;
  border: 1px solid #e2e8e6;
  border-radius: 7px;
  background: #fbfcfc;
}

.job-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.job-name {
  max-width: 220px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-size {
  color: var(--muted);
  font-size: 11px;
}

.progress-track {
  height: 7px;
  margin: 11px 0 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ecea;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 260ms ease;
}

.job-state {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.job-state.is-error {
  color: var(--red);
}

.download-button {
  width: 100%;
  margin-top: 11px;
  padding: 9px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-strip article {
  display: flex;
  gap: 12px;
  min-height: 98px;
  padding: 20px;
  align-items: flex-start;
}

.feature-strip article + article {
  border-left: 1px solid var(--line);
}

.feature-strip svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--teal);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.feature-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.support-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.support-inner {
  display: grid;
  grid-template-columns: 1fr minmax(330px, 0.75fr);
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 24px;
}

.support-inner h2 {
  margin-bottom: 5px;
  font-size: 26px;
}

.support-inner p {
  margin-bottom: 0;
  color: #c5ced3;
}

.support-inner .eyebrow {
  color: #7fded4;
}

.code-form label {
  display: block;
  margin-bottom: 7px;
  color: #c5ced3;
  font-size: 12px;
  font-weight: 700;
}

.code-form > div {
  display: flex;
  gap: 9px;
}

.code-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  border: 1px solid #54636c;
  border-radius: 7px;
  background: #20333f;
  color: #fff;
  outline: none;
}

.code-form input:focus {
  border-color: #7fded4;
}

.secondary-button {
  padding: 10px 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.code-form small {
  display: block;
  margin-top: 7px;
  color: #9eafb8;
}

.ad-band {
  width: min(1180px, calc(100% - 48px));
  min-height: 110px;
  margin: 34px auto 0;
  padding: 16px;
  border: 1px dashed #bfc9c6;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.ad-band > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-section,
.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 24px 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  flex-direction: column;
}

.price-card.is-highlight {
  border: 2px solid var(--teal);
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.12);
}

.price-card .tag {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 5px;
  font-size: 21px;
}

.price-card .price {
  margin-bottom: 17px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  color: #50606b;
  font-size: 14px;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.price-card button,
.price-card a {
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.price-card.is-highlight button,
.price-card.is-highlight a {
  background: var(--teal);
  color: #fff;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-note a {
  color: var(--teal);
  font-weight: 750;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 750;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 70px auto 0;
  padding: 30px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .upload-workspace,
  .support-inner {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-strip article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 16px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 12px;
  }

  .tool-shell {
    padding: 46px 16px 24px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .dropzone {
    min-height: 340px;
    padding: 38px 20px;
  }

  .queue-panel {
    min-height: 300px;
  }

  .feature-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .support-inner,
  .pricing-section,
  .content-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .code-form > div {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 16px 40px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
