:root {
  color-scheme: dark;
  --bg: #090c0f;
  --panel: #11181d;
  --panel-strong: #151f25;
  --text: #eef5f2;
  --muted: #9aaba7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #35d4c0;
  --accent-dark: #167d75;
  --green: #94d46f;
  --blue: #66a6ff;
  --amber: #d8b65d;
  --red: #ff6f6f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(53, 212, 192, 0.16), transparent 28%),
    linear-gradient(140deg, #090c0f 0%, #0c1013 48%, #11160f 100%);
  color: var(--text);
  font-family:
    "HarmonyOS Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 15, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand.compact img {
  width: 28px;
  height: 28px;
}

.brand-wordmark {
  display: inline-block;
  height: 24px;
  aspect-ratio: 1600 / 314;
  background: transparent url("./assets/wordmark-logo.png") no-repeat center / contain;
  flex: 0 0 auto;
}

.brand.compact .brand-wordmark {
  height: 20px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button {
  min-width: 140px;
  padding: 0 20px;
}

.button.primary {
  border: 1px solid rgba(53, 212, 192, 0.75);
  background: var(--accent);
  color: #031412;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.button.is-coming-soon,
.button.is-coming-soon:hover {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.price-card-note {
  margin: auto 0 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.price-card-note + .button {
  margin-top: 0;
}

.hero,
.section,
.split-section,
.download-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(26px, 4vw, 40px);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(58px, 10vw, 116px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  max-width: 20ch;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-title .accent-line {
  display: block;
  margin-top: 6px;
  color: var(--accent);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 0;
  color: #cad8d4;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.24;
}

.hero-tagline {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
}

.hero-copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  line-height: 1.5;
}

.hero-copy p {
  margin-bottom: 0;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-shot {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #0b1014;
  box-shadow: var(--shadow);
}

.product-shot-image {
  display: block;
  width: 100%;
  height: auto;
}

/* basehead-style icon badge */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(53, 212, 192, 0.4);
  background: linear-gradient(150deg, rgba(53, 212, 192, 0.22), rgba(22, 125, 117, 0.14));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

/* centered section heading (basehead-style) */
.section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
  text-align: center;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #0d1215;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.mock-toolbar {
  display: grid;
  grid-template-columns: 110px 1fr 50px 50px 50px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #10171c;
}

.mock-brand {
  font-weight: 900;
}

.mock-search,
.mock-tool {
  min-height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
}

.mock-search {
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.mock-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cfe7e2;
  font-weight: 800;
}

.mock-workspace {
  display: grid;
  grid-template-columns: 150px minmax(320px, 1fr) 170px;
  min-height: 484px;
}

.mock-sidebar,
.mock-detail {
  padding: 14px;
  background: #0d1418;
}

.mock-sidebar {
  border-right: 1px solid var(--line);
}

.mock-sidebar button {
  display: inline-flex;
  margin: 0 6px 7px 0;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
}

.mock-sidebar button.active {
  background: var(--accent);
  color: #051412;
}

.mock-sidebar ul {
  display: grid;
  gap: 9px;
  padding: 12px 0 0;
  margin: 0;
  list-style: none;
}

.mock-sidebar li {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
}

.mock-sidebar li.active {
  background: rgba(53, 212, 192, 0.14);
  color: var(--text);
}

.mock-table {
  padding: 14px;
}

.mock-row {
  display: grid;
  grid-template-columns: 44px 1.5fr 0.9fr 0.7fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d8e5e2;
  font-size: 12px;
}

.mock-row.header {
  min-height: 30px;
  background: transparent;
  color: #7f918d;
}

.mock-row.selected {
  outline: 1px solid rgba(53, 212, 192, 0.6);
  background: rgba(53, 212, 192, 0.1);
}

.tag {
  width: 13px;
  height: 13px;
  border-radius: 4px;
}

.tag.green {
  background: var(--green);
}

.tag.blue {
  background: var(--blue);
}

.tag.amber {
  background: var(--amber);
}

.waveform {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: center;
  gap: 5px;
  height: 152px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #10181d;
}

.waveform i {
  display: block;
  min-height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.mock-detail {
  border-left: 1px solid var(--line);
}

.mock-detail img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.mock-detail dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.mock-detail div {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mock-detail dt {
  color: var(--muted);
  font-size: 11px;
}

.mock-detail dd {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.platform-section,
.capabilities-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.compact-heading {
  max-width: 680px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-grid article,
.capability-list article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.platform-grid article {
  min-height: 230px;
  padding: 24px;
}

.platform-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.platform-grid p,
.capability-list span {
  color: var(--muted);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px;
}

.capability-list strong,
.capability-list span {
  display: block;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 78px;
  border-top: 1px solid var(--line);
}

.brand-story-copy {
  display: grid;
  gap: 14px;
  color: #c9d7d3;
  font-size: clamp(18px, 2vw, 22px);
}

.brand-story-copy p {
  margin: 0;
}

.profile-section {
  padding-top: 34px;
}

.yzy-page {
  padding-bottom: 86px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch;
  margin-top: 28px;
  scroll-margin-top: 96px;
}

.profile-copy,
.profile-portrait,
.resume-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: clamp(26px, 5vw, 46px);
}

.profile-copy h2 {
  margin-bottom: 8px;
}

.profile-copy h1 {
  margin-bottom: 8px;
}

.profile-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.profile-role {
  margin-bottom: 14px;
  color: var(--accent) !important;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 18px;
}

.profile-stats span {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 12, 15, 0.46);
  color: var(--muted);
  font-size: 13px;
}

.profile-stats strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  line-height: 1.05;
}

.profile-card-empty .profile-copy,
.profile-placeholder {
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)),
    rgba(9, 12, 15, 0.42);
}

.profile-stats-empty span {
  opacity: 0.42;
}

.profile-placeholder {
  display: grid;
  align-items: end;
}

.profile-image-cover img {
  height: 100%;
  min-height: 340px;
}

.profile-image-cover-zhang img {
  object-position: 62% center;
}

.profile-image-cover-li img {
  object-position: center center;
}

.profile-image-cover-liang img {
  object-position: center 42%;
}

.profile-image-cover-zhao img {
  object-position: center 28%;
}

.profile-image-cover-xu img {
  object-position: center 30%;
}

.profile-image-cover-wang img {
  object-position: center 66%;
}

.profile-image-cover-peng img {
  object-position: center 46%;
}

.profile-image-cover-zhu img {
  object-position: center 28%;
}

.profile-image-cover-qing-yu img {
  object-position: center 42%;
}

.profile-soundury-note {
  max-width: 960px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(53, 212, 192, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(53, 212, 192, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(9, 12, 15, 0.36);
}

.profile-soundury-note h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
}

.profile-soundury-note p:not(.eyebrow) {
  max-width: 900px;
  margin: 0;
  color: #d7e4e0;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.78;
}

.profile-portrait {
  overflow: hidden;
  margin: 0;
  min-height: 340px;
  background: #0d1215;
}

button.profile-portrait {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.profile-portrait:hover,
button.profile-portrait:focus-visible {
  border-color: rgba(53, 212, 192, 0.72);
  box-shadow: 0 0 0 3px rgba(53, 212, 192, 0.12);
  outline: none;
}

.profile-portrait img {
  display: block;
  width: 100%;
  height: calc(100% - 48px);
  min-height: 292px;
  object-fit: cover;
}

.profile-portrait figcaption,
.profile-portrait span {
  display: block;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}

.yzy-details {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.yzy-details[hidden] {
  display: none;
}

.ppt-page {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.ppt-media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ppt-media-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ppt-media-grid.seven {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ppt-media-grid.ten {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.ppt-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1215;
  object-fit: cover;
}

.project-mosaic-page {
  overflow: hidden;
}

.project-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.project-mosaic-item {
  position: relative;
  min-width: 0;
  grid-column: span 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1215;
}

.project-mosaic-item:nth-child(12n + 1),
.project-mosaic-item:nth-child(12n + 8) {
  grid-column: span 4;
  grid-row: span 2;
}

.project-mosaic-item:nth-child(12n + 4),
.project-mosaic-item:nth-child(12n + 11) {
  grid-column: span 3;
}

.project-mosaic-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 164px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-mosaic-item:nth-child(12n + 1) img,
.project-mosaic-item:nth-child(12n + 8) img {
  min-height: 340px;
}

.project-mosaic-item:hover img {
  transform: scale(1.035);
}

.poster-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.poster-strip article {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1215;
}

.poster-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.poster-strip span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(9, 12, 15, 0.92);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.resume-group {
  padding: 22px;
}

.resume-group:first-child {
  grid-row: span 2;
}

.resume-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.resume-group-heading .eyebrow,
.resume-group-heading h3 {
  margin-bottom: 0;
}

.work-list {
  display: grid;
  gap: 8px;
}

.work-list div {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(9, 12, 15, 0.42);
}

.work-list.compact div {
  grid-template-columns: 116px minmax(0, 1fr);
}

.work-list strong {
  color: var(--text);
}

.work-list span {
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.download-section h2 {
  max-width: 760px;
}

.section-heading p,
.workflow-grid p,
.feature-grid p,
.split-section p,
.download-section p,
.faq-item p {
  color: var(--muted);
}

.workflow-grid,
.feature-grid {
  display: grid;
  gap: 14px;
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.workflow-grid article,
.feature-grid article,
.control-panel,
.daw-card,
.download-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-grid article,
.feature-grid article {
  min-height: 190px;
  padding: 22px;
}

.workflow-grid article span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 78px 0;
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.94fr);
}

.control-panel,
.daw-card {
  padding: 24px;
  background: linear-gradient(145deg, rgba(53, 212, 192, 0.1), rgba(216, 182, 93, 0.08));
}

.daw-card {
  display: grid;
  align-content: center;
  min-height: 260px;
}

.daw-card .daw-card-label {
  margin: 0 0 26px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.daw-host-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 120px));
  gap: clamp(18px, 3.5vw, 32px);
  align-items: start;
}

.daw-host {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
}

.daw-host img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.daw-host strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
}

.daw-copy-keep {
  white-space: nowrap;
}

.ai-voice-section,
.tool-showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

/* zig-zag: #translation puts the image on the left (copy on right) */
#translation.tool-showcase-section {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

#translation.tool-showcase-section .tool-showcase-copy {
  order: 2;
}

.ai-voice-copy,
.tool-showcase-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
  text-align: left;
}

.ai-window-preview,
.tool-window-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-window-preview img,
.tool-window-preview img {
  border-radius: 10px;
}

.ai-window-preview img,
.tool-window-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.ai-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
}

.ai-feature-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ai-feature-list strong,
.ai-feature-list span {
  display: block;
}

.ai-feature-list strong {
  margin-bottom: 4px;
  color: var(--text);
}

.ai-feature-list span {
  color: var(--muted);
}

.supertag-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 0;
}

/* basehead-style hairline dividers between feature sections */
.tool-showcase-section,
.ai-voice-section,
.supertag-section,
#capabilities.capabilities-section,
#daw.split-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.supertag-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.supertag-preview,
.supertag-copy-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.supertag-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.supertag-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(9, 12, 15, 0.58);
}

.supertag-row.active {
  outline: 1px solid rgba(53, 212, 192, 0.65);
}

.supertag-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.tag.purple {
  background: #bd8cff;
}

.supertag-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.supertag-copy-grid article {
  min-height: 172px;
  padding: 20px;
}

.supertag-copy-grid p {
  color: var(--muted);
}

.control-panel label {
  display: block;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(9, 12, 15, 0.58);
}

.control-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.control-panel strong {
  font-size: 15px;
}

.slider-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.slider-row i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.slider-row i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.download-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 34px;
}

