* { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f6f8fb;
      color: #25223a;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }

    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 22px;
      width: 100%;
    }

    .topbar {
      margin: 22px auto;
      max-width: 1180px;
      background: rgba(255,255,255,0.9);
      border: 1px solid #e8edf5;
      backdrop-filter: blur(10px);
      border-radius: 8px;
      padding: 14px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      box-shadow: 0 10px 30px rgba(27,45,74,0.06);
    }

    .topbar,
    .upload-card,
    .drop-zone,
    .transcript-sample {
      max-width: 100%;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 20px;
    }

    .logo {
      width: 26px;
      height: 26px;
      border-radius: 6px;
      background: linear-gradient(135deg, #1967d2, #00a38c);
    }

    .nav {
      display: flex;
      gap: 26px;
      align-items: center;
      color: #5b5870;
      font-weight: 600;
      font-size: 15px;
    }

    .btn {
      border: 0;
      border-radius: 8px;
      padding: 14px 22px;
      background: #1967d2;
      color: white;
      cursor: pointer;
      font-weight: 800;
      font-size: 15px;
      display: inline-block;
      text-align: center;
    }

    .btn:hover { opacity: 0.92; }

    .btn.secondary { background: #343142; }

    .btn.light {
      background: white;
      color: #1967d2;
      border: 1px solid #c9d7ef;
    }

    .auth-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .usage-badge {
      display: none;
      color: #4e5b73;
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
    }

    .usage-badge.visible {
      display: inline-block;
    }

    .auth-actions .btn {
      white-space: nowrap;
    }

    .btn.logout {
      display: none;
      padding: 14px 16px;
      background: #343142;
    }

    .btn.logout.visible {
      display: inline-block;
    }

    .btn.cabinet-nav { display: inline-block; }

    .btn:disabled {
      background: #aaa;
      cursor: not-allowed;
    }

    .hero {
      padding: 54px 0 42px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
      gap: 42px;
      align-items: center;
    }

    .hero-grid > *,
    .example-grid > *,
    .cards > *,
    .steps-grid > *,
    .app-grid > * {
      min-width: 0;
    }

    .hero-copy {
      text-align: left;
    }

    .badge {
      display: inline-block;
      background: #eaf4ff;
      color: #1459b0;
      padding: 9px 16px;
      border-radius: 999px;
      font-weight: 800;
      margin-bottom: 18px;
    }

    h1 {
      font-size: 58px;
      line-height: 1.08;
      margin: 0 0 20px;
      max-width: 760px;
      color: #17223b;
    }

    .subtitle {
      font-size: 21px;
      line-height: 1.55;
      color: #4e4a61;
      max-width: 660px;
      margin: 0 0 28px;
    }

    .hero-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      max-width: 640px;
      margin-top: 28px;
    }

    .hero-point {
      color: #34405a;
      font-weight: 800;
      line-height: 1.35;
      display: flex;
      gap: 9px;
      align-items: flex-start;
    }

    .hero-point::before {
      content: "";
      width: 8px;
      height: 8px;
      margin-top: 6px;
      border-radius: 50%;
      background: #00a38c;
      flex: 0 0 auto;
    }

    .upload-card {
      background: white;
      border: 1px solid #e3e9f3;
      border-radius: 8px;
      padding: 24px;
      width: 100%;
      min-width: 0;
      box-shadow: 0 24px 70px rgba(27,45,74,0.14);
    }

    .drop-zone {
      border: 2px dashed #b8c9e3;
      border-radius: 8px;
      padding: 34px 26px;
      background: #f8fbff;
      transition: 0.2s;
      cursor: pointer;
      text-align: center;
    }

    .drop-zone.dragover,
    .drop-zone.uploading {
      background: #eef7ff;
      border-color: #1967d2;
      box-shadow: 0 0 0 4px rgba(25,103,210,0.12);
    }

    .drop-zone.uploading {
      cursor: default;
    }

    .upload-icon {
      width: 46px;
      height: 46px;
      margin: 0 auto 12px;
      border-radius: 8px;
      background: #eaf4ff;
      color: #1967d2;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
    }

    .hidden-file {
      display: none;
    }

    .upload-main-btn {
      width: 100%;
      margin-top: 16px;
    }

    .url-box {
      margin-top: 20px;
    }

    .or-label {
      margin: 0 0 10px;
      color: #777284;
      font-weight: 700;
    }

    .url-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
    }

    .url-input {
      width: 100%;
      padding: 16px;
      border: 1px solid #c9d7ef;
      border-radius: 8px;
      font-size: 15px;
      outline: none;
    }

    .url-input:focus {
      border-color: #1967d2;
      box-shadow: 0 0 0 4px rgba(25,103,210,0.12);
    }

    .hint {
      color: #777284;
      font-size: 14px;
      margin-top: 10px;
      overflow-wrap: anywhere;
    }

    .trust {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .trust span {
      background: white;
      border: 1px solid #dfe7f2;
      padding: 9px 13px;
      border-radius: 999px;
      font-size: 14px;
      color: #4e4a61;
      font-weight: 700;
    }

    .section {
      padding: 64px 0;
    }

    .section h2 {
      font-size: 38px;
      text-align: center;
      margin: 0 0 26px;
      color: #17223b;
    }

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

    .cards.use-cases {
      grid-template-columns: repeat(4, 1fr);
    }

    .card {
      background: white;
      border: 1px solid #e3e9f3;
      border-radius: 8px;
      padding: 24px;
      box-shadow: 0 12px 34px rgba(27,45,74,0.06);
    }

    .card h3 {
      margin: 0 0 10px;
      color: #27205d;
    }

    .card p {
      margin: 0;
      color: #5d6678;
      line-height: 1.55;
    }

    .example-section {
      padding-top: 42px;
    }

    .example-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
      gap: 28px;
      align-items: center;
    }

    .transcript-sample {
      background: #111827;
      color: #f8fafc;
      border-radius: 8px;
      padding: 28px;
      box-shadow: 0 18px 50px rgba(17,24,39,0.18);
      line-height: 1.75;
      font-size: 17px;
    }

    .transcript-sample p {
      margin: 0 0 12px;
    }

    .transcript-sample p:last-child {
      margin-bottom: 0;
    }

    .timestamp {
      color: #8bd3ff;
      font-weight: 800;
      margin-right: 8px;
    }

    .section-copy {
      color: #4e4a61;
      font-size: 19px;
      line-height: 1.55;
      margin: 0;
    }

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

    .step-number {
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: #1967d2;
      color: white;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      margin-bottom: 16px;
    }

    .security-box,
    .pricing-preview,
    .pricing-card {
      background: white;
      border: 1px solid #e3e9f3;
      border-radius: 8px;
      padding: 34px;
      box-shadow: 0 12px 34px rgba(27,45,74,0.06);
    }

    .security-box h2,
    .pricing-preview h2 {
      text-align: left;
      margin-bottom: 14px;
    }

    .legal-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 20px;
    }

    .legal-links a {
      color: #1967d2;
      font-weight: 800;
      text-decoration: underline;
    }

    .pricing-preview {
      display: block;
    }

    .pricing-head {
      max-width: 760px;
      margin-bottom: 24px;
    }

    .pricing-note {
      margin-top: 14px;
      color: #5d6678;
      line-height: 1.5;
      font-weight: 700;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .pricing-card {
      position: relative;
      padding: 22px;
      box-shadow: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 100%;
    }

    .pricing-card.featured {
      border: 2px solid #1967d2;
      box-shadow: 0 16px 38px rgba(25,103,210,0.12);
    }

    .plan-badge {
      align-self: flex-start;
      padding: 6px 10px;
      border-radius: 999px;
      background: #eaf4ff;
      color: #1459b0;
      font-size: 12px;
      font-weight: 900;
    }

    .plan-name {
      margin: 0;
      color: #17223b;
      font-size: 19px;
    }

    .price {
      font-size: 28px;
      font-weight: 900;
      color: #17223b;
      margin: 0;
    }

    .plan-meta {
      margin: 0;
      color: #1967d2;
      font-weight: 900;
    }

    .plan-copy {
      margin: 0;
      color: #5d6678;
      line-height: 1.5;
      flex: 1;
    }

    .plan-validity {
      margin: 0;
      color: #6f7890;
      font-size: 14px;
      font-weight: 800;
    }

    .paid-validity {
      padding: 10px 12px;
      border: 1px solid #8dd9ee;
      border-radius: 8px;
      background: #e8f8fc;
      color: #07566a;
      font-size: 17px;
      font-weight: 900;
      line-height: 1.25;
    }

    .app-page {
      display: none;
      padding: 34px 0 70px;
    }

    .cabinet-page { display: none; padding: 34px 0 70px; }
    .cabinet-shell { display: grid; gap: 22px; }
    .cabinet-top,
    .cabinet-balance,
    .cabinet-section,
    .cabinet-auth,
    .cabinet-detail {
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 20px;
      background: rgba(15, 23, 42, 0.82);
      color: #eef2ff;
      box-shadow: 0 20px 48px rgba(2, 6, 23, 0.22);
    }
    .cabinet-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 24px;
    }
    .cabinet-top h2,
    .cabinet-section h3,
    .cabinet-detail h2,
    .cabinet-auth h2 { margin: 0; color: #f8fbff; }
    .cabinet-top-actions,
    .cabinet-actions,
    .cabinet-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
    .export-anchor { position: relative; }
    .export-menu {
      position: fixed;
      z-index: 20;
      top: 12px;
      left: 12px;
      width: min(330px, calc(100vw - 24px));
      max-height: calc(100vh - 24px);
      overflow-y: auto;
      padding: 16px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 14px;
      background: #111c31;
      color: #eef2ff;
      box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
    }
    .export-menu h4 { margin: 0 0 10px; font-size: 14px; }
    .export-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
    .export-format {
      padding: 8px 4px;
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: 8px;
      background: transparent;
      color: #dbeafe;
      cursor: pointer;
      font: inherit;
      font-size: 12px;
      font-weight: 800;
    }
    .export-format:hover, .export-format:focus-visible, .export-format.selected { border-color: #38bdf8; background: rgba(14, 116, 144, 0.28); color: #f8fbff; }
    .export-options { display: grid; gap: 9px; margin-bottom: 16px; }
    .export-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #dbeafe; font-size: 14px; cursor: pointer; }
    .export-option input { accent-color: #38bdf8; width: 18px; height: 18px; }
    .export-option input:disabled { cursor: not-allowed; }
    .export-hint { margin: -8px 0 8px; color: #aebbd0; font-size: 12px; }
    .export-submit { width: 100%; }
    .cabinet-balance {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 18px;
      padding: 22px 24px;
    }
    .cabinet-balance-value { margin: 5px 0 0; font-size: 30px; font-weight: 900; }
    .cabinet-muted { color: #aebbd0; }
    .cabinet-section,
    .cabinet-detail,
    .cabinet-auth { padding: 24px; }
    .cabinet-auth { text-align: center; }
    .cabinet-job-list { display: grid; gap: 12px; margin-top: 16px; }
    .cabinet-job {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: center;
      padding: 18px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 14px;
      background: rgba(6, 11, 23, 0.64);
    }
    .cabinet-job.unfinished {
      border-color: rgba(245, 158, 11, 0.4);
      background: rgba(120, 53, 15, 0.18);
    }
    .cabinet-filename {
      overflow: hidden;
      color: #f8fbff;
      font-weight: 900;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .cabinet-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      margin-top: 7px;
      color: #aebbd0;
      font-size: 14px;
    }
    .cabinet-status { color: #c4b5fd; font-weight: 800; }
    .cabinet-conversion { margin: 10px 0 0; color: #fde68a; }
    .cabinet-retention-notice {
      padding: 16px 20px;
      border: 1px solid rgba(56, 189, 248, 0.28);
      border-radius: 14px;
      background: rgba(14, 116, 144, 0.16);
      color: #dbeafe;
    }
    .cabinet-retention { margin: 10px 0 0; color: #aebbd0; font-size: 14px; }
    .cabinet-retention.expired { color: #fecaca; }
    .cabinet-empty,
    .cabinet-loading,
    .cabinet-error { padding: 30px 10px; text-align: center; color: #aebbd0; }
    .cabinet-transcript {
      margin: 20px 0;
      max-height: 56vh;
      overflow: auto;
      padding: 20px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 14px;
      background: rgba(6, 11, 23, 0.72);
      color: #eef2ff;
      line-height: 1.65;
      white-space: pre-wrap;
    }

    .workspace {
      background: white;
      border: 1px solid #e3e9f3;
      border-radius: 8px;
      padding: 34px;
      box-shadow: 0 22px 60px rgba(27,45,74,0.10);
      max-width: 760px;
      margin: 0 auto;
    }

    .workspace.result-workspace {
      max-width: 960px;
    }

    .steps {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin: 0 0 22px;
    }

    .step {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      color: #555166;
    }

    .dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #635bff;
      box-shadow: 0 0 0 4px rgba(99,91,255,0.12);
    }

    .dot.green { background: #00c781; }
    .dot.cyan { background: #00bfd8; }

    .flow-step {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid #dfe7f2;
      border-radius: 999px;
      background: #f8fbff;
      color: #5d6678;
      font-size: 13px;
      font-weight: 900;
    }

    .flow-step.active {
      border-color: #1967d2;
      color: #1967d2;
      background: #eaf4ff;
    }

    .flow-step.done {
      border-color: #00a38c;
      color: #007765;
      background: #ecfbf7;
    }

    .app-grid {
      display: block;
    }

    .panel {
      border: 0;
      border-radius: 8px;
      padding: 0;
      background: #fff;
    }

    .panel h2 {
      color: #17223b;
      line-height: 1.2;
    }

    .tool-intro {
      margin: -4px 0 22px;
      color: #5d6678;
      line-height: 1.5;
    }

    .settings-grid {
      display: none;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 18px;
    }

    .setting-group {
      min-width: 0;
    }

    .setting-label {
      display: block;
      margin-bottom: 8px;
      color: #34405a;
      font-size: 14px;
      font-weight: 900;
    }

    .segmented {
      display: flex;
      gap: 6px;
      padding: 5px;
      border: 1px solid #d9e3f2;
      border-radius: 8px;
      background: #f7faff;
    }

    .segmented input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .segmented span {
      display: block;
      width: 100%;
      padding: 9px 10px;
      border-radius: 6px;
      color: #4e5b73;
      cursor: pointer;
      font-size: 14px;
      font-weight: 800;
      text-align: center;
      white-space: nowrap;
    }

    .segmented input:checked + span {
      background: #1967d2;
      color: white;
      box-shadow: 0 8px 18px rgba(25,103,210,0.20);
    }

    .file-card {
      display: none;
      margin-top: 16px;
      padding: 14px;
      border: 1px solid #d9e3f2;
      border-radius: 8px;
      background: #f8fbff;
    }

    .file-card.visible {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
    }

    .file-card > div {
      min-width: 0;
    }

    .file-name-display {
      display: block;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .file-name {
      color: #17223b;
      font-weight: 900;
    }

    .file-meta {
      margin-top: 4px;
      color: #6f7890;
      font-size: 14px;
    }

    .file-state {
      color: #00856f;
      font-size: 14px;
      font-weight: 900;
      white-space: nowrap;
    }

    .start-row {
      display: none;
      margin-top: 14px;
    }

    .start-row.visible {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .start-row .btn {
      flex: 1 1 220px;
    }

    .link-button {
      border: 0;
      background: transparent;
      color: #1967d2;
      cursor: pointer;
      font-weight: 900;
      padding: 12px 4px;
      text-align: center;
    }

    .app-trust {
      display: none;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }

    .app-trust span {
      padding: 8px 10px;
      border: 1px solid #dfe7f2;
      border-radius: 999px;
      color: #4e5b73;
      background: #fff;
      font-size: 13px;
      font-weight: 800;
    }

    .status {
      margin: 14px 0 8px;
      font-weight: 900;
      color: #17223b;
      text-align: left;
    }

    .processing-note {
      display: none;
      margin: 0 0 10px;
      color: #5d6678;
      line-height: 1.45;
    }

    .processing-note.visible {
      display: block;
    }

    .progress-help {
      display: none;
      margin: -8px 0 10px;
      color: #6f7890;
      font-size: 14px;
      line-height: 1.45;
    }

    .progress-help.visible {
      display: block;
    }

    .progress-wrap {
      width: 100%;
      height: 14px;
      background: #eeeeee;
      border-radius: 999px;
      overflow: hidden;
      margin: 18px 0;
      display: none;
    }

    .progress-percent {
      display: none;
      margin: -8px 0 10px;
      color: #17223b;
      font-size: 14px;
      font-weight: 900;
      text-align: right;
    }

    .progress-bar {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, #1967d2, #00a38c);
      transition: width 0.25s ease;
    }

    .processing-status {
      display: none;
      margin: 14px 0 4px;
      padding: 16px;
      border: 1px solid #dfe7f2;
      border-radius: 8px;
      background: #fff;
      text-align: left;
    }

    .processing-status.visible {
      display: block;
    }

    .processing-status h3 {
      margin: 0 0 12px;
      color: #17223b;
      font-size: 16px;
      line-height: 1.25;
    }

    .processing-stages {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 0 0 12px;
      padding: 0;
      list-style: none;
    }

    .processing-stages li {
      padding: 9px 10px;
      border: 1px solid #e5ebf4;
      border-radius: 8px;
      color: #5d6678;
      background: #f8fbff;
      font-size: 14px;
      font-weight: 800;
    }

    .processing-stages li.active {
      border-color: #1967d2;
      color: #1459b0;
      background: #eaf4ff;
    }

    .processing-timer {
      margin: 0;
      color: #4e5b73;
      font-size: 14px;
      font-weight: 900;
    }

    .result-box {
      display: none;
      margin-top: 18px;
      padding: 18px;
      background: #f7f7fb;
      border: 1px solid #ededf5;
      border-radius: 14px;
      max-height: 420px;
      overflow-y: auto;
      white-space: pre-wrap;
      line-height: 1.5;
      font-size: 15px;
      text-align: left;
    }

    .result-actions {
      display: none;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 16px;
    }

    .download-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #eee;
    }

    .download-row:last-child { border-bottom: 0; }

    .small-btn {
      padding: 9px 13px;
      border-radius: 8px;
      background: #1967d2;
      color: white;
      font-size: 13px;
      font-weight: 800;
      border: 0;
      cursor: pointer;
    }

    .small-btn:disabled {
      background: #d7deea;
      color: #7d8798;
      cursor: not-allowed;
    }

    .download-panel.muted {
      background: #f8fafc;
      color: #7d8798;
    }

    .download-panel {
      display: none;
    }

    .download-panel.muted h2,
    .download-panel.muted b {
      color: #6f7890;
    }

    .download-empty {
      margin: 0 0 12px;
      color: #6f7890;
      line-height: 1.45;
    }

    .commercial-note {
      display: none;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid #e6ecf5;
      color: #5d6678;
    }

    .commercial-note.visible {
      display: block;
    }

    .commercial-note h3 {
      margin: 0 0 10px;
      color: #17223b;
    }

    .paywall {
      display: none;
      margin-top: 18px;
      padding: 20px;
      border-radius: 8px;
      background: #fff7df;
      border: 1px solid #ffd978;
    }

    .paywall h3 {
      margin: 0 0 8px;
      color: #27205d;
    }

    .paywall p {
      margin: 0 0 12px;
      color: #4c5870;
      line-height: 1.5;
    }

    .paywall .progress-line {
      font-weight: 700;
      color: #17223b;
    }

    .auth-gate,
    .oauth-complete,
    .payment-placeholder {
      display: none;
      margin-top: 20px;
      padding: 24px;
      border: 1px solid #dfe7f2;
      border-radius: 8px;
      background: #fbfdff;
    }

    .auth-gate.visible,
    .oauth-complete.visible,
    .payment-placeholder.visible {
      display: block;
    }

    .auth-gate-card,
    .oauth-complete-card,
    .payment-placeholder-card {
      max-width: 520px;
      margin: 0 auto;
      text-align: center;
    }

    .auth-gate-card h3,
    .oauth-complete-card h3,
    .payment-placeholder h3 {
      margin: 0 0 10px;
      color: #17223b;
      font-size: 26px;
      line-height: 1.2;
    }

    .auth-gate-card p,
    .oauth-complete-card p,
    .payment-placeholder p {
      margin: 0 0 18px;
      color: #5d6678;
      line-height: 1.5;
    }

    .paywall-tariffs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 18px 0 12px;
    }

    .paywall-tariffs .btn {
      width: 100%;
      padding-left: 10px;
      padding-right: 10px;
    }

    .oauth-list {
      display: grid;
      gap: 10px;
      margin-bottom: 14px;
    }

    .auth-section-label {
      margin: 0 0 8px;
      color: #403c52;
      font-size: 13px;
      font-weight: 900;
    }

    .auth-email-separator {
      margin: 16px 0 14px;
      color: #6b6b7a;
      font-size: 13px;
      font-weight: 800;
      text-align: center;
    }

    .oauth-list .btn:disabled {
      width: 100%;
      background: #eef2f7;
      color: #7d8798;
      border: 1px solid #dde5ef;
    }

    .oauth-complete-form {
      margin-top: 16px;
      text-align: left;
    }

    .oauth-complete-form .btn {
      width: 100%;
      margin-top: 12px;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 14px 0;
    }

    .auth-tab {
      border: 1px solid #d9e3f2;
      border-radius: 8px;
      padding: 10px 12px;
      background: white;
      color: #4e5b73;
      cursor: pointer;
      font-weight: 900;
    }

    .auth-tab.active {
      background: #1967d2;
      border-color: #1967d2;
      color: white;
    }

    .tariff-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 16px;
    }

    .tariff-card {
      border: 1px solid #dfe7f2;
      border-radius: 8px;
      padding: 16px;
      background: white;
    }

    .tariff-card h4 {
      margin: 0 0 10px;
      color: #17223b;
    }

    .partial-paywall-tariffs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 12px 0 10px;
      text-align: left;
    }

    .partial-paywall-card {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 5px;
      min-height: 100%;
      padding: 12px;
      border: 1px solid #dfe7f2;
      border-radius: 8px;
      background: #fff;
    }

    .partial-paywall-card.featured {
      border-color: #1967d2;
      background: #f4f8ff;
      box-shadow: 0 8px 24px rgba(25, 103, 210, 0.12);
    }

    .partial-paywall-card .plan-badge {
      align-self: flex-start;
    }

    .partial-paywall-card h4 {
      margin: 0;
      color: #17223b;
      font-size: 17px;
      line-height: 1.2;
    }

    .partial-paywall-card .plan-hours,
    .partial-paywall-card .plan-price,
    .partial-paywall-card .plan-rate {
      margin: 0;
    }

    .partial-paywall-card .plan-hours {
      color: #4e5b73;
      font-weight: 800;
    }

    .partial-paywall-card .plan-price {
      color: #17223b;
      font-size: 22px;
      font-weight: 900;
      line-height: 1.1;
    }

    .partial-paywall-card .plan-rate {
      color: #6f7890;
      font-size: 12px;
      font-weight: 800;
    }

    .partial-paywall-card .btn {
      width: 100%;
      margin-top: auto;
      padding: 10px 12px;
    }

    .preview-paywall-layout {
      display: block;
    }

    .app-page:has(.workspace.partial-preview-result) {
      padding-top: 10px;
    }

    .app-page:has(.workspace.partial-preview-result) > .container {
      max-width: min(1364px, 100vw);
    }

    .workspace.partial-preview-result {
      width: 100%;
      max-width: min(1320px, calc(100vw - 32px));
      padding: 18px;
      overflow-x: hidden;
    }

    .partial-preview-result .steps {
      margin-bottom: 8px;
    }

    .partial-preview-result #appPanelTitle {
      margin-bottom: 8px;
    }

    .partial-preview-result .preview-paywall-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.92fr);
      gap: 14px;
      align-items: start;
    }

    .partial-preview-result .preview-column {
      min-width: 0;
    }

    .partial-preview-result .result-box {
      max-height: clamp(220px, 34vh, 340px);
      margin-top: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      font-size: 15px;
      line-height: 1.65;
    }

    .partial-preview-result .result-export-actions {
      gap: 8px;
      margin: 10px 0 0;
    }

    .partial-preview-result .result-export-actions .btn {
      flex: 1 1 calc(33.333% - 8px);
      min-width: 0;
      padding: 10px 12px;
    }

    .partial-preview-result .paywall {
      margin-top: 0;
      padding: 12px;
    }

    .partial-preview-result .paywall h3 {
      margin-bottom: 4px;
      font-size: 19px;
    }

    .partial-preview-result .paywall p {
      margin-bottom: 6px;
      font-size: 14px;
      line-height: 1.35;
    }

    .partial-preview-result .partial-paywall-tariffs {
      gap: 8px;
      margin: 8px 0 6px;
    }

    .partial-preview-result .partial-paywall-card {
      gap: 4px;
      padding: 10px;
      min-width: 0;
    }

    .partial-preview-result .partial-paywall-card h4 {
      font-size: 18px;
    }

    .partial-preview-result .partial-paywall-card .plan-hours,
    .partial-preview-result .partial-paywall-card .plan-rate {
      font-size: 14px;
    }

    .partial-preview-result .partial-paywall-card .plan-price {
      font-size: 22px;
      line-height: 1.1;
    }

    .partial-preview-result .partial-paywall-card .btn {
      padding: 9px 10px;
    }

    .result-export-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 14px 0 18px;
    }

    .result-export-actions .btn {
      flex: 1 1 120px;
    }

    .result-export-actions .export-anchor {
      display: block;
      flex: 1 1 100%;
    }

    .result-export-actions .export-anchor .btn {
      width: 100%;
    }

    .partial-paywall-copy {
      color: #1d2840;
      font-weight: 700;
    }

    .partial-paywall-progress {
      color: #17223b;
      font-size: 15px;
      font-weight: 900;
    }

    .upload-microcopy {
      margin: 12px 0 0;
      color: #6f7890;
      font-size: 14px;
      font-weight: 800;
      text-align: center;
    }

    .auth-modal {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(37,34,58,0.46);
      backdrop-filter: blur(7px);
    }

    .auth-modal.open {
      display: flex;
    }

    .auth-dialog {
      width: 100%;
      max-width: 430px;
      max-height: calc(100vh - 44px);
      overflow-y: auto;
      position: relative;
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(255,255,255,0.95);
      border-radius: 18px;
      padding: 30px;
      box-shadow: 0 28px 90px rgba(72,58,160,0.24);
    }

    .auth-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 10px;
      background: #f5f2ff;
      color: #5b5870;
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
    }

    .auth-close:hover {
      color: #27205d;
      background: #ece8ff;
    }

    .auth-brand {
      justify-content: center;
      margin: 4px 0 24px;
      font-size: 24px;
    }

    .auth-title {
      margin: 4px 0 10px;
      text-align: center;
      color: #27205d;
      font-size: 28px;
      line-height: 1.15;
    }

    .auth-subtitle {
      margin: 0 0 22px;
      text-align: center;
      color: #5b5870;
      font-size: 15px;
      line-height: 1.45;
    }

    .auth-form {
      display: none;
    }

    .auth-form.active {
      display: block;
    }

    .auth-field {
      display: block;
      margin-bottom: 14px;
      color: #403c52;
      font-weight: 800;
      font-size: 14px;
    }

    .auth-input {
      width: 100%;
      margin-top: 7px;
      padding: 14px 15px;
      border: 1px solid #ded9ff;
      border-radius: 12px;
      background: white;
      color: #25223a;
      font-size: 15px;
      outline: none;
    }

    .auth-input:focus {
      border-color: #635bff;
      box-shadow: 0 0 0 4px rgba(99,91,255,0.12);
    }

    .auth-password-wrap {
      position: relative;
    }

    .auth-password-wrap .auth-input {
      padding-right: 96px;
    }

    .password-toggle {
      position: absolute;
      right: 8px;
      bottom: 7px;
      min-width: 74px;
      height: 36px;
      border: 0;
      border-radius: 9px;
      background: #f0eff7;
      color: #4d44d9;
      cursor: pointer;
      font-weight: 800;
      font-size: 13px;
    }

    .password-toggle:hover {
      background: #e8e4ff;
    }

    .auth-check {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 10px;
      align-items: start;
      margin: 13px 0;
      color: #5f5b6f;
      font-size: 12px;
      line-height: 1.45;
    }

    .auth-check input {
      width: 18px;
      height: 18px;
      margin: 0;
      accent-color: #635bff;
    }

    .auth-modal a {
      color: #4d44d9;
      text-decoration: underline;
      font-weight: 700;
      cursor: pointer;
      padding: 2px 0;
      transition: color 0.2s ease;
    }

    .auth-modal a:hover {
      color: #3a32c4;
      text-decoration: underline;
    }

    .auth-modal a:active {
      color: #2f28a8;
    }

    .auth-modal a:focus {
      outline: 2px solid #4d44d9;
      outline-offset: 2px;
    }

    .auth-submit {
      width: 100%;
      margin-top: 8px;
    }

    .auth-switch {
      margin: 18px 0 0;
      text-align: center;
      color: #5b5870;
      font-size: 14px;
      font-weight: 700;
    }

    .auth-link {
      border: 0;
      padding: 0;
      background: transparent;
      color: #4d44d9;
      cursor: pointer;
      font: inherit;
      font-weight: 900;
    }

    .auth-message {
      display: none;
      margin-top: 14px;
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(99,91,255,0.1);
      color: #27205d;
      font-weight: 800;
      text-align: center;
      font-size: 14px;
    }

    .auth-message.visible {
      display: block;
    }

    .pay-buttons {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    footer {
      margin-top: 28px;
      padding: 68px 0 42px;
      border-top: 1px solid #e6ebf3;
      background: #ffffff;
      color: #667085;
      font-size: 14px;
    }

    .footer-inner {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 22px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 44px;
      text-align: left;
      align-items: start;
    }

    .footer-column {
      min-width: 0;
    }

    .footer-brand {
      color: #17223b;
      font-size: 20px;
      font-weight: 900;
      margin: 0 0 14px;
    }

    .footer-text {
      line-height: 1.65;
      margin: 0 0 14px;
      color: #667085;
      max-width: 280px;
    }

    .footer-links {
      display: grid;
      gap: 12px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer-group-title {
      margin: 0 0 18px;
      color: #17223b;
      font-size: 16px;
      font-weight: 900;
    }

    .footer-company-line {
      margin: 0 0 10px;
      color: #667085;
      line-height: 1.55;
    }

    footer a {
      color: #4b5565;
      font-weight: 700;
      text-decoration: none;
      transition: color 0.18s ease;
    }

    footer a:hover {
      color: #1967d2;
    }

    .auth-legal {
      margin: 12px 0 0;
      color: #6b6b7a;
      font-size: 12px;
      line-height: 1.45;
      text-align: center;
    }

    body.landing-dark {
      --landing-bg: #0b1020;
      --landing-bg-2: #09111f;
      --panel-bg: rgba(15, 23, 42, 0.8);
      --panel-bg-strong: rgba(11, 19, 36, 0.92);
      --panel-border: rgba(148, 163, 184, 0.18);
      --panel-border-strong: rgba(139, 92, 246, 0.42);
      --landing-text: #eef2ff;
      --landing-text-soft: #bfcae8;
      --landing-text-dim: #8ea0c8;
      --landing-violet: #8b5cf6;
      --landing-violet-strong: #6d28d9;
      --landing-cyan: #22d3ee;
      background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.15), transparent 28%),
        linear-gradient(180deg, var(--landing-bg) 0%, var(--landing-bg-2) 48%, #070d17 100%);
    }

    body.landing-dark > header.topbar {
      background: rgba(9, 17, 31, 0.76);
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 20px;
      backdrop-filter: blur(20px);
      box-shadow: 0 12px 40px rgba(2, 6, 23, 0.36);
    }

    body.landing-dark > header.topbar .brand,
    body.landing-dark > header.topbar .nav,
    body.landing-dark > header.topbar .usage-badge {
      color: var(--landing-text-soft);
    }

    body.landing-dark > header.topbar .logo {
      background: linear-gradient(135deg, var(--landing-violet), var(--landing-cyan));
      box-shadow: 0 0 24px rgba(139, 92, 246, 0.42);
    }

    body.landing-dark > header.topbar .auth-actions .btn {
      border-radius: 14px;
      transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    }

    body.landing-dark > header.topbar .auth-actions .btn.light,
    body.landing-dark > header.topbar .auth-actions .btn.logout {
      background: rgba(15, 23, 42, 0.82);
      color: var(--landing-text);
      border: 1px solid rgba(139, 92, 246, 0.28);
      box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
    }

    body.landing-dark > header.topbar .auth-actions .btn.light:hover,
    body.landing-dark > header.topbar .auth-actions .btn.logout:hover {
      opacity: 0.96;
      transform: translateY(-1px);
    }

    body.landing-dark #landingPage {
      color: var(--landing-text);
    }

    body.landing-dark #landingPage h1,
    body.landing-dark #landingPage .section h2,
    body.landing-dark #landingPage .plan-name,
    body.landing-dark #landingPage .price,
    body.landing-dark #landingPage .card h3 {
      color: #f8fbff;
    }

    body.landing-dark #landingPage .subtitle,
    body.landing-dark #landingPage .section-copy,
    body.landing-dark #landingPage .card p,
    body.landing-dark #landingPage .pricing-note,
    body.landing-dark #landingPage .plan-copy {
      color: var(--landing-text-soft);
    }

    body.landing-dark #landingPage .hint,
    body.landing-dark #landingPage .or-label,
    body.landing-dark #landingPage .plan-validity {
      color: var(--landing-text-dim);
    }

    body.landing-dark #landingPage .plan-value-note {
      margin: -4px 0 0;
      color: #d8b4fe;
      font-size: 14px;
      font-weight: 800;
    }

    body.landing-dark #landingPage .paid-validity,
    body.landing-dark #appPage .paid-validity {
      border-color: rgba(34, 211, 238, 0.42);
      background: rgba(8, 145, 178, 0.18);
      color: #cffafe;
    }

    body.landing-dark #landingPage .badge,
    body.landing-dark #landingPage .plan-badge {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.14));
      color: #f3e8ff;
      border: 1px solid rgba(139, 92, 246, 0.28);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    }

    body.landing-dark #landingPage .hero-point {
      color: #dce5ff;
    }

    body.landing-dark #landingPage .hero-point::before {
      background: linear-gradient(135deg, var(--landing-cyan), #5eead4);
    }

    body.landing-dark #landingPage .upload-card,
    body.landing-dark #landingPage .card,
    body.landing-dark #landingPage .transcript-sample,
    body.landing-dark #landingPage .security-box,
    body.landing-dark #landingPage .pricing-preview,
    body.landing-dark #landingPage .pricing-card {
      background: var(--panel-bg);
      border: 1px solid var(--panel-border);
      border-radius: 24px;
      box-shadow: 0 22px 60px rgba(2, 6, 23, 0.34);
      backdrop-filter: blur(16px);
    }

    body.landing-dark #landingPage .upload-card {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.76)),
        radial-gradient(circle at top, rgba(139, 92, 246, 0.18), transparent 52%);
    }

    body.landing-dark #landingPage .upload-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(34, 211, 238, 0.24));
      -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    body.landing-dark #landingPage .drop-zone {
      border-radius: 20px;
      border-color: rgba(110, 231, 255, 0.28);
      background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58)),
        radial-gradient(circle at top, rgba(139, 92, 246, 0.14), transparent 55%);
    }

    body.landing-dark #landingPage .drop-zone.dragover,
    body.landing-dark #landingPage .drop-zone.uploading {
      background: rgba(17, 24, 39, 0.96);
      border-color: var(--landing-cyan);
      box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
    }

    body.landing-dark #landingPage .upload-icon {
      background: linear-gradient(135deg, var(--landing-violet), var(--landing-cyan));
      color: #fff;
      box-shadow: 0 10px 24px rgba(109, 40, 217, 0.24);
    }

    body.landing-dark #landingPage .url-input {
      background: rgba(8, 15, 30, 0.9);
      color: var(--landing-text);
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 14px;
    }

    body.landing-dark #landingPage .url-input:focus {
      border-color: var(--landing-violet);
      box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
    }

    body.landing-dark #landingPage .btn {
      border-radius: 14px;
      transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    }

    body.landing-dark #landingPage .upload-main-btn,
    body.landing-dark #landingPage .pricing-card.featured .btn,
    body.landing-dark #landingPage .pricing-card .btn:not(.light) {
      background: linear-gradient(135deg, var(--landing-violet-strong), var(--landing-cyan));
      box-shadow: 0 18px 40px rgba(109, 40, 217, 0.34);
    }

    body.landing-dark #landingPage .upload-main-btn:hover,
    body.landing-dark #landingPage .pricing-card.featured .btn:hover,
    body.landing-dark #landingPage .pricing-card .btn:not(.light):hover {
      opacity: 0.96;
      transform: translateY(-1px);
      box-shadow: 0 22px 44px rgba(109, 40, 217, 0.42);
    }

    body.landing-dark #landingPage .btn.light {
      background: rgba(15, 23, 42, 0.82);
      color: var(--landing-text);
      border: 1px solid rgba(139, 92, 246, 0.28);
      box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
    }

    body.landing-dark #landingPage .btn.light:hover {
      opacity: 0.96;
      transform: translateY(-1px);
    }

    body.landing-dark #landingPage .transcript-sample {
      background: linear-gradient(180deg, rgba(6, 11, 23, 0.96), rgba(14, 24, 45, 0.94));
      border-color: rgba(139, 92, 246, 0.24);
    }

    body.landing-dark #landingPage .timestamp,
    body.landing-dark #landingPage .plan-meta,
    body.landing-dark #landingPage .preview-speaker,
    body.landing-dark #landingPage .preview-status::before {
      color: var(--landing-cyan);
    }

    body.landing-dark #landingPage .step-number {
      background: linear-gradient(135deg, var(--landing-violet), var(--landing-cyan));
      color: #fff;
      box-shadow: 0 10px 24px rgba(109, 40, 217, 0.24);
    }

    body.landing-dark #landingPage .legal-links a {
      color: #ddd6fe;
    }

    body.landing-dark #landingPage .pricing-card {
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    body.landing-dark #landingPage .pricing-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 24px 56px rgba(2, 6, 23, 0.38);
    }

    body.landing-dark #landingPage .pricing-card.featured {
      border: 1px solid var(--panel-border-strong);
      box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 24px 54px rgba(109, 40, 217, 0.24);
      background:
        linear-gradient(180deg, rgba(29, 18, 59, 0.95), rgba(20, 30, 56, 0.88)),
        radial-gradient(circle at top, rgba(34, 211, 238, 0.16), transparent 52%);
    }

    body.landing-dark #landingPage .pricing-card.featured:hover {
      transform: translateY(-6px);
      box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.24),
        0 28px 60px rgba(109, 40, 217, 0.3);
    }

    body.landing-dark #landingPage .hero-trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    body.landing-dark #landingPage .trust-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.16);
      color: var(--landing-text-soft);
      font-size: 14px;
      font-weight: 700;
    }

    body.landing-dark #landingPage .trust-pill::before {
      content: "✓";
      color: #67e8f9;
      font-weight: 900;
    }

    body.landing-dark #landingPage .hero-result-preview {
      margin-top: 30px;
      padding: 22px;
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(8, 15, 30, 0.94), rgba(16, 27, 48, 0.88)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 35%);
      border: 1px solid rgba(148, 163, 184, 0.18);
      box-shadow: 0 20px 52px rgba(2, 6, 23, 0.34);
    }

    body.landing-dark #landingPage .preview-topline,
    body.landing-dark #landingPage .preview-source,
    body.landing-dark #landingPage .preview-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    body.landing-dark #landingPage .preview-topline {
      margin-bottom: 12px;
    }

    body.landing-dark #landingPage .preview-label,
    body.landing-dark #landingPage .preview-file,
    body.landing-dark #landingPage .preview-source-label,
    body.landing-dark #landingPage .preview-status {
      font-size: 13px;
      font-weight: 800;
    }

    body.landing-dark #landingPage .preview-label {
      color: #ddd6fe;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    body.landing-dark #landingPage .preview-file,
    body.landing-dark #landingPage .preview-source-label {
      color: var(--landing-text-dim);
      overflow-wrap: anywhere;
    }

    body.landing-dark #landingPage .preview-source {
      padding: 10px 12px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.14);
      margin-bottom: 14px;
    }

    body.landing-dark #landingPage .preview-source-icon {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.18));
      color: #f8fbff;
      font-size: 14px;
      font-weight: 900;
    }

    body.landing-dark #landingPage .preview-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #d1fae5;
    }

    body.landing-dark #landingPage .preview-status::before {
      content: "●";
      font-size: 11px;
    }

    body.landing-dark #landingPage .preview-status-complete {
      color: #a7f3d0;
    }

    body.landing-dark #landingPage .preview-status-complete::before {
      content: none;
    }

    body.landing-dark #landingPage .preview-transcript {
      display: grid;
      gap: 12px;
      padding: 14px;
      border-radius: 18px;
      background: rgba(6, 11, 23, 0.62);
      border: 1px solid rgba(148, 163, 184, 0.12);
    }

    body.landing-dark #landingPage .preview-line {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 14px;
      align-items: start;
    }

    body.landing-dark #landingPage .preview-speaker {
      font-size: 14px;
      font-weight: 900;
    }

    body.landing-dark #landingPage .preview-text {
      color: var(--landing-text);
      line-height: 1.6;
    }

    body.landing-dark #landingPage .preview-footer {
      margin-top: 16px;
    }

    body.landing-dark #landingPage .preview-exports {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    body.landing-dark #landingPage .preview-exports span {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.88);
      border: 1px solid rgba(139, 92, 246, 0.22);
      color: var(--landing-text-soft);
      font-size: 13px;
      font-weight: 800;
    }

    body.landing-dark #appPage .workspace,
    body.landing-dark #appPage .panel,
    body.landing-dark #appPage .auth-gate,
    body.landing-dark #appPage .oauth-complete,
    body.landing-dark #appPage .payment-placeholder,
    body.landing-dark #appPage .download-panel,
    body.landing-dark #seo-directory .card {
      background: var(--panel-bg);
      border: 1px solid var(--panel-border);
      border-radius: 24px;
      box-shadow: 0 22px 60px rgba(2, 6, 23, 0.34);
      backdrop-filter: blur(16px);
    }

    body.landing-dark #appPage .workspace {
      background:
        linear-gradient(180deg, rgba(10, 17, 31, 0.94), rgba(15, 23, 42, 0.88)),
        radial-gradient(circle at top, rgba(139, 92, 246, 0.12), transparent 45%);
      border-color: rgba(148, 163, 184, 0.16);
    }

    body.landing-dark #appPage .panel {
      background: transparent;
      box-shadow: none;
      border: 0;
      backdrop-filter: none;
    }

    body.landing-dark #appPage .steps,
    body.landing-dark #appPage .step,
    body.landing-dark #appPage .tool-intro,
    body.landing-dark #appPage .setting-label,
    body.landing-dark #appPage .file-meta,
    body.landing-dark #appPage .processing-note,
    body.landing-dark #appPage .progress-help,
    body.landing-dark #appPage .download-empty,
    body.landing-dark #appPage .download-row .hint,
    body.landing-dark #appPage .auth-gate-card p,
    body.landing-dark #appPage .oauth-complete-card p,
    body.landing-dark #appPage .payment-placeholder-card p {
      color: var(--landing-text-soft);
    }

    body.landing-dark #appPage .flow-step,
    body.landing-dark #appPage .segmented,
    body.landing-dark #appPage .file-card,
    body.landing-dark #appPage .processing-status,
    body.landing-dark #appPage .result-box,
    body.landing-dark #appPage .download-row,
    body.landing-dark #appPage .paywall,
    body.landing-dark #appPage .app-trust span,
    body.landing-dark #appPage .partial-paywall-card,
    body.landing-dark #appPage .tariff-card {
      background: rgba(15, 23, 42, 0.76);
      border-color: rgba(148, 163, 184, 0.16);
    }

    body.landing-dark #appPage h2,
    body.landing-dark #appPage h3,
    body.landing-dark #appPage h4,
    body.landing-dark #appPage .status,
    body.landing-dark #appPage .file-name,
    body.landing-dark #appPage .download-row b,
    body.landing-dark #appPage .plan-price,
    body.landing-dark #appPage .payment-placeholder-card h3,
    body.landing-dark #appPage .auth-gate-card h3,
    body.landing-dark #appPage .oauth-complete-card h3,
    body.landing-dark #seo-directory h2,
    body.landing-dark #seo-directory .card h3 {
      color: #f8fbff;
    }

    body.landing-dark #appPage .link-button,
    body.landing-dark #appPage .plan-rate,
    body.landing-dark #appPage .plan-hours,
    body.landing-dark #appPage .processing-timer,
    body.landing-dark #appPage .app-trust span,
    body.landing-dark #seo-directory .card p {
      color: var(--landing-text-soft);
    }

    body.landing-dark #appPage .dot,
    body.landing-dark #appPage .segmented input:checked + span,
    body.landing-dark #appPage .progress-bar {
      background: linear-gradient(135deg, var(--landing-violet), var(--landing-cyan));
      color: #fff;
      box-shadow: 0 10px 24px rgba(109, 40, 217, 0.24);
    }

    body.landing-dark #appPage .flow-step.active {
      border-color: var(--landing-violet);
      color: #ddd6fe;
      background: rgba(91, 33, 182, 0.18);
    }

    body.landing-dark #appPage .flow-step.done {
      color: #99f6e4;
      background: rgba(20, 184, 166, 0.16);
      border-color: #14b8a6;
    }

    body.landing-dark #appPage .drop-zone {
      border-radius: 20px;
      border-color: rgba(110, 231, 255, 0.28);
      background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58)),
        radial-gradient(circle at top, rgba(139, 92, 246, 0.14), transparent 55%);
    }

    body.landing-dark #appPage .drop-zone.dragover,
    body.landing-dark #appPage .drop-zone.uploading {
      background: rgba(17, 24, 39, 0.96);
      border-color: var(--landing-cyan);
      box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
    }

    body.landing-dark #appPage .upload-icon {
      background: linear-gradient(135deg, var(--landing-violet), var(--landing-cyan));
      color: #fff;
      box-shadow: 0 10px 24px rgba(109, 40, 217, 0.24);
    }

    body.landing-dark #appPage .url-input,
    body.landing-dark #appPage .auth-input {
      background: rgba(8, 15, 30, 0.9);
      color: var(--landing-text);
      border-color: rgba(148, 163, 184, 0.22);
    }

    body.landing-dark #appPage .url-input:focus,
    body.landing-dark #appPage .auth-input:focus {
      border-color: var(--landing-violet);
      box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
    }

    body.landing-dark #appPage .auth-tab,
    body.landing-dark #appPage .password-toggle {
      background: rgba(15, 23, 42, 0.82);
      color: var(--landing-text-soft);
      border-color: rgba(148, 163, 184, 0.16);
    }

    body.landing-dark #appPage .auth-tab.active {
      background: linear-gradient(135deg, var(--landing-violet-strong), var(--landing-cyan));
      border-color: transparent;
      color: #fff;
    }

    body.landing-dark #appPage .processing-stages li.active,
    body.landing-dark #appPage .partial-paywall-card.featured {
      border-color: var(--panel-border-strong);
      background:
        linear-gradient(180deg, rgba(29, 18, 59, 0.92), rgba(20, 30, 56, 0.84)),
        radial-gradient(circle at top, rgba(34, 211, 238, 0.14), transparent 50%);
      color: #eef2ff;
      box-shadow: 0 20px 46px rgba(109, 40, 217, 0.22);
    }

    body.landing-dark #appPage .partial-paywall-card .btn,
    body.landing-dark #appPage .oauth-list .btn,
    body.landing-dark #appPage .upload-main-btn,
    body.landing-dark #appPage .paywall .btn {
      background: linear-gradient(135deg, var(--landing-violet-strong), var(--landing-cyan));
      box-shadow: 0 18px 40px rgba(109, 40, 217, 0.34);
    }

    body.landing-dark #appPage .partial-paywall-card .btn:hover,
    body.landing-dark #appPage .oauth-list .btn:hover,
    body.landing-dark #appPage .upload-main-btn:hover,
    body.landing-dark #appPage .paywall .btn:hover {
      opacity: 0.96;
      transform: translateY(-1px);
      box-shadow: 0 22px 44px rgba(109, 40, 217, 0.42);
    }

    body.landing-dark #appPage .btn.light,
    body.landing-dark #appPage .small-btn,
    body.landing-dark #appPage .result-actions .btn.secondary {
      background: rgba(15, 23, 42, 0.82);
      color: var(--landing-text);
      border: 1px solid rgba(139, 92, 246, 0.28);
      box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
    }

    body.landing-dark #appPage .progress-wrap {
      background: rgba(148, 163, 184, 0.16);
    }

    body.landing-dark #appPage .progress-percent {
      color: #67e8f9;
      text-shadow: 0 0 20px rgba(34, 211, 238, 0.16);
    }

    body.landing-dark #appPage .file-state,
    body.landing-dark #appPage .preview-status-complete,
    body.landing-dark #appPage .processing-status h3 + ol + p {
      color: #5eead4;
    }

    body.landing-dark #appPage .processing-stages li {
      background: rgba(15, 23, 42, 0.76);
      color: #bfcae8;
      border-color: rgba(148, 163, 184, 0.16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    body.landing-dark #appPage .paywall {
      background:
        linear-gradient(180deg, rgba(36, 25, 57, 0.9), rgba(20, 30, 56, 0.84));
      border-color: rgba(139, 92, 246, 0.26);
    }

    body.landing-dark #appPage .partial-paywall-copy {
      color: #eef2ff;
    }

    body.landing-dark #appPage .partial-paywall-progress {
      color: #f8fbff;
    }

    body.landing-dark #seo-directory {
      color: var(--landing-text);
    }

    body.landing-dark #seo-directory .cards {
      align-items: stretch;
    }

    body.landing-dark #seo-directory .card {
      background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.74));
    }

    body.landing-dark #appPage .processing-stages li.active {
      border-color: rgba(139, 92, 246, 0.4);
      color: #eef2ff;
      background:
        linear-gradient(135deg, rgba(109, 40, 217, 0.32), rgba(34, 211, 238, 0.18)),
        rgba(15, 23, 42, 0.86);
      box-shadow: 0 14px 30px rgba(109, 40, 217, 0.18);
    }

    body.landing-dark #appPage .processing-stages li.done {
      border-color: rgba(45, 212, 191, 0.24);
      color: #d1fae5;
      background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(34, 211, 238, 0.12)),
        rgba(15, 23, 42, 0.82);
    }

    body.landing-dark #appPage .result-box {
      background: rgba(6, 11, 23, 0.72);
      color: #eef2ff;
      border-color: rgba(148, 163, 184, 0.16);
      scrollbar-color: rgba(148, 163, 184, 0.55) rgba(15, 23, 42, 0.75);
    }

    body.landing-dark #appPage .result-box::-webkit-scrollbar {
      width: 10px;
    }

    body.landing-dark #appPage .result-box::-webkit-scrollbar-track {
      background: rgba(15, 23, 42, 0.75);
      border-radius: 999px;
    }

    body.landing-dark #appPage .result-box::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.55);
      border-radius: 999px;
      border: 2px solid rgba(15, 23, 42, 0.75);
    }

    body.landing-dark > footer#contacts {
      background: rgba(9, 17, 31, 0.76);
      border-top-color: rgba(148, 163, 184, 0.14);
      color: var(--landing-text-soft);
    }

    body.landing-dark > footer#contacts .footer-brand,
    body.landing-dark > footer#contacts .footer-group-title {
      color: #f8fbff;
    }

    body.landing-dark > footer#contacts .footer-text,
    body.landing-dark > footer#contacts .footer-company-line,
    body.landing-dark > footer#contacts a {
      color: var(--landing-text-soft);
    }

    body.landing-dark > footer#contacts a:hover {
      color: #ddd6fe;
    }

    @media (max-width: 880px) {
      .topbar {
        flex-wrap: wrap;
      }
      .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
      }
      .hero { padding: 30px 0 26px; }
      .hero-grid,
      .example-grid,
      .pricing-preview {
        grid-template-columns: 1fr;
      }
      .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .hero-copy { text-align: left; }
      h1 {
        font-size: 34px;
        max-width: 100%;
        overflow-wrap: break-word;
      }
      .subtitle,
      .hero-point,
      .drop-zone p,
      .card p,
      .section-copy {
        overflow-wrap: anywhere;
      }
      .subtitle { font-size: 18px; }
      .hero-points,
      .cards,
      .cards.use-cases,
      .steps-grid,
      .settings-grid,
      .app-grid,
      .pricing-grid,
      .url-row,
      .tariff-grid,
      .partial-paywall-tariffs {
        grid-template-columns: 1fr;
      }
      .partial-preview-result .preview-paywall-layout {
        grid-template-columns: 1fr;
      }
      .cabinet-top,
      .cabinet-job {
        align-items: stretch;
        grid-template-columns: 1fr;
      }
      .cabinet-top { display: grid; }
      .cabinet-balance { grid-template-columns: 1fr; }
      .upload-card { padding: 18px; }
      .drop-zone { padding: 28px 18px; }
      .url-row .btn,
      .upload-main-btn,
      .result-actions .btn {
        width: 100%;
      }
      .workspace,
      .panel {
        padding: 18px;
      }
      .file-card.visible {
        grid-template-columns: 1fr;
      }
      .start-row.visible {
        display: grid;
        grid-template-columns: 1fr;
      }
      .download-row {
        grid-template-columns: 1fr;
      }
      .small-btn {
        width: 100%;
        padding: 12px 13px;
      }
      .section { padding: 42px 0; }
      .section h2 { font-size: 29px; }
      .topbar { margin: 12px; }
      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .auth-actions .btn {
        padding: 12px 14px;
        max-width: 104px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .auth-dialog { padding: 26px 20px; }
      body.landing-dark #landingPage .preview-line {
        grid-template-columns: 1fr;
        gap: 6px;
      }
      body.landing-dark #landingPage .hero-grid {
        gap: 28px;
      }
    }

    @media (max-width: 900px) {
      .partial-preview-result .preview-paywall-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 520px) {
      .container {
        width: min(calc(100vw - 32px), 358px);
        max-width: min(calc(100vw - 32px), 358px);
        margin: 0 16px;
        padding: 0;
      }
      .topbar {
        width: min(calc(100vw - 24px), 366px);
        max-width: min(calc(100vw - 24px), 366px);
        padding: 12px 14px;
      }
      .auth-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .brand { font-size: 18px; }
      h1 { font-size: 27px; }
      .subtitle { font-size: 17px; }
      .badge { font-size: 15px; }
      .hero-grid,
      .hero-copy,
      .upload-card,
      .workspace,
      .panel,
      .drop-zone,
      .example-grid,
      .transcript-sample {
        width: 100%;
        max-width: 100%;
      }
      body.landing-dark #landingPage .hero-result-preview {
        margin-top: 22px;
        padding: 18px;
      }
      body.landing-dark #landingPage .hero-trust-row {
        gap: 8px;
      }
      body.landing-dark #landingPage .trust-pill,
      body.landing-dark #landingPage .preview-exports span {
        width: 100%;
        justify-content: center;
      }
      body.landing-dark #appPage .workspace,
      body.landing-dark #appPage .auth-gate,
      body.landing-dark #appPage .oauth-complete,
      body.landing-dark #appPage .payment-placeholder {
        border-radius: 20px;
      }
      body.landing-dark .site-notice {
        bottom: 10px;
        padding: 14px;
      }
      .url-input,
      .btn,
      .segmented span {
        min-width: 0;
      }
      .paywall-tariffs {
        grid-template-columns: 1fr;
      }
      .cabinet-page { padding-top: 22px; }
      .cabinet-top,
      .cabinet-balance,
      .cabinet-section,
      .cabinet-detail,
      .cabinet-auth { padding: 18px; }
      .cabinet-top-actions .btn,
      .cabinet-actions .btn,
      .cabinet-downloads .btn { width: 100%; }
      .export-menu { width: min(330px, calc(100vw - 24px)); }
      .segmented {
        overflow-x: auto;
      }
      .transcript-sample,
      .security-box,
      .pricing-preview {
        padding: 22px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }
