/* Vaice brand theme for landing + legal pages */

body.vaice-brand-page {
  margin: 0;
  display: block !important;
  height: auto !important;
  min-height: 100dvh;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #f7f7f7;
  color: #111;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS Mincho E", serif;
}

body.vaice-brand-page h1,
body.vaice-brand-page h2,
body.vaice-brand-page h3,
body.vaice-brand-page .logo-text,
body.vaice-brand-page .app-title,
body.vaice-brand-page .btn,
body.vaice-brand-page .nav-item {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS Mincho E", serif;
}

/* Landing page */
body.vaice-brand-page .lp-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

body.vaice-brand-page .lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.vaice-brand-page .lp-header-inner {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.vaice-brand-page .lp-logo {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
  text-decoration: none;
}

body.vaice-brand-page .lp-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

body.vaice-brand-page .lp-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 128px;
}

body.vaice-brand-page .lp-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: start;
}

body.vaice-brand-page .lp-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 52px 0 14px;
}

body.vaice-brand-page .lp-headline {
  margin: 0;
  max-width: 860px;
  text-wrap: balance;
}

body.vaice-brand-page .lp-waveform {
  margin: 6px 0 16px;
  width: 100%;
  height: 258px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

body.vaice-brand-page .lp-waveform-bars {
  width: 100%;
  height: 186px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  background: transparent;
}

body.vaice-brand-page .lp-waveform-bar {
  width: 7px;
  height: 34px;
  background: linear-gradient(180deg, #8a8a8a 0%, #5f5f5f 100%);
  transform-origin: bottom;
  border-radius: 999px !important;
  animation: waveform-pulse 2.8s cubic-bezier(0.42, 0, 0.2, 1) infinite;
  opacity: 0.9;
}

body.vaice-brand-page .lp-waveform-bar:nth-child(4n + 2),
body.vaice-brand-page .lp-waveform-bar:nth-child(7n + 5) {
  background: linear-gradient(180deg, #c85b5b 0%, #a33d3d 100%);
  opacity: 0.95;
}

body.vaice-brand-page .lp-waveform-bar {
  animation-delay: 0s;
}

body.vaice-brand-page .lp-waveform-bar:nth-child(1) { animation-delay: 0s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(2) { animation-delay: 0.045s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(3) { animation-delay: 0.09s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(4) { animation-delay: 0.135s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(5) { animation-delay: 0.18s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(6) { animation-delay: 0.225s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(7) { animation-delay: 0.27s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(8) { animation-delay: 0.315s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(9) { animation-delay: 0.36s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(10) { animation-delay: 0.405s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(11) { animation-delay: 0.45s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(12) { animation-delay: 0.495s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(13) { animation-delay: 0.54s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(14) { animation-delay: 0.585s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(15) { animation-delay: 0.63s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(16) { animation-delay: 0.675s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(17) { animation-delay: 0.72s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(18) { animation-delay: 0.765s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(19) { animation-delay: 0.81s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(20) { animation-delay: 0.855s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(21) { animation-delay: 0.9s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(22) { animation-delay: 0.945s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(23) { animation-delay: 0.99s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(24) { animation-delay: 1.035s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(25) { animation-delay: 1.08s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(26) { animation-delay: 1.125s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(27) { animation-delay: 1.17s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(28) { animation-delay: 1.215s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(29) { animation-delay: 1.26s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(30) { animation-delay: 1.305s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(31) { animation-delay: 1.35s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(32) { animation-delay: 1.395s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(33) { animation-delay: 1.44s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(34) { animation-delay: 1.485s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(35) { animation-delay: 1.53s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(36) { animation-delay: 1.575s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(37) { animation-delay: 1.62s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(38) { animation-delay: 1.665s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(39) { animation-delay: 1.71s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(40) { animation-delay: 1.755s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(41) { animation-delay: 1.8s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(42) { animation-delay: 1.845s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(43) { animation-delay: 1.89s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(44) { animation-delay: 1.935s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(45) { animation-delay: 1.98s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(46) { animation-delay: 2.025s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(47) { animation-delay: 2.07s; }
body.vaice-brand-page .lp-waveform-bar:nth-child(48) { animation-delay: 2.115s; }

@keyframes waveform-pulse {
  0%,
  100% {
    height: 26px;
    opacity: 0.52;
  }

  25% {
    height: 132px;
    opacity: 0.96;
  }

  50% {
    height: 74px;
    opacity: 0.72;
  }

  75% {
    height: 176px;
    opacity: 1;
  }
}

body.vaice-brand-page .lp-hero-cta {
  margin-top: 2px;
}

body.vaice-brand-page .lp-start-btn {
  display: inline-block;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding: 2px 0;
  border: none;
  border-bottom: 1px solid #d90b1c;
  transition: all 0.24s ease;
  position: relative;
}

body.vaice-brand-page .lp-start-btn:hover {
  color: #d90b1c;
  border-bottom-color: #1a1a1a;
}

body.vaice-brand-page .lp-audio {
  margin: 0;
  width: 100%;
  padding: 58px 0 8px;
}

body.vaice-brand-page .lp-audio-title {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #111;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.vaice-brand-page .lp-audio-shell {
  border-top: 1px solid #ccc;
  padding-top: 14px;
  background: transparent;
}

body.vaice-brand-page .lp-tab-toggle {
  display: none;
}

body.vaice-brand-page .lp-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px;
  background: #ddd;
  border: 1px solid #cfcfcf;
  border-radius: 999px !important;
  width: fit-content;
}

body.vaice-brand-page .lp-tab-btn {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #585858;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 999px !important;
}

#tab-voice-clone:checked ~ .lp-tab-nav label[for="tab-voice-clone"],
#tab-design-voice:checked ~ .lp-tab-nav label[for="tab-design-voice"] {
  color: #1a1a1a;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.vaice-brand-page .lp-tab-panel {
  display: none;
  padding-top: 2px;
}

#tab-voice-clone:checked ~ .lp-tab-panels .lp-panel-voice-clone,
#tab-design-voice:checked ~ .lp-tab-panels .lp-panel-design-voice {
  display: block;
}

body.vaice-brand-page .lp-tab-panel h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #111;
  line-height: 1.4;
}

body.vaice-brand-page .lp-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

body.vaice-brand-page .lp-preview-card {
  border: 1px solid #cfcfcf;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: linear-gradient(180deg, #dfdfdf 0%, #cfcfcf 100%);
  box-shadow: inset 0 -24px 28px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.vaice-brand-page .lp-preview-card:hover {
  border-color: #b6b6b6;
  transform: translateY(-1px);
}

body.vaice-brand-page .lp-preview-card.is-playing {
  border-color: rgba(217, 11, 28, 0.55);
  box-shadow: inset 0 -24px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(217, 11, 28, 0.35);
}

body.vaice-brand-page .lp-preview-card--clone {
  background:
    radial-gradient(130% 95% at 20% 8%, rgba(255, 255, 255, 0.34), rgba(196, 196, 196, 0.2) 50%, rgba(92, 92, 92, 0.3) 96%),
    linear-gradient(180deg, #e1e1e1 0%, #c7c7c7 100%);
  border-color: rgba(217, 11, 28, 0.45);
  box-shadow: inset 0 -24px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(217, 11, 28, 0.25);
}

body.vaice-brand-page .lp-preview-card--single {
  margin-bottom: 10px;
  min-height: 148px;
}

body.vaice-brand-page .lp-preview-label {
  margin: 0;
  color: #151515;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

body.vaice-brand-page .lp-preview-card audio {
  width: 100%;
  height: 34px;
  filter: grayscale(1);
  display: none;
}

body.vaice-brand-page .lp-preview-status {
  margin: 8px 0 0;
  color: #4f4f4f;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.8;
}

body.vaice-brand-page .lp-preview-card.is-playing .lp-preview-status {
  color: #d90b1c;
  opacity: 1;
}

body.vaice-brand-page .lp-footer {
  margin-top: 34px;
  min-height: 96px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px 8px !important;
}

body.vaice-brand-page .lp-footer-inner {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

body.vaice-brand-page .lp-footer-inner a {
  display: inline-block;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.24);
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

body.vaice-brand-page .lp-footer-inner a:hover {
  background: transparent;
  border-color: rgba(166, 29, 47, 0.72);
  color: #a61d2f;
}

body.vaice-brand-page .lp-actions .btn,
body.vaice-brand-page .lp-actions .btn.btn-primary {
  background: transparent !important;
  border: none !important;
  color: #1a1a1a !important;
  padding: 2px 0 !important;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 1px solid rgba(26, 26, 26, 0.28) !important;
  transition: color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

body.vaice-brand-page .lp-actions .btn:hover,
body.vaice-brand-page .lp-actions .btn.btn-primary:hover {
  color: #d90b1c !important;
  border-bottom-color: #d90b1c !important;
  text-decoration: none !important;
}

@media (max-width: 860px) {
  body.vaice-brand-page .lp-header {
    height: 76px;
  }

  body.vaice-brand-page .lp-container {
    width: min(1120px, calc(100% - 24px));
    padding-top: 94px;
  }

  body.vaice-brand-page .lp-main-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.vaice-brand-page .lp-hero {
    padding: 20px 0 8px;
  }

  body.vaice-brand-page .lp-headline {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.35;
  }

  body.vaice-brand-page .lp-audio {
    padding-top: 22px;
  }

  body.vaice-brand-page .lp-preview-grid {
    grid-template-columns: 1fr;
  }

  body.vaice-brand-page .lp-waveform {
    width: 100%;
    height: 190px;
  }

  body.vaice-brand-page .lp-waveform-bars {
    height: 146px;
  }

  body.vaice-brand-page .lp-waveform-bar {
    width: 5px;
  }

  body.vaice-brand-page .lp-footer {
    margin-top: 18px;
    min-height: 68px !important;
    padding: 8px 12px !important;
  }

  body.vaice-brand-page .lp-footer-inner {
    width: min(1120px, calc(100% - 16px));
    gap: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 640px) {
  body.vaice-brand-page .lp-header-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }

  body.vaice-brand-page .lp-logo {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  body.vaice-brand-page .lp-actions {
    gap: 10px;
  }

  body.vaice-brand-page .lp-actions .btn,
  body.vaice-brand-page .lp-actions .btn.btn-primary,
  body.vaice-brand-page .lp-start-btn {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    padding: 1px 0 !important;
  }

  body.vaice-brand-page .lp-tab-nav {
    width: 100%;
    justify-content: space-between;
  }

  body.vaice-brand-page .lp-tab-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 6px;
  }

  body.vaice-brand-page .lp-preview-card,
  body.vaice-brand-page .lp-preview-card--single {
    min-height: 128px;
  }

  body.vaice-brand-page .terms-wrap,
  body.vaice-brand-page .privacy-wrap,
  body.vaice-brand-page .sct-wrap {
    padding: 32px 14px 48px;
  }

  body.vaice-brand-page .terms-title,
  body.vaice-brand-page .privacy-title,
  body.vaice-brand-page .sct-title {
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
  }

  body.vaice-brand-page .terms-section,
  body.vaice-brand-page .privacy-section,
  body.vaice-brand-page .sct-section {
    margin-bottom: 20px;
    padding-top: 12px;
  }

  body.vaice-brand-page .terms-section h2,
  body.vaice-brand-page .privacy-section h2,
  body.vaice-brand-page .sct-section h2 {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  body.vaice-brand-page .terms-section p,
  body.vaice-brand-page .privacy-section p,
  body.vaice-brand-page .sct-section p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  body.vaice-brand-page .terms-section li,
  body.vaice-brand-page .privacy-section li,
  body.vaice-brand-page .sct-section li {
    font-size: 0.9rem;
    line-height: 1.72;
  }
}

@media (max-width: 420px) {
  body.vaice-brand-page .lp-header-inner {
    width: calc(100% - 14px);
    gap: 6px;
  }

  body.vaice-brand-page .lp-logo {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  body.vaice-brand-page .lp-actions {
    gap: 8px;
  }

  body.vaice-brand-page .lp-actions .btn,
  body.vaice-brand-page .lp-actions .btn.btn-primary {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  body.vaice-brand-page .lp-waveform {
    height: 170px;
  }

  body.vaice-brand-page .lp-waveform-bars {
    height: 124px;
  }

  body.vaice-brand-page .lp-footer-inner {
    gap: 8px;
    font-size: 0.6rem;
  }

  body.vaice-brand-page .lp-footer-inner a {
    width: auto;
    padding: 2px 0;
  }
}

/* Legal pages */
body.vaice-brand-page .terms-wrap,
body.vaice-brand-page .privacy-wrap,
body.vaice-brand-page .sct-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

body.vaice-brand-page .terms-title,
body.vaice-brand-page .privacy-title,
body.vaice-brand-page .sct-title {
  margin: 0 0 32px;
  font-size: 2rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

body.vaice-brand-page .sct-title {
  margin-bottom: 30px;
}

body.vaice-brand-page .terms-section,
body.vaice-brand-page .privacy-section,
body.vaice-brand-page .sct-section {
  margin-bottom: 30px;
  border-top: 1px solid #d0d0d0;
  padding-top: 16px;
}

body.vaice-brand-page .sct-section {
  margin-bottom: 28px;
}

body.vaice-brand-page .terms-section h2,
body.vaice-brand-page .privacy-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

body.vaice-brand-page .sct-section h2 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

body.vaice-brand-page .terms-section p,
body.vaice-brand-page .privacy-section p {
  margin: 0 0 12px;
  line-height: 1.9;
  font-size: 0.96rem;
}

body.vaice-brand-page .sct-section p {
  margin: 0 0 10px;
  line-height: 1.9;
  font-size: 0.95rem;
}

body.vaice-brand-page .terms-section ul,
body.vaice-brand-page .terms-section ol,
body.vaice-brand-page .privacy-section ul,
body.vaice-brand-page .privacy-section ol {
  margin: 0 0 12px 22px;
  padding: 0;
}

body.vaice-brand-page .sct-section ul {
  margin: 0 0 10px 20px;
  padding: 0;
}

body.vaice-brand-page .terms-section li,
body.vaice-brand-page .privacy-section li {
  margin: 0 0 8px;
  line-height: 1.85;
  font-size: 0.94rem;
}

body.vaice-brand-page .sct-section li {
  margin: 0 0 8px;
  line-height: 1.85;
  font-size: 0.93rem;
}

@media (max-width: 640px) {
  body.vaice-brand-page .terms-wrap,
  body.vaice-brand-page .privacy-wrap,
  body.vaice-brand-page .sct-wrap {
    padding: 32px 14px 48px;
  }

  body.vaice-brand-page .terms-title,
  body.vaice-brand-page .privacy-title,
  body.vaice-brand-page .sct-title {
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
  }

  body.vaice-brand-page .terms-section,
  body.vaice-brand-page .privacy-section,
  body.vaice-brand-page .sct-section {
    margin-bottom: 20px;
    padding-top: 12px;
  }

  body.vaice-brand-page .terms-section h2,
  body.vaice-brand-page .privacy-section h2,
  body.vaice-brand-page .sct-section h2 {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  body.vaice-brand-page .terms-section p,
  body.vaice-brand-page .privacy-section p,
  body.vaice-brand-page .sct-section p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  body.vaice-brand-page .terms-section li,
  body.vaice-brand-page .privacy-section li,
  body.vaice-brand-page .sct-section li {
    font-size: 0.9rem;
    line-height: 1.72;
  }
}