.download-section > div:first-child {
  max-width: 680px;
}

.download-section.centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 28px;
  margin-top: clamp(48px, 7vw, 88px);
  margin-bottom: clamp(48px, 7vw, 88px);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px);
}

.download-section.centered > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.download-section.centered .download-actions {
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-item span,
.faq-item p {
  display: block;
  padding: 16px 18px;
}

.faq-item span {
  font-weight: 900;
}

.faq-item p {
  display: none;
  margin: 0;
  padding-top: 0;
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.purchase-layout,
.purchase-section,
.download-page-hero,
.download-page-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.download-page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  min-height: 0;
  padding: 64px 0 54px;
}

.price-card,
.purchase-panel,
.aside-panel,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.price-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  box-shadow: var(--shadow);
}

.price-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price span {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.price strong {
  color: var(--text);
  font-size: clamp(58px, 8vw, 82px);
  line-height: 0.95;
}

.price em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.price-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.price-card .button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
}

.price-feature-list {
  display: grid;
  gap: 2px;
  margin: 22px -22px -22px;
  padding: 16px 22px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
  list-style: none;
}

.price-feature {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 28px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.45;
}

.price-feature-mark {
  color: var(--accent);
  font-weight: 900;
  text-align: center;
}

.price-feature.is-unavailable {
  color: var(--muted);
  opacity: 0.48;
}

.price-feature.is-unavailable .price-feature-mark {
  color: var(--muted);
}

.store-beta-card .button {
  width: auto;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 48px 0 78px;
}

.purchase-main {
  display: grid;
  gap: 22px;
}

.purchase-promo {
  padding: 18px 22px;
  border: 1px solid rgba(185, 220, 195, 0.46);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(185, 220, 195, 0.16), rgba(255, 255, 255, 0.045));
}

.purchase-promo strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.purchase-promo p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tier-comparison h2 {
  margin: 2px 0 18px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}

.purchase-panel,
.aside-panel {
  padding: 26px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.included-grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.included-grid p,
.aside-panel p {
  color: var(--muted);
}

.purchase-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  counter-reset: purchase-step;
  list-style: none;
}

.purchase-steps li {
  display: grid;
  grid-template-columns: 34px 130px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  counter-increment: purchase-step;
}

.purchase-steps li::before {
  color: var(--accent);
  font-weight: 900;
  content: counter(purchase-step, decimal-leading-zero);
}

.purchase-steps strong {
  color: var(--text);
}

.purchase-steps span {
  color: var(--muted);
}

.purchase-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.download-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  padding-bottom: 78px;
}

.download-page-main,
.download-page-aside {
  display: grid;
  gap: 22px;
}

.download-panel {
  padding: 26px;
}

.support-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 36px;
}

.support-hero .hero-lede {
  max-width: 760px;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.support-modal[hidden] {
  display: none;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
}

.support-modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #11181d;
  box-shadow: var(--shadow);
}

.support-modal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 36px);
}

.support-modal-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #fff;
}

.support-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.download-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.download-panel-heading h2 {
  margin-bottom: 0;
}

.download-card-list {
  display: grid;
  gap: 12px;
}

.download-card-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.download-card-list strong,
.download-card-list span {
  display: block;
}

.download-card-list strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 20px;
}

.download-card-list span,
.download-steps span {
  color: var(--muted);
}

.download-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  counter-reset: download-step;
  list-style: none;
}

.download-steps li {
  display: grid;
  grid-template-columns: 34px 140px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  counter-increment: download-step;
}

.download-steps li::before {
  color: var(--accent);
  font-weight: 900;
  content: counter(download-step, decimal-leading-zero);
}

.download-steps strong {
  color: var(--text);
}

.download-page-aside {
  position: sticky;
  top: 92px;
}

.download-page {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.download-page .eyebrow {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.download-page-hero-compact {
  padding: 44px 0 30px;
}

.download-page-hero-compact h1 {
  margin-bottom: 8px;
  color: #f5f8f7;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.download-page-hero-compact .hero-lede {
  max-width: 720px;
  color: #aeb9b5;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 1.65;
}

.download-page-layout-simple {
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: 1fr;
}

.download-catalog {
  overflow: hidden;
  padding: 0;
  border-color: #344148;
  background: #10171b;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.download-catalog .download-panel-heading {
  margin: 0;
  padding: 22px 26px 18px;
  background: #131b20;
}

.download-catalog .download-panel-heading h2 {
  color: #f3f7f5;
  font-size: clamp(25px, 2.7vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.download-history-link {
  color: #a9b5b1;
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.download-history-link:hover,
.download-history-link:focus-visible {
  color: var(--accent);
}

.download-category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #2d383e;
  border-bottom: 1px solid #2d383e;
  background: #0c1216;
}

.download-category-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 64px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #29343a;
  background: transparent;
  color: #aab6b2;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.download-category-tabs button:last-child {
  border-right: 0;
}

.download-category-tabs button::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  border-radius: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 160ms ease;
  content: "";
}

.download-category-tabs button:hover {
  color: #f3f7f5;
  background: #121a1f;
}

.download-category-tabs button[aria-selected="true"] {
  background: #132522;
  color: #55dfcf;
}

.download-category-tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.download-category-tabs button:focus-visible {
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.download-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: currentColor;
}

.download-tab-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.download-tab-icon-windows svg {
  fill: currentColor;
  stroke: none;
}

.download-tab-icon-text {
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.download-category-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  min-height: 304px;
  padding: clamp(34px, 4vw, 46px);
  background: #11181c;
}

.download-category-panel[hidden] {
  display: none;
}

.download-category-copy {
  max-width: 640px;
}

.download-category-copy h2 {
  margin-bottom: 12px;
  color: #f5f8f7;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.download-category-copy > p:not(.eyebrow):not(.download-version) {
  max-width: 620px;
  margin-bottom: 22px;
  color: #bac5c1;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.download-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-category-actions .button {
  min-width: 160px;
  min-height: 42px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.download-category-actions .button.primary {
  border-color: #35d4c0;
}

.download-category-actions .button.secondary {
  border-color: #3a484e;
  background: #182126;
}

.download-version {
  margin: 14px 0 0;
  color: #8f9d99;
  font-size: 13px;
  font-weight: 500;
}

.download-category-facts {
  display: grid;
  align-self: center;
  align-content: center;
  gap: 0;
  min-width: 0;
  padding: 8px 18px;
  margin: 0;
  border: 1px solid #2c383e;
  border-radius: 10px;
  background: #0d1418;
}

.download-category-facts div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #263137;
}

.download-category-facts div:last-child {
  border-bottom: 0;
}

.download-category-facts dt,
.download-category-facts dd {
  margin: 0;
}

.download-category-facts dt {
  color: #8f9c98;
  font-size: 13px;
  font-weight: 500;
}

.download-category-facts dd {
  color: #f0f5f3;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.aside-panel h2 {
  font-size: 24px;
}

.purchase-auth-box {
  min-height: 44px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.account-hero,
.account-auth-grid,
.dashboard-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.56fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 64px 0 44px;
}

.account-status-card,
.auth-card,
.dashboard-card,
.dashboard-panel,
.record-item,
.product-item,
.license-bind-card,
.download-list article,
.account-message {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.account-status-card {
  padding: 24px;
}

.account-status-card span,
.dashboard-card span,
.record-item span,
.product-item span,
.license-bind-card span,
.download-list span {
  color: var(--muted);
}

.account-status-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 72px;
}

.auth-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.auth-card label {
  display: grid;
  gap: 7px;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  align-items: end;
}

.auth-card label span {
  color: var(--muted);
  font-size: 13px;
}

.auth-card input,
.account-settings-form input,
.license-bind-card input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
}

.account-settings-form {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.account-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-settings-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.account-settings-form label span {
  color: var(--muted);
  font-size: 13px;
}

.profile-email-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
  align-items: end;
}

.profile-email-verification.hidden {
  display: none;
}

.account-settings-actions {
  display: flex;
  justify-content: flex-start;
}

.account-settings-actions .button {
  min-width: 160px;
}

.dashboard-panel {
  padding: 24px;
  margin-bottom: 72px;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.dashboard-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
}

.dashboard-tabs button.active {
  background: var(--accent);
  color: #061412;
}

.dashboard-page {
  display: none;
}

.dashboard-page.active {
  display: block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  min-height: 148px;
  padding: 20px;
}

.dashboard-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 28px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.record-list,
.product-list,
.download-list {
  display: grid;
  gap: 12px;
}

.license-bind-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(53, 212, 192, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.045);
}

.license-bind-card strong,
.license-bind-card span {
  display: block;
}

.license-bind-card strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.license-bind-card label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.activation-code-control {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 140px;
  gap: 10px;
  align-items: end;
  max-width: 700px;
}

.activation-code-control input {
  min-height: 46px;
  border-color: rgba(53, 212, 192, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.24);
  font-family: "SFMono-Regular", "Consolas", "Menlo", monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.activation-code-control input::placeholder {
  color: rgba(238, 245, 242, 0.38);
  letter-spacing: 0.04em;
}

.activation-code-control .button {
  min-width: 0;
  min-height: 46px;
}

.record-item,
.product-item,
.download-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.download-list article {
  grid-template-columns: minmax(0, 1fr) auto;
}

.record-item strong,
.record-item span,
.product-item strong,
.product-item span,
.download-list strong,
.download-list span {
  display: block;
}

.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.offline-intro {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.offline-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent, #2f80ed);
  background: color-mix(in srgb, var(--accent, #2f80ed) 14%, transparent);
}

.purchase-record {
  grid-template-columns: minmax(0, 1fr) 140px auto;
}

.purchase-code-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.purchase-code {
  flex: 1 1 240px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
  word-break: break-all;
}

.purchase-code-row .button {
  flex: 0 0 auto;
}

.purchase-pending-hint {
  flex: 1 1 240px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.purchase-cancel-button {
  border-color: rgba(255, 111, 111, 0.5);
  color: var(--red);
}

.account-message {
  width: min(1180px, calc(100% - 40px));
  min-height: 46px;
  margin: 0 auto 72px;
  padding: 12px 16px;
  color: var(--muted);
}

.account-message:empty {
  display: none;
}

.account-message[data-type="success"] {
  color: var(--accent);
}

.account-message[data-type="error"] {
  color: var(--red);
}

@media (max-width: 1040px) {
  .site-nav {
    display: none;
  }

  .hero,
  .split-section,
  .split-section.reverse,
  .purchase-layout,
  .download-page-hero,
  .download-page-layout,
  .brand-story,
  .profile-hero,
  .resume-grid,
  .supertag-layout,
  .account-hero,
  .tool-showcase-section,
  #translation.tool-showcase-section,
  .ai-voice-section {
    grid-template-columns: 1fr;
  }

  /* stacked feature rows: copy first, image below, full width & left-aligned */
  .tool-showcase-copy,
  .ai-voice-copy,
  #translation.tool-showcase-section .tool-showcase-copy {
    order: 0;
    max-width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .product-shot {
    grid-column: 1;
  }

  .workflow-grid,
  .feature-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ppt-media-grid,
  .ppt-media-grid.six,
  .ppt-media-grid.seven,
  .ppt-media-grid.ten {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-mosaic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .project-mosaic-item,
  .project-mosaic-item:nth-child(12n + 4),
  .project-mosaic-item:nth-child(12n + 11) {
    grid-column: span 2;
  }

  .project-mosaic-item:nth-child(12n + 1),
  .project-mosaic-item:nth-child(12n + 8) {
    grid-column: span 3;
  }

  .resume-group:first-child {
    grid-row: auto;
  }

  .mock-workspace {
    grid-template-columns: 138px minmax(300px, 1fr);
  }

  .mock-detail {
    display: none;
  }

  .purchase-aside {
    position: static;
  }

  .download-page-aside {
    position: static;
  }

  .account-auth-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    font-size: 13px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .split-section,
  .ai-voice-section,
  .tool-showcase-section,
  .download-section,
  .purchase-layout,
  .download-page-hero,
  .download-page-layout,
  .brand-story,
  .supertag-section,
  .platform-section,
  .capabilities-section,
  .account-hero,
  .account-auth-grid,
  .dashboard-panel,
  .account-message {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 24px;
    padding: 32px 0 56px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
    line-height: 1;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(26px, 9vw, 36px);
  }

  h3 {
    font-size: 17px;
  }

  .hero-lede {
    font-size: clamp(17px, 5.4vw, 22px);
    line-height: 1.32;
  }

  .hero-tagline {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-actions,
  .download-actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
  }

  .ai-feature-list {
    grid-template-columns: 1fr;
  }

  .product-shot {
    border-radius: 10px;
  }

  .mock-toolbar {
    grid-template-columns: 1fr 42px 42px;
  }

  .mock-brand,
  .mock-tool:nth-of-type(3) {
    display: none;
  }

  .mock-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-table {
    padding: 10px;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-row {
    grid-template-columns: 34px 1fr 0.82fr;
    gap: 8px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .mock-row span:nth-child(4) {
    display: none;
  }

  .workflow-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .waveform {
    height: 110px;
    margin-top: 14px;
    padding: 12px;
  }

  .profile-copy,
  .profile-portrait {
    min-height: 0;
  }

  .profile-copy h2 {
    font-size: 42px;
  }

  .profile-stats,
  .poster-strip {
    grid-template-columns: 1fr;
  }

  .profile-portrait img {
    min-height: 320px;
  }

  .poster-strip article,
  .poster-strip img {
    min-height: 0;
  }

  .ppt-media-grid,
  .ppt-media-grid.six,
  .ppt-media-grid.seven,
  .ppt-media-grid.ten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-mosaic-item,
  .project-mosaic-item:nth-child(12n + 1),
  .project-mosaic-item:nth-child(12n + 4),
  .project-mosaic-item:nth-child(12n + 8),
  .project-mosaic-item:nth-child(12n + 11) {
    grid-column: span 1;
    grid-row: auto;
  }

  .project-mosaic-item img,
  .project-mosaic-item:nth-child(12n + 1) img,
  .project-mosaic-item:nth-child(12n + 8) img {
    min-height: 0;
  }

  .work-list div,
  .work-list.compact div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .download-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .included-grid,
  .purchase-steps li,
  .download-steps li,
  .download-card-list article,
  .record-item,
  .product-item,
  .license-bind-card,
  .activation-code-control,
  .download-list article,
  .auth-code-row,
  .account-settings-grid,
  .profile-email-verification,
  .supertag-copy-grid,
  .platform-grid,
  .capability-list,
  .capability-list article {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .download-panel-heading {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .download-page-layout-simple {
    width: min(100% - 28px, 1120px);
  }

  .download-catalog .download-panel-heading {
    padding: 20px 22px 16px;
  }

  .download-category-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .download-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .download-category-tabs button {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 60px;
  }

  .download-category-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 28px 22px 30px;
  }

  .download-category-copy h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .download-category-facts {
    padding: 8px 16px;
  }

  .download-page-hero,
  .account-hero {
    padding: 38px 0 28px;
  }

  .purchase-layout,
  .download-page-layout,
  .dashboard-panel {
    padding-bottom: 48px;
  }

  .download-panel,
  .aside-panel,
  .account-status-card,
  .auth-card,
  .dashboard-panel,
  .dashboard-card,
  .record-item,
  .product-item,
  .license-bind-card,
  .download-list article,
  .account-message {
    border-radius: 8px;
  }

  .download-panel,
  .auth-card,
  .dashboard-panel {
    padding: 18px;
  }

  .dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-tabs button,
  .activation-code-control .button,
  .auth-code-row .button,
  .account-settings-actions .button,
  .profile-email-verification .button {
    width: 100%;
  }

  .record-item,
  .product-item,
  .license-bind-card,
  .download-list article {
    align-items: stretch;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .hero,
  .section,
  .split-section,
  .download-section,
  .purchase-layout,
  .download-page-hero,
  .download-page-layout,
  .brand-story,
  .supertag-section,
  .platform-section,
  .capabilities-section,
  .account-hero,
  .account-auth-grid,
  .dashboard-panel,
  .account-message {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    padding-inline: 10px;
  }

  .hero {
    padding-top: 24px;
  }

  .platform-grid article,
  .workflow-grid article,
  .feature-grid article,
  .daw-card,
  .download-section,
  .download-panel,
  .aside-panel,
  .auth-card,
  .license-bind-card,
  .dashboard-panel,
  .account-status-card {
    padding: 16px;
  }

  .daw-host img {
    width: 72px;
    height: 72px;
  }

  .dashboard-tabs {
    grid-template-columns: 1fr;
  }

  .download-page-hero-compact {
    padding-top: 30px;
  }

  .download-category-tabs button {
    min-width: 116px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .download-category-panel {
    padding: 24px 18px 26px;
  }

  .download-category-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-category-actions .button {
    width: 100%;
  }

  .download-category-facts div {
    grid-template-columns: 68px minmax(0, 1fr);
  }
}

/* ===== 社区反馈看板 ===== */
.forum-wrap { max-width: 1000px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 64px) 72px; }
.forum-hero { padding: 32px 0 8px; }
.forum-hero h1 { font-size: 1.9rem; margin-bottom: 8px; }
.forum-hero p { color: var(--muted); max-width: 640px; }
.forum-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.forum-hint { color: var(--muted); font-size: 0.85rem; }

.forum-toolbar { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin: 22px 0 14px; }
.forum-filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.forum-chip { background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 0.85rem; cursor: pointer; transition: all 0.15s; }
.forum-chip:hover { color: var(--text); }
.forum-chip.active { background: var(--accent); border-color: var(--accent); color: #04211d; font-weight: 600; }

.forum-message { min-height: 20px; margin: 8px 0; font-size: 0.9rem; }
.forum-message[data-type="error"] { color: #ff8080; }
.forum-message[data-type="success"] { color: var(--accent); }

.forum-list { display: flex; flex-direction: column; gap: 12px; }
.forum-empty { color: var(--muted); text-align: center; padding: 40px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; }
.forum-card { display: flex; gap: 16px; padding: 16px 18px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color 0.15s; }
.forum-card:hover { border-color: var(--accent); }
.forum-card-vote { display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 52px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.forum-vote-count { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.forum-vote-label { font-size: 0.7rem; color: var(--muted); }
.forum-card-main { flex: 1; min-width: 0; }
.forum-card-title { font-size: 1.05rem; margin: 6px 0; }
.forum-card-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.forum-card-footer { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }

.forum-tag { font-size: 0.72rem; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.forum-tag.cat-suggestion { color: #7fd4ff; border-color: rgba(127,212,255,0.4); }
.forum-tag.cat-bug { color: #ff9d7f; border-color: rgba(255,157,127,0.4); }
.forum-tag.cat-discussion { color: #c9b3ff; border-color: rgba(201,179,255,0.4); }
.forum-tag.status-open { color: var(--muted); }
.forum-tag.status-planned { color: #7fd4ff; }
.forum-tag.status-in_progress { color: #ffd479; }
.forum-tag.status-done { color: var(--accent); border-color: var(--accent); }
.forum-tag.status-declined { color: #9aaba7; text-decoration: line-through; }
.forum-badge { font-size: 0.7rem; padding: 2px 7px; border-radius: 6px; }
.forum-badge.pin { background: rgba(255,212,121,0.15); color: #ffd479; }
.forum-badge.lock { background: rgba(255,255,255,0.08); color: var(--muted); }

.forum-pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 26px 0; color: var(--muted); }

.forum-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex;
  align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.forum-modal.hidden { display: none; }
.forum-modal-card { background: var(--panel-strong); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; width: 100%; max-width: 560px; }
.forum-modal-card h2 { margin-bottom: 18px; }
.forum-modal-card label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 0.85rem; }
.forum-modal-card input, .forum-modal-card select, .forum-modal-card textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--text); font: inherit; }
.forum-modal-card textarea { resize: vertical; }
.forum-modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }

.forum-back { margin: 20px 0; }
.forum-back a { color: var(--accent); text-decoration: none; }
.post-detail { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.post-head { display: flex; gap: 18px; }
.post-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 58px;
  padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-strong);
  color: var(--text); cursor: pointer; font: inherit; height: fit-content; transition: all 0.15s; }
.post-vote:hover { border-color: var(--accent); }
.post-vote.voted { border-color: var(--accent); background: rgba(53,212,192,0.12); color: var(--accent); }
.post-vote-arrow { font-size: 0.9rem; }
.post-title { font-size: 1.5rem; margin: 8px 0; }
.post-body { margin-top: 20px; line-height: 1.75; white-space: normal; word-break: break-word; }

.comment-section { margin-top: 28px; }
.comment-section h2 { font-size: 1.15rem; margin-bottom: 16px; }
.comment-section.hidden { display: none; }
.comment-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.comment-item { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.comment-item.official { border-color: var(--accent); background: rgba(53,212,192,0.06); }
.comment-meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.comment-official-badge { background: var(--accent); color: #04211d; font-size: 0.68rem; padding: 1px 7px; border-radius: 5px; font-weight: 600; }
.comment-body { line-height: 1.6; word-break: break-word; }
.comment-form textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--text); font: inherit; resize: vertical; }
.comment-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

/* Home page refresh: a calmer studio-console palette with stronger editorial spacing. */
body.home-page {
  --bg: #071311;
  --panel: #0f211e;
  --panel-strong: #142c28;
  --text: #f4f8f2;
  --muted: #a3b8b1;
  --line: rgba(175, 226, 213, 0.18);
  --accent: #45dfc3;
  --accent-dark: #147d70;
  background:
    radial-gradient(900px 560px at 88% 3%, rgba(69, 223, 195, 0.14), transparent 68%),
    radial-gradient(700px 520px at -8% 28%, rgba(31, 117, 104, 0.18), transparent 66%),
    linear-gradient(180deg, #071311 0%, #0a1715 48%, #07100f 100%);
}

body.home-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(159, 219, 206, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 219, 206, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.home-page .site-header,
.home-page main,
.home-page .site-footer {
  position: relative;
  z-index: 1;
}

.home-page .site-header {
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  gap: 28px;
  padding: 16px clamp(22px, 5vw, 76px);
  border-bottom-color: rgba(175, 226, 213, 0.12);
  background: rgba(7, 19, 17, 0.72);
}

.home-page .brand {
  gap: 12px;
  letter-spacing: 0.02em;
}

.home-page .brand img {
  border: 1px solid rgba(69, 223, 195, 0.48);
  box-shadow: 0 0 0 4px rgba(69, 223, 195, 0.06);
}

.home-page .site-nav {
  justify-content: center;
  gap: 6px;
  font-size: 13px;
}

.home-page .site-nav a {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.home-page .site-nav a:hover,
.home-page .site-nav a.active {
  border-color: rgba(69, 223, 195, 0.22);
  background: rgba(69, 223, 195, 0.1);
  color: var(--text);
}

.home-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  width: min(1240px, calc(100% - 48px));
  padding: clamp(76px, 10vw, 136px) 0 116px;
  text-align: left;
}

.home-page .hero-content {
  align-items: flex-start;
  max-width: 590px;
}

.home-page .hero .eyebrow,
.home-page .tool-showcase-section .eyebrow,
.home-page .ai-voice-section .eyebrow,
.home-page .split-section .eyebrow,
.home-page .capabilities-section .eyebrow,
.home-page .download-section .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 20px;
  padding: 5px 10px;
  border: 1px solid rgba(69, 223, 195, 0.26);
  border-radius: 999px;
  background: rgba(69, 223, 195, 0.08);
  color: var(--accent);
  letter-spacing: 0.08em;
}

.home-page .hero-title {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-page .hero-title .accent-line {
  margin-top: 12px;
  white-space: nowrap;
  color: var(--accent);
  text-shadow: 0 0 38px rgba(69, 223, 195, 0.24);
}

.home-page .hero-tagline {
  margin-bottom: 22px;
  color: #d6f2e9;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
}

.home-page .hero-copy {
  gap: 0;
  max-width: 520px;
  padding-left: 18px;
  border-left: 2px solid rgba(69, 223, 195, 0.55);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-page .hero-copy p {
  padding: 5px 0;
}

.home-page .hero-actions {
  margin-top: 30px;
  gap: 10px;
}

.home-page .button {
  min-height: 50px;
  min-width: 148px;
  padding: 0 22px;
  border-radius: 12px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-page .button:hover {
  transform: translateY(-2px);
}

.home-page .button.primary {
  border-color: rgba(69, 223, 195, 0.8);
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(38, 185, 161, 0.18);
}

.home-page .button.secondary {
  border-color: rgba(175, 226, 213, 0.24);
  background: rgba(255, 255, 255, 0.055);
}

.home-page .product-shot {
  position: relative;
  width: 100%;
  max-width: none;
  border: 1px solid rgba(175, 226, 213, 0.24);
  border-radius: 24px;
  background: #0b1715;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 0 10px rgba(69, 223, 195, 0.035),
    0 0 70px rgba(69, 223, 195, 0.1);
}

.home-page .product-shot::before {
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(69, 223, 195, 0.85), transparent);
}

.home-page .product-shot-image {
  border-radius: 23px;
}

.home-page .tool-showcase-section,
.home-page .ai-voice-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 22px;
  padding: clamp(58px, 8vw, 96px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(175, 226, 213, 0.15);
  border-top-color: rgba(69, 223, 195, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(18, 45, 40, 0.78), rgba(11, 26, 23, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(69, 223, 195, 0.12), transparent 50%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.home-page .tool-showcase-copy,
.home-page .ai-voice-copy {
  max-width: 560px;
}

.home-page .tool-showcase-section h2,
.home-page .ai-voice-section h2,
.home-page #daw h2,
.home-page .capabilities-section h2,
.home-page .download-section h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-page .tool-showcase-section .tool-showcase-copy > p:not(.eyebrow),
.home-page .ai-voice-section .ai-voice-copy > p:not(.eyebrow) {
  color: #b7c9c3;
  line-height: 1.75;
}

.home-page .icon-badge {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 18px;
  border-color: rgba(69, 223, 195, 0.42);
  background: linear-gradient(145deg, rgba(69, 223, 195, 0.2), rgba(20, 125, 112, 0.16));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-page .ai-feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.home-page .ai-feature-list article {
  min-height: 148px;
  padding: 16px;
  border-color: rgba(175, 226, 213, 0.14);
  border-radius: 16px;
  background: rgba(5, 18, 16, 0.42);
}

.home-page .ai-feature-list strong {
  margin-bottom: 10px;
  color: #e9f7f1;
  line-height: 1.35;
}

.home-page .ai-feature-list span {
  color: #9eb5ae;
  font-size: 13px;
  line-height: 1.6;
}

.home-page .ai-window-preview,
.home-page .tool-window-preview {
  padding: 10px;
  border-color: rgba(175, 226, 213, 0.2);
  border-radius: 22px;
  background: rgba(5, 16, 14, 0.58);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page #daw.split-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 22px;
  padding: clamp(42px, 6vw, 70px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(175, 226, 213, 0.15);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 69, 59, 0.68), rgba(12, 29, 25, 0.9));
}

.home-page .daw-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid rgba(175, 226, 213, 0.18);
  border-radius: 20px;
  background: rgba(5, 17, 15, 0.46);
}

.home-page .daw-host-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-page .daw-host img {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-page .daw-host strong {
  font-size: 12px;
}

.home-page .capabilities-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 22px;
  padding: clamp(56px, 8vw, 90px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(175, 226, 213, 0.15);
  border-radius: 28px;
  background: rgba(12, 31, 27, 0.72);
}

.home-page .capability-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .capability-list article {
  display: block;
  min-height: 156px;
  padding: 20px;
  border-color: rgba(175, 226, 213, 0.14);
  border-radius: 16px;
  background: rgba(5, 17, 15, 0.38);
}

.home-page .capability-list strong {
  margin-bottom: 12px;
  color: #e9f7f1;
  font-size: 17px;
}

.home-page .capability-list span {
  font-size: 14px;
  line-height: 1.65;
}

.home-page .download-section.centered {
  width: min(1240px, calc(100% - 48px));
  margin: 56px auto 96px;
  padding: clamp(58px, 8vw, 94px) 30px;
  border-color: rgba(69, 223, 195, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 223, 195, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(20, 65, 56, 0.82), rgba(9, 27, 23, 0.92));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.home-page .download-section h2 {
  margin-bottom: 0;
}

.home-page .site-footer {
  border-top-color: rgba(175, 226, 213, 0.12);
  background: rgba(5, 14, 13, 0.5);
}

@media (max-width: 1040px) {
  .home-page .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 72px;
  }

  .home-page .hero-content {
    max-width: 720px;
  }

  .home-page .product-shot {
    max-width: 840px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .home-page .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .home-page .site-nav {
    justify-content: center;
    width: 100%;
    overflow-x: auto;
  }

  .home-page .hero,
  .home-page .tool-showcase-section,
  .home-page .ai-voice-section,
  .home-page #daw.split-section,
  .home-page .capabilities-section,
  .home-page .download-section.centered {
    width: min(100% - 28px, 1240px);
  }

  .home-page .hero {
    padding: 54px 0 72px;
  }

  .home-page .hero-title {
    font-size: clamp(44px, 13vw, 68px);
  }

  .home-page .hero-title .accent-line {
    white-space: normal;
  }

  .home-page .hero-copy {
    font-size: 15px;
  }

  .home-page .tool-showcase-section,
  .home-page .ai-voice-section,
  .home-page #daw.split-section,
  .home-page .capabilities-section {
    padding: 46px 20px;
    border-radius: 22px;
  }

  .home-page .ai-feature-list,
  .home-page .capability-list {
    grid-template-columns: 1fr;
  }

  .home-page .ai-feature-list article,
  .home-page .capability-list article {
    min-height: auto;
  }

  .home-page .daw-host-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .download-section.centered {
    margin-top: 34px;
    margin-bottom: 54px;
    padding: 48px 18px;
  }
}

@media (max-width: 420px) {
  .home-page .site-nav {
    justify-content: flex-start;
  }

  .home-page .hero-actions,
  .home-page .download-actions {
    width: 100%;
  }

  .home-page .hero-actions .button,
  .home-page .download-actions .button {
    flex: 1 1 150px;
  }

  .home-page .daw-host-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes home-rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes home-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes home-float-smooth {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}

@keyframes home-float-flat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes home-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 52px 26px, 26px 52px;
  }
}

@keyframes home-sweep {
  0%,
  55% {
    transform: translateX(-125%);
    opacity: 0;
  }
  68% {
    opacity: 0.7;
  }
  86%,
  100% {
    transform: translateX(125%);
    opacity: 0;
  }
}

@keyframes home-breathe {
  0%,
  100% {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 0 rgba(69, 223, 195, 0);
  }
  50% {
    box-shadow: 0 30px 84px rgba(0, 0, 0, 0.3), 0 0 42px rgba(69, 223, 195, 0.12);
  }
}

.home-page::before {
  animation: home-grid-drift 28s linear infinite;
}

.home-page .site-header {
  animation: home-rise-in 700ms 80ms both ease-out;
}

.home-page .hero-content > * {
  animation: home-rise-in 760ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .hero-content > :nth-child(1) {
  animation-delay: 180ms;
}

.home-page .hero-content > :nth-child(2) {
  animation-delay: 260ms;
}

.home-page .hero-content > :nth-child(3) {
  animation-delay: 340ms;
}

.home-page .hero-content > :nth-child(4) {
  animation-delay: 420ms;
}

.home-page .hero-content > :nth-child(5) {
  animation-delay: 500ms;
}

.home-page .product-shot {
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: home-fade-in 900ms 360ms both ease-out, home-float-smooth 16s 1.3s ease-in-out infinite;
}

.product-shot-trigger,
.image-lightbox-trigger {
  cursor: zoom-in;
}

.product-shot-trigger:focus-visible,
.image-lightbox-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(3, 8, 10, 0.88);
  cursor: zoom-out;
}

.image-lightbox-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(96vw, 1440px);
  max-height: 94vh;
  padding: 14px;
  border: 1px solid rgba(175, 226, 213, 0.28);
  border-radius: 14px;
  background: #11181d;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
}

.image-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}

.image-lightbox-toolbar p {
  margin: 0;
  font-weight: 800;
}

.image-lightbox-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.image-lightbox-card img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 82px);
  border-radius: 8px;
  object-fit: contain;
}

body.image-lightbox-open {
  overflow: hidden;
}

.home-page .product-shot::after {
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 28%;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(207, 255, 242, 0.2), transparent);
  transform: translateX(-125%);
  animation: home-sweep 8s 2.2s ease-in-out infinite;
}

.home-page .download-section.centered {
  animation: home-breathe 7s ease-in-out infinite;
}

.home-page .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .ai-feature-list article,
.home-page .capability-list article,
.home-page .daw-host {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.home-page .ai-feature-list article:hover,
.home-page .capability-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(69, 223, 195, 0.42);
  background: rgba(19, 58, 50, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.home-page .daw-host:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-page::before,
  .home-page .site-header,
  .home-page .hero-content > *,
  .home-page .product-shot,
  .home-page .product-shot::after,
  .home-page .download-section.centered {
    animation: none !important;
  }

  .home-page .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-page .button,
  .home-page .ai-feature-list article,
  .home-page .capability-list article,
  .home-page .daw-host {
    transition: none;
  }
}

/* Workbench direction: a darker, denser audio-software interface inspired by professional SFX tools. */
body.home-page {
  --bg: #15191e;
  --panel: #1e252c;
  --panel-strong: #252e37;
  --text: #eef3f4;
  --muted: #9aa9b2;
  --line: rgba(213, 225, 231, 0.16);
  --accent: #4ed9c0;
  --accent-dark: #287f78;
  background:
    radial-gradient(760px 520px at 85% 0%, rgba(52, 121, 110, 0.2), transparent 70%),
    radial-gradient(660px 460px at 6% 30%, rgba(81, 101, 124, 0.12), transparent 72%),
    linear-gradient(180deg, #15191e 0%, #11161b 52%, #0f1317 100%);
}

.home-page .site-header {
  background: rgba(17, 22, 27, 0.86);
  border-bottom-color: rgba(213, 225, 231, 0.14);
}

.home-page .hero {
  padding-bottom: clamp(60px, 8vw, 92px);
}

.home-page .hero-title .accent-line {
  text-shadow: 0 0 34px rgba(78, 217, 192, 0.2);
}

.home-page .product-shot {
  border-color: rgba(213, 225, 231, 0.2);
  background: #11161a;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.48), 0 0 0 8px rgba(213, 225, 231, 0.025), 0 0 64px rgba(78, 217, 192, 0.08);
}

.home-page .tool-showcase-section,
.home-page .ai-voice-section {
  border-top-color: rgba(78, 217, 192, 0.3);
  background: linear-gradient(145deg, rgba(31, 40, 48, 0.92), rgba(18, 23, 28, 0.96));
}

.home-page #daw.split-section {
  background: linear-gradient(145deg, rgba(37, 48, 57, 0.9), rgba(18, 23, 28, 0.96));
}

.home-page .capabilities-section {
  background: linear-gradient(145deg, rgba(31, 40, 48, 0.9), rgba(18, 23, 28, 0.96));
}

.home-page .download-section.centered {
  background: radial-gradient(circle at 50% 0%, rgba(78, 217, 192, 0.16), transparent 58%), linear-gradient(145deg, rgba(37, 61, 63, 0.9), rgba(18, 28, 32, 0.96));
}

.home-page .ai-feature-list article,
.home-page .capability-list article {
  background: rgba(13, 18, 23, 0.48);
}

.home-workbench {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 22px;
  padding: clamp(48px, 7vw, 78px) clamp(24px, 5vw, 64px);
  border: 1px solid rgba(213, 225, 231, 0.15);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(31, 40, 48, 0.92), rgba(18, 23, 28, 0.96));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.home-workbench-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.home-workbench-head h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-workbench-head > p {
  max-width: 330px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.7;
}

.home-workbench-shell {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 220px;
  min-height: 446px;
  overflow: hidden;
  border: 1px solid rgba(213, 225, 231, 0.2);
  border-radius: 16px;
  background: #11161a;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-workbench-rail,
.home-workbench-inspector {
  padding: 22px 16px;
  background: #171d22;
}

.home-workbench-rail {
  border-right: 1px solid rgba(213, 225, 231, 0.13);
}

.home-workbench-inspector {
  border-left: 1px solid rgba(213, 225, 231, 0.13);
}

.workbench-rail-title {
  display: block;
  margin: 2px 8px 12px;
  color: #72818c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-workbench-rail strong {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-bottom: 4px;
  padding: 0 9px;
  border-radius: 7px;
  color: #c6d0d5;
  font-size: 12px;
  font-weight: 700;
}

.home-workbench-rail strong:first-of-type {
  background: rgba(78, 217, 192, 0.11);
  color: var(--accent);
}

.workbench-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.folder-icon {
  border: 1px solid #8797a2;
  border-radius: 3px;
  opacity: 0.8;
}

.dot-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.blue-dot { background: #61b8db; }
.violet-dot { background: #b49af5; }

.home-workbench-results {
  min-width: 0;
  padding: 22px 20px 16px;
  background: #13191e;
}

.workbench-search-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(213, 225, 231, 0.15);
  border-radius: 8px;
  background: #222a32;
  color: #aab8c0;
  font-size: 12px;
}

.workbench-search-icon {
  color: var(--accent);
  font-size: 21px;
  line-height: 1;
}

.workbench-search-line kbd {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid rgba(213, 225, 231, 0.18);
  border-radius: 4px;
  color: #7f8e98;
  font-size: 10px;
}

.workbench-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 18px;
}

.workbench-chips span {
  padding: 5px 8px;
  border: 1px solid rgba(78, 217, 192, 0.25);
  border-radius: 5px;
  background: rgba(78, 217, 192, 0.08);
  color: #b6dcd3;
  font-size: 11px;
}

.workbench-chips b {
  margin-left: 6px;
  color: var(--accent);
}

.workbench-table {
  overflow: hidden;
  border-top: 1px solid rgba(213, 225, 231, 0.14);
}

.workbench-table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.35fr 1.45fr 0.45fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(213, 225, 231, 0.08);
  color: #8998a2;
  font-size: 11px;
}

.workbench-table-row strong {
  overflow: hidden;
  color: #d9e4e7;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-table-head {
  min-height: 34px;
  color: #6e7e89;
  font-size: 10px;
}

.workbench-table-row.is-selected {
  background: rgba(78, 217, 192, 0.12);
  box-shadow: inset 2px 0 var(--accent);
}

.workbench-table-row.is-selected > span:first-child {
  color: var(--accent);
}

.workbench-waveform {
  display: grid;
  grid-template-columns: repeat(20, minmax(3px, 1fr));
  align-items: center;
  gap: 4px;
  height: 110px;
  margin-top: 18px;
  padding: 15px 12px;
  border: 1px solid rgba(213, 225, 231, 0.12);
  border-radius: 8px;
  background: #0d1216;
}

.workbench-waveform i {
  display: block;
  height: 24%;
  border-radius: 99px;
  background: linear-gradient(180deg, #91c6b9, #3c8d83);
  opacity: 0.86;
  animation: home-wave-pulse 3.8s ease-in-out infinite;
}

.workbench-waveform i:nth-child(3n) { height: 72%; animation-delay: -0.8s; }
.workbench-waveform i:nth-child(4n) { height: 44%; animation-delay: -1.6s; }
.workbench-waveform i:nth-child(5n) { height: 88%; animation-delay: -2.3s; }

.home-workbench-inspector dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.home-workbench-inspector dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(213, 225, 231, 0.09);
}

.home-workbench-inspector dt {
  margin-bottom: 5px;
  color: #778792;
  font-size: 10px;
  text-transform: uppercase;
}

.home-workbench-inspector dd {
  margin: 0;
  color: #d7e1e4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

@keyframes home-wave-pulse {
  0%, 100% { transform: scaleY(0.82); opacity: 0.72; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@media (max-width: 900px) {
  .home-workbench-shell {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .home-workbench-inspector {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-workbench {
    width: min(100% - 28px, 1240px);
    padding: 42px 18px;
    border-radius: 22px;
  }

  .home-workbench-head {
    display: block;
  }

  .home-workbench-head > p {
    margin-top: 14px;
  }

  .home-workbench-shell {
    display: block;
  }

  .home-workbench-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 225, 231, 0.13);
  }

  .home-workbench-rail .workbench-rail-title {
    display: none;
  }

  .home-workbench-rail strong {
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 0 5px;
    font-size: 10px;
  }

  .home-workbench-results {
    padding: 16px 12px 12px;
  }

  .workbench-table-row {
    grid-template-columns: 0.75fr 1.3fr 0.55fr;
  }

  .workbench-table-row > span:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-waveform i {
    animation: none;
  }
}

/* Basehead-inspired palette pass: charcoal workspace, slate panels, sage accents. */
body.home-page {
  --bg: #1d2128;
  --panel: #252c34;
  --panel-strong: #333d49;
  --text: #edf1f2;
  --muted: #a0acb8;
  --line: rgba(188, 201, 211, 0.2);
  --accent: #b9dcc3;
  --accent-dark: #6f9c80;
  background: #1d2128;
}

.home-page::before {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(206, 216, 222, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(206, 216, 222, 0.09) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

.home-page .site-header {
  background: rgba(19, 22, 28, 0.96);
  border-bottom-color: #333d49;
}

.home-page .brand img {
  border-color: #66798e;
  box-shadow: none;
}

.home-page .brand-wordmark {
  background-color: transparent;
}

.home-page .site-nav a:hover,
.home-page .site-nav a.active {
  border-color: #535d69;
  background: #333d49;
  color: #ffffff;
}

.home-page .hero {
  border-bottom: 1px solid #333d49;
}

.home-page .hero .eyebrow,
.home-page .tool-showcase-section .eyebrow,
.home-page .ai-voice-section .eyebrow,
.home-page .split-section .eyebrow,
.home-page .capabilities-section .eyebrow,
.home-page .download-section .eyebrow {
  border-color: #596878;
  background: #333d49;
  color: #b9dcc3;
}

.home-page .hero-title .accent-line,
.home-page .hero-tagline {
  color: #b9dcc3;
  text-shadow: none;
}

.home-page .hero-copy {
  border-left-color: #6f9c80;
  color: #aeb9c2;
}

.home-page .button.primary {
  border-color: #b9dcc3;
  background: #b9dcc3;
  color: #1d2128;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.home-page .button.secondary {
  border-color: #66798e;
  background: #333d49;
  color: #edf1f2;
}

.home-page .product-shot {
  border-color: #535d69;
  border-radius: 10px;
  background: #13161c;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.home-page .product-shot-image {
  border-radius: 9px;
}

.home-page .product-shot::before {
  background: linear-gradient(90deg, transparent, rgba(200, 214, 184, 0.7), transparent);
}

.home-page .tool-showcase-section,
.home-page .ai-voice-section,
.home-page #daw.split-section,
.home-page .capabilities-section,
.home-page .download-section.centered,
.home-page .home-workbench {
  border-color: #3e4854;
  border-radius: 10px;
  background: #252c34;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.home-page .tool-showcase-section,
.home-page .ai-voice-section {
  border-top-color: #66798e;
}

.home-page .icon-badge {
  border-color: #66798e;
  border-radius: 8px;
  background: #333d49;
  color: #b9dcc3;
  box-shadow: none;
}

.home-page .tool-showcase-section h2,
.home-page .ai-voice-section h2,
.home-page #daw h2,
.home-page .capabilities-section h2,
.home-page .download-section h2,
.home-workbench-head h2 {
  color: #edf1f2;
}

.home-page .tool-showcase-section .tool-showcase-copy > p:not(.eyebrow),
.home-page .ai-voice-section .ai-voice-copy > p:not(.eyebrow),
.home-workbench-head > p {
  color: #aeb9c2;
}

.home-page .ai-feature-list article,
.home-page .capability-list article {
  border-color: #3e4854;
  border-radius: 7px;
  background: #333d49;
}

.home-page .ai-feature-list article:hover,
.home-page .capability-list article:hover {
  border-color: #8a9a8a;
  background: #3a4652;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.home-page .ai-feature-list strong,
.home-page .capability-list strong {
  color: #edf1f2;
}

.home-page .ai-feature-list span,
.home-page .capability-list span {
  color: #aeb9c2;
}

.home-page .daw-card {
  border-color: #535d69;
  border-radius: 8px;
  background: #333d49;
}

.home-page .daw-host img {
  border-color: #596878;
  border-radius: 0;
  background: transparent;
}

.home-page .daw-host strong {
  color: #d6e0e4;
}

.home-page .download-section.centered {
  background: #333d49;
}

.home-page .download-section.centered .button.primary {
  background: #b9dcc3;
}

.home-page .home-workbench {
  background: #252c34;
}

.home-page .home-workbench-shell {
  border-color: #535d69;
  border-radius: 8px;
  background: #13161c;
}

.home-page .home-workbench-rail,
.home-page .home-workbench-inspector {
  background: #1d2128;
}

.home-page .home-workbench-results {
  background: #13161c;
}

.home-page .home-workbench-rail strong:first-of-type {
  background: #333d49;
  color: #b9dcc3;
}

.home-page .workbench-search-line {
  border-color: #535d69;
  border-radius: 5px;
  background: #2e3a47;
  color: #b7c2ca;
}

.home-page .workbench-search-icon,
.home-page .workbench-chips b {
  color: #b9dcc3;
}

.home-page .workbench-chips span {
  border-color: #596878;
  background: #333d49;
  color: #b9dcc3;
}

.home-page .workbench-table-row.is-selected {
  background: rgba(102, 121, 142, 0.35);
  box-shadow: inset 2px 0 #b9dcc3;
}

.home-page .workbench-table-row.is-selected > span:first-child {
  color: #b9dcc3;
}

.home-page .workbench-waveform {
  border-color: #3e4854;
  border-radius: 5px;
  background: #0f1317;
}

.home-page .workbench-waveform i {
  background: linear-gradient(180deg, #b9dcc3, #718275);
}

.home-page .site-footer {
  background: #13161c;
  border-top-color: #333d49;
}

/* Apply the same Basehead-inspired workspace theme to every non-home page. */
:root {
  --bg: #1d2128;
  --panel: #252c34;
  --panel-strong: #333d49;
  --text: #edf1f2;
  --muted: #a0acb8;
  --line: rgba(188, 201, 211, 0.2);
  --accent: #b9dcc3;
  --accent-dark: #6f9c80;
}

body:not(.home-page) {
  background: #1d2128;
  color: #edf1f2;
}

body:not(.home-page) .site-header {
  background: rgba(19, 22, 28, 0.96);
  border-bottom-color: #333d49;
}

body:not(.home-page) .brand img {
  border: 1px solid #66798e;
  box-shadow: none;
}

body:not(.home-page) .brand-wordmark {
  background-color: transparent;
}

body:not(.home-page) .site-nav a:hover,
body:not(.home-page) .site-nav a.active {
  border-color: #535d69;
  background: #333d49;
  color: #ffffff;
}

body:not(.home-page) .eyebrow {
  color: #b9dcc3;
}

body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3,
body:not(.home-page) strong {
  color: #edf1f2;
}

body:not(.home-page) p,
body:not(.home-page) li,
body:not(.home-page) dd,
body:not(.home-page) .hero-lede,
body:not(.home-page) .section-heading p {
  color: #aeb9c2;
}

body:not(.home-page) .button.primary {
  border-color: #b9dcc3;
  background: #b9dcc3;
  color: #1d2128;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

body:not(.home-page) .button.secondary,
body:not(.home-page) .header-action {
  border-color: #66798e;
  background: #333d49;
  color: #edf1f2;
}

body:not(.home-page) input,
body:not(.home-page) select,
body:not(.home-page) textarea {
  border-color: #535d69;
  background: #13161c;
  color: #edf1f2;
}

body:not(.home-page) input:focus,
body:not(.home-page) select:focus,
body:not(.home-page) textarea:focus {
  border-color: #b9dcc3;
  outline-color: #b9dcc3;
}

body:not(.home-page) .purchase-panel,
body:not(.home-page) .price-card,
body:not(.home-page) .download-panel,
body:not(.home-page) .download-category-panel,
body:not(.home-page) .download-category-facts,
body:not(.home-page) .account-status-card,
body:not(.home-page) .auth-card,
body:not(.home-page) .dashboard-panel,
body:not(.home-page) .dashboard-card,
body:not(.home-page) .record-item,
body:not(.home-page) .product-item,
body:not(.home-page) .license-bind-card,
body:not(.home-page) .download-list article,
body:not(.home-page) .account-message,
body:not(.home-page) .profile-card,
body:not(.home-page) .profile-soundury-note,
body:not(.home-page) .ppt-page,
body:not(.home-page) .forum-card,
body:not(.home-page) .post-detail,
body:not(.home-page) .comment-item,
body:not(.home-page) .faq-item,
body:not(.home-page) .support-modal-card {
  border-color: #3e4854;
  background: #252c34;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body:not(.home-page) .purchase-panel,
body:not(.home-page) .download-panel,
body:not(.home-page) .dashboard-panel,
body:not(.home-page) .post-detail,
body:not(.home-page) .support-modal-card {
  border-radius: 8px;
}

body:not(.home-page) .price-card,
body:not(.home-page) .auth-card,
body:not(.home-page) .dashboard-card,
body:not(.home-page) .forum-card,
body:not(.home-page) .comment-item,
body:not(.home-page) .faq-item {
  border-radius: 7px;
}

body:not(.home-page) .profile-portrait,
body:not(.home-page) .profile-placeholder,
body:not(.home-page) .profile-image-cover {
  border-color: #535d69;
  background: #333d49;
}

body:not(.home-page) .profile-portrait:hover,
body:not(.home-page) .profile-portrait:focus-visible,
body:not(.home-page) .forum-card:hover,
body:not(.home-page) .faq-item:hover {
  border-color: #8a9a8a;
}

body:not(.home-page) .dashboard-tabs button,
body:not(.home-page) .forum-chip,
body:not(.home-page) .download-category-tabs button {
  border-color: #535d69;
  background: #333d49;
  color: #b9c4cc;
}

body:not(.home-page) .dashboard-tabs button.active,
body:not(.home-page) .forum-chip.active,
body:not(.home-page) .download-category-tabs button[aria-selected="true"] {
  border-color: #b9dcc3;
  background: #b9dcc3;
  color: #1d2128;
}

body:not(.home-page) .download-catalog,
body:not(.home-page) .download-catalog .download-panel-heading,
body:not(.home-page) .download-category-panel,
body:not(.home-page) .download-category-facts {
  background: #252c34;
}

body:not(.home-page) .download-category-tabs {
  border-color: #3e4854;
  background: #1d2128;
}

body:not(.home-page) .download-category-tabs button:hover {
  background: #333d49;
  color: #edf1f2;
}

body:not(.home-page) .download-category-tabs button::after {
  background: #b9dcc3;
}

body:not(.home-page) .download-history-link,
body:not(.home-page) .forum-back a,
body:not(.home-page) .download-version,
body:not(.home-page) .price-note,
body:not(.home-page) .price-card-note,
body:not(.home-page) .forum-hint,
body:not(.home-page) .forum-card-footer {
  color: #9aa8b2;
}

body:not(.home-page) .price,
body:not(.home-page) .price strong,
body:not(.home-page) .forum-vote-count,
body:not(.home-page) .account-status-card strong {
  color: #b9dcc3;
}

body:not(.home-page) .price-feature.is-included .price-feature-mark,
body:not(.home-page) .forum-tag.status-done,
body:not(.home-page) .account-message[data-type="success"],
body:not(.home-page) .forum-message[data-type="success"] {
  color: #b9dcc3;
}

body:not(.home-page) .site-footer {
  border-top-color: #333d49;
  background: #13161c;
}

/* Account page: compact workspace layout. */
.account-page .account-hero,
.account-page .account-auth-grid,
.account-page .dashboard-panel,
.account-page .account-message {
  width: min(1040px, calc(100% - 48px));
}

.account-page .account-hero {
  display: block;
  padding: 24px 0 18px;
}

.account-page .account-hero h1 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.05;
}

.account-page .account-hero .eyebrow {
  margin-bottom: 6px;
}

.account-page .hero-lede {
  max-width: 620px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.account-page .account-status-card {
  padding: 18px 20px;
}

.account-page .account-status-card strong {
  margin: 6px 0;
  font-size: 24px;
}

.account-page .account-status-card p {
  margin: 0;
}

.account-page .account-auth-grid {
  align-items: start;
  gap: 16px;
  padding-bottom: 44px;
}

.account-page .account-auth-column {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.account-page .auth-card {
  gap: 10px;
  padding: 18px 22px 22px;
}

.account-page .auth-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.08;
}

.account-page .auth-card label {
  gap: 5px;
}

.account-page .auth-card input,
.account-page .account-settings-form input,
.account-page .license-bind-card input {
  min-height: 38px;
}

.account-page .auth-card .button {
  min-height: 40px;
  margin-top: 2px;
}

.account-page .auth-code-row {
  grid-template-columns: minmax(0, 1fr) 132px;
}

.account-page .dashboard-panel {
  padding: 18px;
  margin-bottom: 44px;
}

/* Home feature sections: tighter editorial rhythm and balanced two-column proportions. */
.home-page .tool-showcase-section,
.home-page .ai-voice-section {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  min-height: 0;
  padding: clamp(52px, 6vw, 72px) clamp(30px, 5vw, 64px);
}

.home-page #translation.tool-showcase-section {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.home-page .tool-showcase-copy,
.home-page .ai-voice-copy {
  width: 100%;
  max-width: 540px;
}

.home-page .tool-showcase-section h2,
.home-page .ai-voice-section h2 {
  max-width: 530px;
  margin-bottom: 16px;
  font-size: clamp(34px, 3.55vw, 52px);
  line-height: 1.08;
}

.home-page .tool-showcase-section .tool-showcase-copy > p:not(.eyebrow),
.home-page .ai-voice-section .ai-voice-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 14px;
  line-height: 1.65;
}

.home-page .ai-feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.home-page .ai-feature-list article {
  min-height: 0;
  padding: 15px;
}

.home-page .ai-feature-list strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.home-page .ai-feature-list span {
  font-size: 12px;
  line-height: 1.55;
}

.home-page .tool-window-preview,
.home-page .ai-window-preview {
  width: 100%;
  align-self: center;
  padding: 8px;
}

.home-page .translation-search-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: clamp(28px, 5vw, 52px);
}

.home-page .translation-search-preview img {
  width: min(100%, 515px);
}

.home-page #daw.split-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: 0;
  padding: clamp(42px, 5vw, 58px) clamp(30px, 5vw, 64px);
}

.home-page .daw-card {
  min-height: 0;
  padding: 22px;
}

.home-page .daw-card .daw-card-label {
  margin-bottom: 20px;
}

.home-page .daw-host-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.home-page .daw-host img {
  width: 56px;
  height: 56px;
}

.home-page .daw-copy h2 {
  max-width: 650px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.home-page .daw-window-preview {
  max-width: 720px;
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .home-page .tool-showcase-section,
  .home-page .ai-voice-section,
  .home-page #translation.tool-showcase-section,
  .home-page #daw.split-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-page .tool-showcase-copy,
  .home-page .ai-voice-copy {
    max-width: 760px;
  }

  .home-page #translation.tool-showcase-section .tool-showcase-copy {
    order: 0;
  }

  .home-page .tool-window-preview,
  .home-page .ai-window-preview {
    max-width: 820px;
  }

  .home-page .daw-copy {
    order: -1;
  }
}

@media (max-width: 700px) {
  .home-page .tool-showcase-section,
  .home-page .ai-voice-section,
  .home-page #daw.split-section {
    gap: 26px;
    padding: 42px 20px;
  }

  .home-page .tool-showcase-section h2,
  .home-page .ai-voice-section h2,
  .home-page .daw-copy h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .home-page .ai-feature-list {
    grid-template-columns: 1fr;
  }

  .home-page .daw-host-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* New product story cards and full-page scroll rhythm. */
.home-page {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-padding-top: 78px;
  scroll-snap-type: y mandatory;
}

.home-page main > section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-page main > .hero,
.home-page main > .tool-showcase-section,
.home-page main > .ai-voice-section,
.home-page main > #daw.split-section,
.home-page main > .download-section {
  min-height: calc(100dvh - 78px);
}

.home-page .effects-showcase-section,
.home-page .theme-showcase-section {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.home-page .effects-showcase-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.home-page .vst-showcase-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.home-page .effects-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-page .effects-preview-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #3e4854;
  border-radius: 8px;
  background: #13161c;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-page .effects-preview-item:hover,
.home-page .effects-preview-item:focus-visible {
  border-color: #b9dcc3;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.38);
}

.home-page .effects-preview-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 842 / 1214;
  object-fit: cover;
}

.home-page .vst-showcase-section .tool-window-preview {
  align-self: center;
}

.home-page .vst-showcase-section .tool-window-preview img {
  aspect-ratio: 1978 / 796;
  object-fit: cover;
}

.home-page .vst-showcase-section .tool-window-preview {
  width: 100%;
  max-width: none;
}

.home-page .theme-preview {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #535d69;
  border-radius: 9px;
  background: #13161c;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  cursor: zoom-in;
}

.home-page .theme-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.home-page .theme-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 20px;
}

.home-page .theme-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid #3e4854;
  border-radius: 7px;
  background: #333d49;
  color: #aeb9c2;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.home-page .theme-choice:hover,
.home-page .theme-choice:focus-visible {
  border-color: #8a9a8a;
  color: #edf1f2;
  outline: none;
}

.home-page .theme-choice.is-active {
  border-color: #b9dcc3;
  background: #3a4652;
  color: #edf1f2;
  box-shadow: inset 0 0 0 1px rgba(185, 220, 195, 0.2);
}

.home-page .theme-swatch {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(9, 12, 15, 0.2);
}

.home-page #effects .eyebrow {
  color: #d8b65d;
}

.home-page #vst .eyebrow {
  color: #8fc4ff;
}

.home-page #themes .eyebrow {
  color: #d2a8ff;
}

@media (max-width: 1040px) {
  .home-page {
    scroll-snap-type: y proximity;
  }

  .home-page .effects-showcase-section,
  .home-page .theme-showcase-section,
  .home-page .vst-showcase-section {
    grid-template-columns: 1fr;
  }

  .home-page .effects-preview-grid,
  .home-page .theme-preview {
    max-width: 820px;
  }
}

@media (max-width: 700px) {
  .home-page {
    scroll-snap-type: y proximity;
  }

  .home-page main > .hero,
  .home-page main > .tool-showcase-section,
  .home-page main > .ai-voice-section,
  .home-page main > #daw.split-section,
  .home-page main > .download-section {
    min-height: 0;
  }

  .home-page .effects-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .effects-preview-item:first-child {
    grid-column: 1 / -1;
  }

  .home-page .theme-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Supporting product views: pair narrow utility panels with a clear feature story. */
.home-page .metadata-overview-section {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.home-page .metadata-preview-pair,
.home-page .subtitle-preview-pair {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.home-page .metadata-preview-pair {
  grid-template-columns: minmax(0, 1.35fr) minmax(120px, 0.65fr);
  align-items: end;
}

.home-page .metadata-preview,
.home-page .subtitle-preview {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #535d69;
  border-radius: 9px;
  background: #13161c;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

.home-page .metadata-preview img,
.home-page .subtitle-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .metadata-detail-preview {
  margin-bottom: 2px;
}

.home-page .subtitle-search-section {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.home-page .subtitle-preview-pair {
  align-content: center;
}

.home-page .context-actions-preview img {
  aspect-ratio: 1732 / 1042;
  object-fit: cover;
}

.home-page .waveform-transcript-preview img {
  aspect-ratio: 1528 / 328;
  object-fit: cover;
}

.home-page .theme-auto-switch-card {
  display: grid;
  gap: 6px;
  width: 100%;
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid #3e4854;
  border-radius: 7px;
  background: #333d49;
}

.home-page .theme-auto-switch-card strong {
  color: #edf1f2;
  line-height: 1.35;
}

.home-page .theme-auto-switch-card span {
  color: #aeb9c2;
  font-size: 13px;
  line-height: 1.55;
}

.home-page .theme-customization-section {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.home-page .theme-customization-preview-pair {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.home-page .theme-customization-preview-pair .tool-window-preview {
  width: 100%;
  margin: 0;
}

.home-page .theme-customization-preview-pair img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.home-page .library-colors-section {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.home-page .library-colors-section > .tool-window-preview,
.home-page .ucs-showcase-section > .tool-window-preview {
  justify-self: center;
  width: min(100%, 430px);
}

.home-page .library-colors-section > .tool-window-preview img,
.home-page .ucs-showcase-section > .tool-window-preview img {
  max-height: 650px;
  object-fit: contain;
}

.home-page .ucs-showcase-section {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.home-page #metadata-overview .eyebrow {
  color: #80d5ca;
}

.home-page #subtitle-search .eyebrow {
  color: #f0c969;
}

.home-page #library-colors .eyebrow {
  color: #ff8b69;
}

.home-page #ucs .eyebrow {
  color: #8eb4ff;
}

.home-page #theme-customization .eyebrow {
  color: #d2a8ff;
}

@media (max-width: 1040px) {
  .home-page .metadata-overview-section,
  .home-page .subtitle-search-section,
  .home-page .theme-customization-section,
  .home-page .library-colors-section,
  .home-page .ucs-showcase-section {
    grid-template-columns: 1fr;
  }

  .home-page .metadata-preview-pair,
  .home-page .subtitle-preview-pair,
  .home-page .theme-customization-preview-pair {
    max-width: 820px;
  }

  .home-page .library-colors-section > .tool-window-preview,
  .home-page .ucs-showcase-section > .tool-window-preview {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .home-page .metadata-preview-pair {
    grid-template-columns: minmax(0, 1.2fr) minmax(100px, 0.8fr);
    gap: 8px;
  }

  .home-page .metadata-preview,
  .home-page .subtitle-preview {
    border-radius: 7px;
  }

  .home-page .library-colors-section > .tool-window-preview,
  .home-page .ucs-showcase-section > .tool-window-preview {
    width: min(100%, 360px);
  }

  .home-page .library-colors-section > .tool-window-preview img,
  .home-page .ucs-showcase-section > .tool-window-preview img {
    max-height: 540px;
  }
}

/* Compact sections should size to their content instead of inheriting the full-page story height. */
.home-page main > #ai-translation-search.tool-showcase-section,
.home-page main > #download.download-section {
  min-height: 0;
}

.home-page main > #ai-translation-search.tool-showcase-section {
  padding-top: clamp(42px, 5vw, 64px);
  padding-bottom: clamp(42px, 5vw, 64px);
}

.home-page main > #download.download-section {
  margin-top: 34px;
  margin-bottom: 54px;
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

/* User guide */
.manual-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 212, 192, 0.1), transparent 25%),
    linear-gradient(145deg, #0a0f12 0%, #11181d 52%, #18211f 100%);
}

.manual-page .site-nav {
  gap: clamp(10px, 2vw, 24px);
}

.manual-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 58px);
}

.manual-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #edf5f2;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.manual-hero .hero-lede {
  max-width: 720px;
  color: #aebdb8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.manual-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 860px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 88px;
}

.manual-toc {
  position: sticky;
  top: 92px;
  padding: 18px 0;
  border-top: 1px solid rgba(175, 226, 213, 0.18);
  border-bottom: 1px solid rgba(175, 226, 213, 0.12);
}

.manual-toc-title {
  margin: 0 0 12px;
  color: #e7f2ee;
  font-size: 18px;
  font-weight: 800;
}

.manual-toc nav {
  display: grid;
  gap: 3px;
}

.manual-toc a {
  display: block;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  color: #9eafaa;
  font-size: 13px;
  line-height: 1.45;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.manual-toc a:hover,
.manual-toc a:focus-visible {
  border-left-color: #35d4c0;
  background: rgba(53, 212, 192, 0.08);
  color: #edf5f2;
  outline: none;
}

.manual-content {
  min-width: 0;
}

.manual-section {
  scroll-margin-top: 96px;
  padding: 34px 0 74px;
  border-top: 1px solid rgba(175, 226, 213, 0.13);
}

.manual-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.manual-section h2 {
  margin-bottom: 18px;
  color: #edf5f2;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.manual-section h3 {
  margin: 30px 0 10px;
  color: #dcebe6;
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.25;
}

.manual-section > p,
.manual-section article p {
  max-width: 780px;
  color: #afbfba;
  line-height: 1.8;
}

.manual-section a {
  color: #78ddca;
  text-decoration: underline;
  text-decoration-color: rgba(120, 221, 202, 0.45);
  text-underline-offset: 3px;
}

.manual-step-grid,
.manual-feature-grid,
.manual-mode-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.manual-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-feature-grid,
.manual-mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-step-card,
.manual-feature-grid article,
.manual-mode-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #3e4854;
  border-radius: 8px;
  background: #252c34;
}

.manual-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(53, 212, 192, 0.5);
  border-radius: 50%;
  color: #7ee0cf;
  font-size: 12px;
  font-weight: 900;
}

.manual-step-card h3,
.manual-feature-grid article h3,
.manual-mode-grid article h3 {
  margin: 0 0 8px;
  color: #edf5f2;
  font-size: 19px;
}

.manual-step-card p,
.manual-feature-grid article p,
.manual-mode-grid article p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.manual-callout {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 3px solid #35d4c0;
  background: rgba(53, 212, 192, 0.08);
}

.manual-callout strong {
  color: #e8f7f2;
}

.manual-callout span {
  color: #aebfba;
  line-height: 1.7;
}

.manual-media-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.manual-media-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #3e4854;
  border-radius: 8px;
  background: #131a1f;
}

.manual-figure-wide {
  margin-top: 26px;
}

.manual-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.manual-figure figcaption {
  padding: 10px 13px 12px;
  color: #92a49f;
  font-size: 12px;
  line-height: 1.5;
}

.manual-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: #afbfba;
  line-height: 1.75;
}

.manual-list li::marker {
  color: #6ed9c8;
}

@media (max-width: 900px) {
  .manual-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .manual-toc {
    position: static;
    padding: 14px 0;
  }

  .manual-toc nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .manual-toc a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
  }

  .manual-toc a:hover,
  .manual-toc a:focus-visible {
    border-bottom-color: #35d4c0;
    border-left-color: transparent;
  }
}

@media (max-width: 620px) {
  .manual-hero,
  .manual-layout {
    width: min(100% - 28px, 1180px);
  }

  .manual-hero {
    padding-top: 48px;
  }

  .manual-step-grid,
  .manual-feature-grid,
  .manual-mode-grid,
  .manual-media-grid-two {
    grid-template-columns: 1fr;
  }

  .manual-section {
    padding-bottom: 54px;
  }
}
