:root {
  color-scheme: dark;
  --bg-top: #2b0bbd;
  --bg-bottom: #0a0f1d;
  --surface: rgba(12, 18, 32, 0.78);
  --surface-strong: rgba(12, 18, 32, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(170, 220, 255, 0.16);
  --line-strong: rgba(170, 220, 255, 0.28);
  --text: #f8fbff;
  --muted: #b6c5e0;
  --accent: #b7ea53;
  --accent-2: #5cf0ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --display-font: "Avenir Next", "Trebuchet MS", sans-serif;
  --ui-font: "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body.modal-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui-font);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26)),
    linear-gradient(180deg, var(--bg-top) 0%, #2111a4 28%, #121834 62%, var(--bg-bottom) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 34px;
  pointer-events: none;
  opacity: 0.38;
  background:
    radial-gradient(circle at 50% 12px, rgba(88, 223, 255, 1) 0 6px, transparent 7px),
    linear-gradient(135deg, transparent 0 38%, rgba(88, 223, 255, 0.95) 38% 48%, transparent 48% 100%),
    linear-gradient(315deg, transparent 0 38%, rgba(88, 223, 255, 0.95) 38% 48%, transparent 48% 100%);
  background-size: 100% 88px;
  background-repeat: repeat-y;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
  transform: scaleX(-1);
}

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

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--display-font);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 6.9rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.site-header,
.hero,
.content-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  background: rgba(43, 11, 189, 0.74);
  backdrop-filter: blur(20px);
  border-bottom: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: min(500px, 38vw);
  max-height: 178px;
  height: auto;
  object-fit: contain;
}

.nav-links a[href$="Chordasy_User_Manual_v1.pdf"] {
  border-color: rgba(88, 223, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  align-items: center;
  margin-right: clamp(28px, 5vw, 76px);
  transform: translateY(18px);
}

.transpose-nav-callout {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 6;
}

.nav-links a,
.nav-link-button,
.lang-button {
  border-radius: 999px;
  border: 1px solid transparent;
  color: #ecf4ff;
  font: inherit;
  font-weight: 600;
}

.nav-links a,
.nav-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  padding: 8px 12px;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

.nav-links a:hover,
.nav-link-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link-button-accent {
  color: #071019;
  border-color: transparent;
  background: linear-gradient(180deg, #d8ff70, #b7ea53);
  box-shadow: 0 14px 34px rgba(183, 234, 83, 0.2);
}

.nav-links a.nav-link-button-accent {
  color: #071019;
  background: linear-gradient(180deg, #d8ff70, #b7ea53);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(183, 234, 83, 0.2);
}

.nav-link-button-accent:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #defe84, #bce75d);
}

.nav-links a.nav-link-button-accent:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #defe84, #bce75d);
}

.transpose-nav-callout-image {
  position: absolute;
  top: calc(50% - 9px);
  left: calc(50% - 12px);
  width: 210px;
  max-width: none;
  pointer-events: none;
  z-index: 8;
}

.lang-switch {
  display: inline-flex;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-right: clamp(18px, 3vw, 44px);
  transform: translateY(18px);
}

.lang-button {
  min-width: 38px;
  padding: 3px 7px;
  font-size: 0.78rem;
  background: transparent;
  cursor: pointer;
}

.lang-button.active {
  color: #071019;
  background: linear-gradient(180deg, #f9fdff, #cce6ff);
}

main {
  overflow: hidden;
  padding-bottom: 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 28px 0 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title .accent {
  color: var(--accent-2);
}

.lead {
  max-width: 640px;
  color: #eef5ff;
  font-size: 1.15rem;
}

.hero-actions,
.support-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .button {
  min-width: 200px;
}

.support-actions .button,
.download-actions-stacked .button {
  min-width: 320px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: #071019;
  background: linear-gradient(180deg, #d8ff70, #b7ea53);
  box-shadow: 0 18px 42px rgba(183, 234, 83, 0.22);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary:hover,
.button.ghost:hover,
.nav-links a:hover,
.lang-button:hover {
  transform: translateY(-1px);
}

.video-trigger {
  cursor: pointer;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.provider-strip {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  margin-top: 14px;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.provider-strip-label {
  color: #eef5ff;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.provider-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.provider-logo {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

.provider-logo-dropbox {
  height: 31px;
}

.provider-logo-google-drive {
  height: 32px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: #f3f7ff;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-point-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-inline-provider {
  display: inline-block;
  width: auto;
  height: 28px;
  vertical-align: middle;
  object-fit: contain;
}

.hero-inline-provider-dropbox {
  height: 25px;
}

.hero-inline-provider-google-drive {
  height: 26px;
}

.hero-stage {
  position: relative;
  min-height: 630px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: -124px;
  padding-top: 0;
}

.poster-stack {
  position: relative;
  width: min(700px, 100%);
  height: min(640px, 64vh);
  margin-left: auto;
  margin-top: -58px;
}

.poster {
  position: absolute;
  display: block;
  width: clamp(220px, 28vw, 300px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(92, 240, 255, 0.16);
  box-shadow: var(--shadow);
}

.poster-main {
  top: 2%;
  left: 24%;
  z-index: 3;
  transform: rotate(-2deg);
}

.poster-left {
  left: 0;
  bottom: 5%;
  z-index: 2;
  transform: rotate(-8deg);
}

.poster-right {
  right: 0;
  top: 4%;
  z-index: 1;
  transform: rotate(7deg);
}

.hero-stage-trigger {
  margin-top: 54px;
}

.story-card,
.workflow-card,
.panel-block,
.download-card,
.policy-grid article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.policy-grid article {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.signal-label,
.story-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-section {
  padding: 74px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
}

.story-poster {
  margin: 0;
}

.story-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
}

.story-copy p:last-child,
.workflow-card p:last-child,
.panel-block p:last-child {
  margin-bottom: 0;
}

.story-action {
  min-width: 180px;
}

.workflow-grid,
.feature-grid,
.faq-grid,
.policy-grid,
.how-to-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow-card,
.panel-block,
.feature-card,
.faq-grid article,
.download-card,
.zh-panel,
.how-to-card {
  padding: 24px;
  border-radius: 28px;
}

.workflow-shot {
  margin: 8px 0 18px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.step-number {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 2.4rem;
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-block {
  background:
    linear-gradient(180deg, rgba(8, 13, 24, 0.86), rgba(11, 18, 33, 0.9)),
    linear-gradient(135deg, rgba(88, 223, 255, 0.08), transparent 46%);
}

.steps {
  padding-left: 22px;
}

.steps li {
  margin-bottom: 10px;
}

.faq-mini p strong {
  color: var(--text);
}

.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(9, 15, 29, 0.96), rgba(17, 28, 53, 0.96)),
    radial-gradient(circle at right top, rgba(183, 234, 83, 0.12), transparent 35%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.support-copy {
  max-width: 720px;
}

.download-hero {
  display: grid;
  place-items: center;
}

.standalone-policy {
  min-height: calc(100vh - 220px);
}

.download-card {
  display: grid;
  gap: 24px;
  justify-items: center;
  width: min(920px, 100%);
  text-align: center;
}

.download-actions-stacked {
  flex-direction: column;
}

.download-pitch {
  max-width: 720px;
  margin: 0;
  white-space: pre-line;
}

.download-note {
  margin: 0;
}

.coffee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coffee-button img {
  display: block;
  height: 56px;
  max-width: min(100%, 280px);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.faq-grid article,
.zh-panel,
.how-to-card,
.download-card {
  border: 1px solid var(--line);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-weight: 900;
}

.how-to-card ol {
  padding-left: 20px;
}

.how-to-card li {
  margin-bottom: 10px;
}

.privacy-section {
  border-radius: 32px;
}

.faq-grid,
.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px 48px;
  color: #dce7fb;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-popover {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 7, 16, 0.7);
  backdrop-filter: blur(14px);
}

.video-card {
  position: relative;
  overflow: hidden;
  width: min(420px, 86vw);
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background: #05080c;
}

.video-card::before {
  content: "";
  display: block;
  padding-top: 177.78%;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.transpose-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 28px;
}

.transpose-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(18px);
}

.transpose-modal-card {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: min(92vh, 980px);
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.96), rgba(12, 18, 33, 0.98));
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.42);
}

.transpose-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.transpose-modal-title {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.transpose-modal-copy {
  max-width: 760px;
  margin-bottom: 0;
}

.transpose-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.transpose-modal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.transpose-modal-panel {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.transpose-modal-panel-controls {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
}

.transpose-upload-card,
.transpose-demo-bar {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transpose-upload-label,
.transpose-demo-bar-label,
.transpose-preview-empty-title {
  color: var(--text);
  font-weight: 700;
}

.transpose-upload-button,
.transpose-download-button {
  width: 100%;
}

.transpose-upload-input {
  display: none;
}

.transpose-upload-hint,
.transpose-upload-file,
.transpose-demo-status {
  font-size: 0.95rem;
}

.transpose-upload-hint,
.transpose-demo-status,
.transpose-preview-empty-copy {
  margin-bottom: 0;
}

.transpose-upload-file,
.transpose-demo-status,
.transpose-demo-value {
  color: #eef5ff;
}

.transpose-loading {
  display: grid;
  gap: 8px;
}

.transpose-loading-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transpose-loading-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(88, 223, 255, 0.2), var(--accent-2), var(--accent));
  animation: transpose-loading-slide 1.15s ease-in-out infinite;
}

@keyframes transpose-loading-slide {
  0% {
    transform: translateX(-115%);
  }

  100% {
    transform: translateX(330%);
  }
}

.transpose-demo-bar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.transpose-step-button,
.transpose-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.transpose-step-button:disabled,
.transpose-reset-button:disabled,
.transpose-download-button.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.transpose-demo-value {
  min-width: 72px;
  text-align: center;
  font-size: 1.35rem;
}

.transpose-demo-actions {
  display: grid;
}

.transpose-modal-panel-preview {
  padding: 16px;
}

.transpose-preview-frame {
  position: relative;
  height: min(68vh, 720px);
  overflow: hidden;
  border-radius: 24px;
  background: rgba(6, 10, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transpose-preview-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 7, 16, 0.58);
  backdrop-filter: blur(4px);
}

.transpose-preview-loading-card {
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.transpose-preview-loading-label {
  margin: 0;
  color: #eef5ff;
  font-weight: 700;
  text-align: center;
}

.transpose-loading-track-large {
  height: 12px;
}

.transpose-preview-pages {
  height: 100%;
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.transpose-preview-pages.is-empty {
  place-items: center;
}

.transpose-preview-empty {
  max-width: 360px;
  text-align: center;
}

.transpose-preview-empty-title {
  margin-bottom: 10px;
}

.transpose-preview-page {
  margin: 0;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transpose-preview-page img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .story-grid,
  .workflow-grid,
  .feature-grid,
  .faq-grid,
  .policy-grid,
  .how-to-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-stage {
    min-height: 560px;
    margin-top: 0;
    padding-top: 18px;
  }

  .support-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  body::before,
  body::after {
    width: 22px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-controls {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 8px;
    margin-right: 0;
    transform: none;
  }

  .brand img {
    width: min(280px, 58vw);
    max-height: 116px;
  }

  .transpose-nav-callout-image {
    display: none;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .poster-stack {
    height: 520px;
  }

  .poster {
    width: clamp(180px, 36vw, 250px);
  }

  .transpose-modal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(1.95rem, 8vw, 3rem);
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: min(320px, 76vw);
    max-height: 126px;
  }

  .header-controls {
    display: none;
  }

  .hero {
    gap: 26px;
  }

  .lead {
    font-size: 1.03rem;
  }

  .hero-points {
    gap: 8px;
  }

  .provider-strip {
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0 0;
  }

  .provider-logo {
    height: 28px;
  }

  .hero-stage {
    min-height: 360px;
  }

  .poster-stack {
    width: min(100%, 360px);
    height: 360px;
    margin: 10px auto 0;
  }

  .poster-left,
  .poster-right {
    display: none;
  }

  .poster-main {
    top: 0;
    left: 50%;
    width: min(72vw, 280px);
    transform: translateX(-50%) rotate(-3deg);
  }

  .story-grid {
    gap: 16px;
  }

  .transpose-modal {
    padding: 16px;
  }

  .transpose-modal-card {
    max-height: 94vh;
    padding: 18px;
  }

  .transpose-modal-header {
    align-items: flex-start;
  }

  .transpose-modal-close {
    width: 42px;
    height: 42px;
  }

  .transpose-preview-frame {
    height: min(54vh, 560px);
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .content-section {
    width: min(100%, calc(100% - 24px));
  }

  .site-header {
    padding: 12px 0;
  }

  .brand img {
    width: min(300px, 82vw);
    max-height: 118px;
  }

  .header-controls {
    width: 100%;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    min-width: 140px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .lang-button {
    min-width: 52px;
    padding: 8px 10px;
  }

  .hero {
    gap: 20px;
    padding-bottom: 8px;
  }

  .hero-stage {
    min-height: 310px;
  }

  .poster-stack {
    height: 310px;
  }

  .hero-stage-trigger {
    margin-top: 34px;
  }

  .content-section {
    padding: 54px 0;
  }

  .support-section,
  .workflow-card,
  .panel-block,
  .story-card,
  .download-card,
  .policy-grid article {
    padding: 18px;
    border-radius: 24px;
  }

  .button,
  .download-actions,
  .support-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-points li {
    font-size: 0.96rem;
  }

  .hero-inline-provider {
    height: 24px;
  }

  .hero-inline-provider-dropbox {
    height: 22px;
  }

  .hero-inline-provider-google-drive {
    height: 23px;
  }

  .provider-strip {
    align-items: flex-start;
    gap: 8px;
  }

  .provider-strip-label {
    width: 100%;
    white-space: normal;
  }

  .provider-logo {
    height: 26px;
  }

  .video-popover {
    padding: 14px;
  }

  .story-action {
    min-width: 100%;
  }

  .transpose-modal-card {
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .transpose-modal-title {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .transpose-modal-copy,
  .transpose-upload-hint,
  .transpose-upload-file,
  .transpose-demo-status,
  .transpose-preview-empty-copy {
    font-size: 0.92rem;
  }

  .transpose-modal-panel-controls,
  .transpose-modal-panel-preview {
    padding: 14px;
  }

  .transpose-upload-card,
  .transpose-demo-bar,
  .transpose-preview-page {
    padding: 14px;
    border-radius: 20px;
  }

  .transpose-demo-bar-controls {
    gap: 8px;
  }

  .transpose-step-button,
  .transpose-reset-button {
    min-height: 44px;
    padding: 0 14px;
  }

  .transpose-demo-value {
    min-width: 64px;
    font-size: 1.15rem;
  }

  .transpose-preview-frame {
    height: 48vh;
  }
}
