/* Video converter page (video-converter.html). Uses the site palette from styles.css. */
.vc-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 32px) clamp(48px, 7vw, 88px);
}

.vc-hero {
  text-align: center;
  margin-bottom: 28px;
}

.vc-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
}

.vc-lede {
  margin: 0 auto;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.45;
}

.vc-privacy {
  margin: 12px auto 0;
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.vc-note {
  margin: 0 0 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--lime);
  font-size: 16px;
  line-height: 1.45;
}

.vc-note a,
.vc-app-line a,
.vc-faq a,
.vc-open-source a {
  color: var(--logo-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vc-tool {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.vc-drop {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  border: 2px dashed var(--ink);
  border-radius: 10px;
  padding: 24px 16px;
  background: var(--paper-2);
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.vc-drop:hover,
.vc-drop.is-dragging,
.vc-drop:focus-within {
  background: #eaf9d7;
}

.vc-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vc-drop-title {
  font-size: 20px;
  font-weight: 800;
}

.vc-drop-hint {
  color: var(--ink-soft);
  font-size: 15px;
}

.vc-drop .button {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.vc-status {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.vc-status:empty {
  display: none;
}

.vc-status.is-error {
  border-left: 4px solid #d93a2b;
  padding-left: 12px;
}

.vc-detected {
  margin-top: 18px;
  border-top: 1px solid #d6d9df;
  padding-top: 16px;
}

.vc-detected h2,
.vc-result h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.vc-reasons {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.vc-reasons li + li {
  margin-top: 4px;
}

.vc-tech summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.vc-tech table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 14px;
}

.vc-tech td {
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid #e6e8ec;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.vc-tech td:first-child {
  width: 30%;
  font-weight: 700;
}

.vc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.vc-actions .button {
  min-width: 180px;
  font-size: 13px;
}

.vc-actions .button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--lime);
}

.vc-actions .button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.vc-progress {
  margin-top: 18px;
}

.vc-bar {
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-2);
}

.vc-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width 0.2s ease;
}

.vc-progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.vc-result {
  margin-top: 20px;
  border-top: 1px solid #d6d9df;
  padding-top: 16px;
  text-align: center;
}

.vc-result video {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 0 auto 14px;
  border-radius: 8px;
  background: #000;
}

.vc-result p {
  margin: 0 0 12px;
  font-size: 16px;
}

.vc-free {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.vc-app-line {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.vc-section {
  margin-top: clamp(36px, 5vw, 52px);
}

.vc-section h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 34px);
  text-align: center;
}

.vc-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-formats li {
  border: 1px solid #d6d9df;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
}

.vc-formats strong {
  display: block;
  font-size: 16px;
}

.vc-not-supported {
  margin: 12px 0 0;
  font-size: 15px;
  text-align: center;
}

.vc-faq details {
  border-bottom: 1px solid #d6d9df;
  padding: 14px 0;
}

.vc-faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.vc-faq p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.vc-open-source {
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 640px) {
  .vc-formats {
    grid-template-columns: 1fr;
  }

  .vc-actions .button {
    width: 100%;
  }

  .vc-lede {
    font-size: 17px;
  }
}
