:root {
  color-scheme: dark;
  --background: #08090a;
  --surface: #0d0e10;
  --surface-raised: #121315;
  --surface-soft: #17181b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f5;
  --muted: #96999e;
  --muted-low: #696d72;
  --shell: min(1180px, calc(100vw - 48px));
  --radius-large: 24px;
  --radius-medium: 16px;
  --tracking-body: 0.025em;
  --tracking-heading: 0.008em;
  --tracking-label: 0.1em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 30%),
    var(--background);
  font-family: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}

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

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: #08090a;
  background: #fff;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  background: rgba(8, 9, 10, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  transform: skew(-15deg);
}

.brand-mark::before {
  left: 7px;
}

.brand-mark::after {
  left: 15px;
  opacity: 0.5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-auth,
.nav-member,
.nav-account {
  color: #e9e9e9;
  white-space: nowrap;
}

.nav-member {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
}

.nav-member:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.nav-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.nav-account-name {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-download {
  padding: 9px 15px;
  color: #08090a !important;
  background: #fff;
  border-radius: 9px;
  letter-spacing: 0.06em;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 790px;
  padding: 180px 0 110px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-inner {
  max-width: 1040px;
}

.eyebrow,
.section-kicker {
  color: #b9bcc0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1020px;
  margin: 28px auto 25px;
  font-size: clamp(48px, 7.1vw, 94px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: #b1b4b8;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  letter-spacing: 0.035em;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  scroll-margin-top: 100px;
}

.primary-button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #08090a;
  background: #fff;
  border-radius: 11px;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover {
  background: #e9e9e9;
  transform: translateY(-2px);
}

.support-note {
  margin: 18px 0 0;
  color: var(--muted-low);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.055em;
}

.hero-line {
  width: min(860px, 80vw);
  height: 1px;
  margin: 104px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  box-shadow: 0 0 80px 20px rgba(255, 255, 255, 0.08);
}

.section {
  padding: 112px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: var(--tracking-body);
}

.home-stage {
  min-height: 800px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(380px, 480px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.055), transparent 34%),
    #0b0c0e;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.plugin-frame {
  width: min(430px, 100%);
  height: 680px;
  margin-inline: auto;
  overflow: hidden;
  background: #090a0b;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.52);
}

.plugin-titlebar {
  height: 36px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #101112;
  border-bottom: 1px solid #202224;
}

.titlebar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.titlebar-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #a8abad;
}

.titlebar-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.window-sign {
  width: 22px;
  color: #a8abad;
  text-align: center;
  font-size: 14px;
}

.plugin-home-list {
  height: calc(100% - 36px);
  padding: 10px;
  overflow-y: auto;
  scrollbar-color: #303236 transparent;
  scrollbar-width: thin;
}

.plugin-entry {
  min-height: 139px;
  margin-bottom: 10px;
  padding: 26px;
  overflow: hidden;
  position: relative;
  background: #121212;
  border: 1px solid #202122;
  border-radius: 16px;
}

.plugin-entry::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -44px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(255, 255, 255, 0.012),
    0 0 0 52px rgba(255, 255, 255, 0.008);
}

.plugin-entry img {
  width: 25px;
  height: 25px;
  margin-bottom: 13px;
  object-fit: contain;
  filter: brightness(0) invert(82%);
}

.plugin-entry h3 {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.plugin-entry p {
  margin-bottom: 0;
  color: #999c9f;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

.home-copy h3 {
  margin: 12px 0 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.home-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.home-copy ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.home-copy li {
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #d4d5d7;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.home-copy li span:last-child {
  color: var(--muted-low);
  text-align: right;
}

.promo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(145deg, #131416, #090a0b 66%);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.promo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.promo-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
}

.promo-placeholder strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.promo-placeholder > span:last-child {
  display: block;
  margin-top: 10px;
  color: var(--muted-low);
  font-size: 12px;
  letter-spacing: 0.07em;
}

.play-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 10, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.play-button::after {
  content: "";
  margin-left: 3px;
  border-left: 8px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.play-button.large {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
}

.play-button.large::after {
  margin-left: 5px;
  border-left-width: 14px;
  border-top-width: 9px;
  border-bottom-width: 9px;
}

.feature-stack {
  display: grid;
  gap: 24px;
}

.openfx-panel,
.feature-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
}

.openfx-panel {
  padding: clamp(26px, 4vw, 48px);
}

.openfx-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.openfx-heading h3,
.feature-copy h3 {
  margin: 10px 0 0;
  font-size: clamp(29px, 4vw, 47px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.openfx-heading p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

code {
  padding: 2px 5px;
  color: #dedfe1;
  background: #191a1d;
  border-radius: 5px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.openfx-window {
  padding: 12px;
  background: #090a0b;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.window-bar,
.visual-bar {
  height: 40px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #909398;
  background: #101112;
  border-radius: 9px;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  background: #595c60;
  border-radius: 50%;
}

.openfx-grid {
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.openfx-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: #121315;
  border-radius: 10px;
}

.openfx-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #151618;
}

.openfx-media img,
.openfx-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.openfx-media img {
  opacity: 0;
  transition: opacity 220ms ease;
}

.openfx-card.image-ready img {
  opacity: 1;
}

.openfx-media video {
  opacity: 0;
  transition: opacity 180ms ease;
}

.openfx-card.video-ready video {
  opacity: 1;
}

.openfx-card.video-ready img {
  opacity: 0;
}

.openfx-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rotate-loader 700ms linear infinite;
}

.openfx-card.image-ready:not(.loading-video) .openfx-loader {
  display: none;
}

.openfx-label {
  min-height: 42px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #d7d8da;
  font-size: 11px;
  letter-spacing: 0.035em;
}

.openfx-label small {
  color: #666a70;
  font-size: 9px;
  letter-spacing: 0.08em;
}

@keyframes rotate-loader {
  to {
    transform: rotate(360deg);
  }
}

.feature-panel {
  padding: clamp(26px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.feature-panel:nth-child(odd) .feature-copy {
  order: 2;
}

.feature-panel:nth-child(odd) .feature-visual {
  order: 1;
}

.feature-icon {
  width: 27px;
  height: 27px;
  margin-bottom: 24px;
  object-fit: contain;
  fill: #fff;
  filter: brightness(0) invert(1);
}

svg.feature-icon {
  filter: none;
}

.feature-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  padding: 8px 10px;
  color: #b9bbbe;
  background: #151618;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.feature-visual {
  min-width: 0;
  min-height: 340px;
  padding: 18px;
  overflow: hidden;
  background: #090a0b;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.video-preview-grid {
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.video-preview::before,
.video-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.video-preview::before {
  width: 70%;
  height: 28%;
  transform: rotate(-18deg);
  background: rgba(255, 255, 255, 0.09);
}

.video-preview::after {
  width: 34%;
  height: 70%;
  right: 7%;
  background: rgba(255, 255, 255, 0.05);
}

.video-preview .play-button {
  position: relative;
  z-index: 2;
}

.tone-a {
  background: linear-gradient(145deg, #2f343a, #111316);
}

.tone-b {
  background: linear-gradient(145deg, #28282a, #101112 65%);
}

.tone-c {
  background: linear-gradient(145deg, #34312d, #121213);
}

.tone-d {
  background: linear-gradient(145deg, #1d2428, #0e1012);
}

.tone-e {
  background: linear-gradient(145deg, #323237, #121214);
}

.tone-f {
  background: linear-gradient(145deg, #262b2d, #101112);
}

.audio-panel {
  min-height: 380px;
}

.audio-stage {
  min-height: 300px;
  padding: 24px 8px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.waveform {
  width: 100%;
  height: 148px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.waveform i {
  min-width: 2px;
  flex: 1 1 0;
  height: var(--bar-height);
  background: #d9d9da;
  border-radius: 999px;
}

.waveform i:nth-child(n + 39) {
  background: #4c4f53;
}

.audio-controls {
  width: 100%;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: #a9acb0;
  font-size: 11px;
}

.round-play {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
}

.round-play::after {
  content: "";
  margin-left: 3px;
  border-left: 8px solid #08090a;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.audio-line {
  height: 3px;
  overflow: hidden;
  background: #2d2f32;
  border-radius: 3px;
}

.audio-line i {
  display: block;
  width: 47%;
  height: 100%;
  background: #fff;
  border-radius: inherit;
}

.filter-panel {
  min-height: 400px;
}

.compare-slider {
  --position: 52%;
  position: relative;
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: 10px;
  touch-action: pan-y;
}

.compare-slider > img,
.compare-after,
.compare-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-slider img {
  object-fit: cover;
}

.compare-after {
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.compare-after img {
  max-width: none;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 4;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}

.compare-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #08090a;
  background: #fff;
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
}

.compare-slider input {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  top: 12px;
  z-index: 5;
  padding: 7px 9px;
  color: #fff;
  background: rgba(8, 9, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.11em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.before-label {
  left: 12px;
}

.after-label {
  right: 12px;
}

.subtitle-list {
  padding-top: 12px;
  display: grid;
  gap: 9px;
}

.subtitle-list > div {
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  color: #d9dade;
  background: #121315;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.subtitle-list time {
  color: #666a70;
  font-variant-numeric: tabular-nums;
}

.subtitle-list p {
  margin: 0;
}

.four-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.four-actions span,
.image-actions span {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: #b0b2b6;
  background: #111214;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
}

.voice-layout {
  padding-top: 12px;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
}

.voice-avatars {
  display: grid;
  gap: 8px;
}

.voice-avatars span {
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a8aaae;
  background: #121315;
  border-radius: 8px;
  font-size: 11px;
}

.voice-avatars span.active {
  color: #08090a;
  background: #fff;
}

.voice-avatars i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #3a3c40;
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
}

.voice-avatars .active i {
  background: #202124;
}

.voice-editor {
  min-height: 252px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  color: #d9dade;
  background: #111214;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
}

.voice-editor p {
  margin: 0;
}

.voice-editor span {
  min-height: 39px;
  margin-top: auto;
  display: grid;
  place-items: center;
  color: #08090a;
  background: #fff;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.image-panel {
  min-height: 430px;
}

.sticker-preview-grid {
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sticker {
  aspect-ratio: 1;
  background-color: #151618;
  background-image: url("../images/sticker-pack.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sticker-1 {
  background-position: 0 0;
}

.sticker-2 {
  background-position: 50% 0;
}

.sticker-3 {
  background-position: 100% 0;
}

.sticker-4 {
  background-position: 0 100%;
}

.sticker-5 {
  background-position: 50% 100%;
}

.sticker-6 {
  background-position: 100% 100%;
}

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

.settings-preview {
  padding-top: 12px;
  display: grid;
  gap: 9px;
}

.settings-preview > div {
  min-height: 50px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  color: #d6d7d9;
  background: #121315;
  border-radius: 9px;
  font-size: 12px;
}

.settings-preview b {
  color: #777b80;
  font-weight: 400;
}

.settings-preview .light-button {
  padding: 7px 10px;
  color: #08090a;
  background: #fff;
  border-radius: 7px;
}

.brand-section {
  padding-bottom: 130px;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: #0b0c0e;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.brand-wall > div {
  min-height: 144px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8babe;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-wall > div:nth-child(5n) {
  border-right: 0;
}

.brand-wall > div:nth-child(n + 6) {
  border-bottom: 0;
}

.brand-wall img {
  display: block;
  width: auto;
  max-width: min(132px, 86%);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  opacity: 0.9;
}

.brand-logo-empty {
  display: block;
  width: min(132px, 86%);
  height: 52px;
}

.closing {
  padding: 150px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.closing h2 {
  margin-bottom: 34px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

footer {
  padding: 28px 0 38px;
  color: #707479;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .nav-section {
    display: none;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    min-height: 700px;
    padding-top: 148px;
  }

  .home-stage {
    padding: 38px 24px;
    grid-template-columns: 1fr;
  }

  .home-copy {
    max-width: 560px;
    margin-inline: auto;
  }

  .feature-panel,
  .feature-panel:nth-child(odd) {
    grid-template-columns: 1fr;
  }

  .feature-panel:nth-child(odd) .feature-copy,
  .feature-panel:nth-child(odd) .feature-visual {
    order: initial;
  }

  .openfx-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .brand-wall > div,
  .brand-wall > div:nth-child(5n),
  .brand-wall > div:nth-child(n + 6) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .brand-wall > div:nth-child(2n) {
    border-right: 0;
  }

  .brand-wall > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100vw - 24px);
  }

  .site-header {
    height: 58px;
  }

  .nav-download {
    padding: 8px 11px;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .nav-member {
    padding: 7px 9px;
  }

  .hero {
    min-height: 650px;
    padding: 126px 0 78px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .support-note {
    max-width: 330px;
    margin-inline: auto;
  }

  .section {
    padding: 78px 0;
  }

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

  .home-stage {
    padding: 24px 12px 34px;
    border-radius: 20px;
  }

  .plugin-frame {
    height: 620px;
    border-radius: 14px;
  }

  .plugin-entry {
    min-height: 126px;
    padding: 22px;
  }

  .promo-frame,
  .feature-panel,
  .openfx-panel {
    border-radius: 18px;
  }

  .feature-panel,
  .openfx-panel {
    padding: 22px 14px;
  }

  .feature-visual {
    min-height: 280px;
    padding: 12px;
  }

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

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

  .waveform {
    gap: 1px;
  }

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

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

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

  .voice-avatars span {
    justify-content: center;
  }

  .voice-avatars span {
    font-size: 0;
  }

  .sticker-preview-grid {
    gap: 7px;
  }

  .brand-wall > div {
    min-height: 112px;
    padding: 18px 10px;
    font-size: 10px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .nav-account-name {
    display: none;
  }

  .nav-account {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* WordPress admin bar spacing. */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
