@charset "UTF-8";

/* 作者：搭客佬
链接：https://www.hgaidjgw.cn/ */

:root {
  --brand: #ff4b3e;
  --brand-deep: #d52a24;
  --gold: #ffc82e;
  --gold-soft: #fff0b8;
  --ink: #181316;
  --ink-soft: #4f4647;
  --paper: #fffdf8;
  --cream: #fff6e9;
  --peach: #ffe1c3;
  --line: #e8d8c7;
  --green: #218456;
  --header-height: 84px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

figure {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-shell,
.section-shell,
.footer-shell,
.hero-shell {
  width: min(calc(100% - 40px), var(--container));
  margin-right: auto;
  margin-left: auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 13px;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  white-space: nowrap;
}

.brand-copy span,
.footer-brand span span {
  margin-top: 3px;
  color: #80706a;
  font-size: 12px;
  white-space: nowrap;
}

.primary-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  gap: 38px;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 28px 0 27px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
}

.primary-nav a:hover::after,
.primary-nav a.is-current::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-tools {
  display: none;
}

.hero {
  position: relative;
  background:
    linear-gradient(#f3e4d2 1px, transparent 1px),
    linear-gradient(90deg, #f3e4d2 1px, transparent 1px),
    var(--cream);
  background-size: 52px 52px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 58px;
  right: max(calc((100vw - var(--container)) / 2 - 90px), -60px);
  width: 280px;
  height: 36px;
  background: var(--gold);
  content: "";
}

.hero-shell {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 82px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-index,
.board-kicker,
.route-label,
.download-kicker {
  display: block;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(66px, 6vw, 94px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-slogan {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-description {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-download {
  display: inline-flex;
  min-width: 218px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 26px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.hero-download:hover,
.hero-download:focus-visible {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 7px 7px 0 var(--brand);
}

.hero-download:hover i,
.hero-download:focus-visible i {
  filter: invert(1);
}

.age-label {
  display: block;
  margin-top: 16px;
  color: #776b65;
  font-size: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero-points i,
.hero-download i,
.generate-button i,
.official-site i,
.back-top i {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.i-download {
  background-image: url("../icons/download.svg");
}

.i-spark {
  background-image: url("../icons/spark.svg");
}

.i-film {
  background-image: url("../icons/film.svg");
}

.i-compass {
  background-image: url("../icons/compass.svg");
}

.i-globe {
  background-image: url("../icons/globe.svg");
}

.i-arrow-up {
  background-image: url("../icons/arrow-up.svg");
}

.ai-console {
  position: relative;
  min-width: 0;
  padding: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 16px 16px 0 rgba(255, 75, 62, 0.2);
}

.ai-console::before {
  position: absolute;
  top: -12px;
  right: 22px;
  left: 22px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 23px);
  content: "";
}

.console-topline,
.console-title,
.duration-row,
.output-title,
.voice-user-row,
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-topline {
  padding-bottom: 14px;
  color: #8b7770;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.console-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  letter-spacing: 0;
}

.console-online i {
  width: 8px;
  height: 8px;
  background: #37c77c;
  border-radius: 50%;
}

.console-title {
  padding: 24px 0 20px;
}

.console-title span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.console-title h2 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.25;
}

.console-title .console-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

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

.mood-option,
.duration-option,
.prompt-tag,
.route-filter {
  min-height: 42px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.mood-option:hover,
.mood-option:focus-visible,
.mood-option.is-active {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

.duration-row {
  gap: 20px;
  padding: 20px 0;
  font-size: 13px;
  font-weight: 700;
}

.duration-options {
  display: flex;
  gap: 6px;
}

.duration-option {
  min-height: 34px;
  padding: 5px 12px;
}

.duration-option:hover,
.duration-option:focus-visible,
.duration-option.is-active {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.console-result {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  background: var(--ink);
}

.result-index {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: #292123;
  font-size: 12px;
  font-weight: 800;
  writing-mode: vertical-rl;
}

.result-copy {
  min-width: 0;
  padding: 20px 22px;
}

.result-copy span,
.result-copy strong,
.result-copy p {
  display: block;
}

.result-copy span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.result-copy strong {
  margin: 4px 0;
  color: var(--paper);
  font-size: 22px;
}

.result-copy p {
  margin-bottom: 0;
  color: #d9cdca;
  font-size: 13px;
}

.generate-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.generate-button:hover,
.generate-button:focus-visible {
  color: var(--paper);
  background: var(--brand);
}

.playlist-section,
.route-section,
.screens-section,
.faq-section,
.voices-section,
.download-section {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin-bottom: 3px;
  color: #71645e;
  font-size: 15px;
}

.playlist-section {
  background: var(--paper);
}

.playlist-board {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.9fr;
  border: 1px solid var(--ink);
}

.playlist-prompt,
.playlist-flow,
.playlist-output {
  min-width: 0;
  padding: 34px;
}

.playlist-prompt {
  background: var(--peach);
  border-right: 1px solid var(--ink);
}

.playlist-prompt > strong {
  display: block;
  margin: 18px 0 26px;
  font-size: 25px;
  line-height: 1.55;
}

.prompt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-tag:hover,
.prompt-tag:focus-visible,
.prompt-tag.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.playlist-flow {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 0;
  list-style: none;
}

.playlist-flow li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.playlist-flow li:last-child {
  border-bottom: 0;
}

.playlist-flow li > span {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--brand);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.playlist-flow strong,
.playlist-flow p {
  display: block;
}

.playlist-flow strong {
  font-size: 18px;
}

.playlist-flow p {
  margin-bottom: 0;
  color: #766a65;
  font-size: 13px;
}

.playlist-output {
  color: var(--paper);
  background: var(--ink);
}

.playlist-output .board-kicker {
  color: var(--gold);
}

.output-title {
  margin: 20px 0 24px;
}

.output-title strong {
  font-size: 24px;
}

.output-title span {
  color: var(--gold);
  font-size: 12px;
}

.playlist-output ul {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.playlist-output li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #4b4143;
}

.playlist-output li span {
  color: #b8aaa6;
  font-size: 12px;
}

.playlist-output li strong {
  font-size: 14px;
}

.route-section {
  background: #fff1df;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.route-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.route-card-wide {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 18px;
}

.route-number {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.route-card h3 {
  margin: 8px 0 12px;
  font-size: 26px;
}

.route-card p {
  margin-bottom: 0;
  color: #71655f;
  font-size: 14px;
}

.route-demo {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.route-filter:hover,
.route-filter:focus-visible,
.route-filter.is-active {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--brand);
}

.progress-demo {
  position: absolute;
  right: 34px;
  bottom: 40px;
  left: 34px;
  height: 8px;
  background: #f2e6d9;
}

.progress-demo span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.route-card-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.route-card-dark .route-label {
  color: var(--gold);
}

.route-card-dark p {
  color: #d8ccca;
}

.task-switch {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  color: var(--paper);
  background: #2f2729;
  border: 1px solid #524649;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.task-switch i {
  position: relative;
  width: 42px;
  height: 22px;
  background: #75696b;
  border-radius: 20px;
}

.task-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border-radius: 50%;
  content: "";
}

.task-switch.is-active i {
  background: var(--green);
}

.task-switch.is-active i::after {
  left: 23px;
}

.screens-section {
  background: #181316;
}

.screens-section .section-index,
.screens-section .section-heading p {
  color: var(--gold);
}

.screens-section .section-heading h2 {
  color: var(--paper);
}

.screen-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-grid figure {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #57494c;
}

.screen-window {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.screen-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-grid figcaption {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.screen-grid figcaption span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.screen-grid figcaption strong {
  font-size: 18px;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  width: 100%;
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 80px;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.faq-item button strong {
  font-size: 17px;
}

.faq-item button > i,
.official-state {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.faq-item button > i::before,
.faq-item button > i::after,
.official-state::before,
.official-state::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.faq-item button > i::after,
.official-state::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] > i::after,
.official-site[open] .official-state::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 70px 24px 100px;
}

.faq-answer p {
  margin-bottom: 0;
  color: #6f625c;
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 34px;
  border: 1px solid var(--ink);
}

.official-site summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.official-site summary strong {
  font-size: 16px;
}

.official-content {
  padding: 0 24px 24px 58px;
}

.official-content p {
  margin-bottom: 4px;
  color: #766a65;
  font-size: 13px;
}

.official-content a {
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
}

.voices-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

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

.voice-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  background: var(--paper);
  border-top: 4px solid var(--brand);
  box-shadow: 0 12px 32px rgba(70, 38, 20, 0.06);
}

.voice-user-row {
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.voice-user {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.voice-user strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.i-avatar {
  display: inline-block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background-color: var(--peach);
  background-image: url("../icons/user.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
  border: 1px solid #ffc48d;
  border-radius: 50%;
}

.voice-rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--brand);
  font-size: 13px;
  white-space: nowrap;
}

.voice-rating .aiarticle-comment-rating-icon {
  margin-left: 2px;
  color: var(--brand);
  font-size: 13px;
  font-style: normal;
}

.voice-rating .fa-star::before {
  content: "★";
}

.voice-rating .fa-star-o::before {
  content: "☆";
}

.voice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 18px;
}

.voice-body p {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.voice-body time {
  display: block;
  margin-top: auto;
  color: #887970;
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 76px 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 200, 46, 0.44) 1px, transparent 1.5px),
    var(--ink);
  background-size: 18px 18px;
}

.download-stage {
  display: grid;
  min-height: 210px;
  grid-template-columns: 150px minmax(260px, 1fr) minmax(300px, 0.92fr) 210px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid #463a3c;
}

.download-sequence {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 26px;
  color: var(--ink);
  background: var(--gold);
  border-right: 1px dashed var(--ink);
}

.download-sequence span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.download-sequence strong {
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
  writing-mode: vertical-rl;
}

.download-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px;
  color: var(--ink);
}

.download-copy h2 {
  margin: 6px 0 10px;
  font-size: 32px;
  line-height: 1.25;
  white-space: nowrap;
}

.download-copy p {
  margin-bottom: 0;
  color: #6d605a;
  font-size: 13px;
}

.download-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  margin-bottom: 0;
  color: var(--ink);
  background: #fff8ec;
  border-left: 1px solid var(--line);
  list-style: none;
}

.download-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

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

.download-steps span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.download-steps strong {
  font-size: 13px;
}

.download-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--paper);
  background: var(--brand);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.download-ticket i {
  display: block;
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(1);
}

.download-ticket:hover,
.download-ticket:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.download-ticket:hover i,
.download-ticket:focus-visible i {
  filter: none;
}

.site-footer {
  color: var(--paper);
  background: #100c0e;
}

.footer-shell {
  padding-top: 44px;
  padding-bottom: 24px;
}

.footer-main {
  gap: 40px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-brand span span {
  color: #b8aaa6;
}

.footer-nav ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.footer-nav a {
  color: #e8dcda;
  font-size: 13px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold);
}

.footer-copy {
  padding-top: 20px;
  margin: 30px 0 0;
  color: #b8aaa6;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top i {
  filter: invert(1);
}

.back-top:hover,
.back-top:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.back-top:hover i,
.back-top:focus-visible i {
  filter: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #1675d1;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .primary-nav ul {
    gap: 24px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-slogan {
    font-size: 25px;
  }

  .playlist-board {
    grid-template-columns: 1fr 1fr;
  }

  .playlist-output {
    grid-column: 1 / -1;
  }

  .route-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-card-wide {
    grid-column: 1 / -1;
  }

  .download-stage {
    grid-template-columns: 130px minmax(0, 1fr) 210px;
  }

  .download-steps {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    height: var(--header-height);
  }

  .header-shell,
  .section-shell,
  .footer-shell,
  .hero-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    margin-top: 1px;
    font-size: 12px;
  }

  .mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .mobile-download {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    color: var(--paper);
    background: var(--brand);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--ink);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--ink);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    width: min(calc(100% - 28px), var(--container));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 0;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    width: 100%;
    padding: 13px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero::before {
    top: auto;
    right: 0;
    bottom: 40px;
    width: 110px;
    height: 18px;
  }

  .hero-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

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

  .hero h1 {
    font-size: clamp(52px, 16vw, 74px);
    white-space: normal;
  }

  .hero-slogan {
    font-size: 24px;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-points {
    justify-content: center;
  }

  .ai-console {
    width: min(100%, 620px);
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .playlist-section,
  .route-section,
  .screens-section,
  .faq-section,
  .voices-section,
  .download-section {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .playlist-board {
    grid-template-columns: 1fr;
  }

  .playlist-prompt {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .playlist-output {
    grid-column: auto;
  }

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

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

  .download-stage {
    grid-template-columns: 112px minmax(0, 1fr) 180px;
  }

  .download-copy {
    padding: 28px;
  }

  .download-copy h2 {
    font-size: 27px;
  }
}

@media (max-width: 620px) {
  .hero-shell {
    padding-top: 52px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(45px, 14vw, 62px);
  }

  .hero-slogan {
    font-size: 21px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-points {
    gap: 12px 18px;
  }

  .ai-console {
    padding: 20px;
    box-shadow: 9px 9px 0 rgba(255, 75, 62, 0.2);
  }

  .console-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .console-title {
    padding: 18px 0;
  }

  .console-title h2 {
    font-size: 25px;
  }

  .console-title .console-number {
    font-size: 42px;
  }

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

  .duration-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .duration-options {
    width: 100%;
  }

  .duration-option {
    flex: 1;
  }

  .console-result {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .result-copy {
    padding: 16px;
  }

  .result-copy strong {
    font-size: 18px;
  }

  .playlist-prompt,
  .playlist-flow,
  .playlist-output {
    padding: 24px;
  }

  .playlist-prompt > strong {
    font-size: 21px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card-wide {
    grid-column: auto;
  }

  .route-card {
    min-height: 270px;
    padding: 26px;
  }

  .progress-demo,
  .task-switch {
    right: 26px;
    left: 26px;
  }

  .screen-grid figcaption {
    min-height: 68px;
    gap: 8px;
    padding: 12px 10px;
  }

  .screen-grid figcaption strong {
    font-size: 14px;
  }

  .faq-item > button {
    min-height: 72px;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 16px 12px;
  }

  .faq-item button strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 18px 20px 56px;
  }

  .official-site summary {
    padding: 16px;
  }

  .official-site summary strong {
    font-size: 14px;
  }

  .official-content {
    padding: 0 16px 20px 50px;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voice-card {
    min-height: 230px;
  }

  .download-stage {
    grid-template-columns: 1fr;
  }

  .download-sequence {
    min-height: 86px;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px dashed var(--ink);
  }

  .download-sequence strong {
    font-size: 30px;
    writing-mode: horizontal-tb;
  }

  .download-copy {
    padding: 26px 22px;
    text-align: center;
  }

  .download-copy h2 {
    font-size: 25px;
  }

  .download-ticket {
    min-height: 84px;
    flex-direction: row;
  }

  .footer-main {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 14px 20px;
  }

  .footer-copy {
    margin-top: 24px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .header-shell,
  .section-shell,
  .footer-shell,
  .hero-shell {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .mobile-download {
    min-height: 38px;
    padding: 7px 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-download {
    width: min(100%, 240px);
    min-width: 0;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .screen-grid figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (hover: none) {
  *,
  *::before,
  *::after {
    -webkit-tap-highlight-color: transparent;
  }

  a,
  button,
  summary {
    transition: none;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

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