:root {
  --paper: #ffffff;
  --mist: #f3f5fa;
  --cobalt: #2b52f0;
  --cobalt-dark: #1d3ec4;
  --peach: #ffb9a3;
  --ink: #171a21;
  --ink-soft: #4c5464;
  --ink-faint: #6b7385;
  --line: #dfe4f0;
  --line-soft: #e9edf7;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 44px rgba(23, 26, 33, 0.07);
  --shadow-card: 0 14px 34px rgba(23, 26, 33, 0.06);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cobalt);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 3px rgba(255, 185, 163, 0.3);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-domain {
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--peach);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--cobalt);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 66px 0 76px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 185, 163, 0.22), transparent 42%),
    radial-gradient(circle at 8% 0%, rgba(43, 82, 240, 0.08), transparent 38%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
  gap: 54px;
}

.hero-copy {
  padding-top: 8px;
}

h1 {
  margin: 18px 0 0;
  letter-spacing: -0.02em;
}

.h1-name {
  display: block;
  font-size: clamp(2.7rem, 5.2vw, 3.95rem);
  font-weight: 900;
  line-height: 1.02;
}

.h1-value {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.5vw, 1.78rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(118deg, var(--cobalt) 0%, #4a6cff 100%);
  box-shadow: 0 12px 26px rgba(43, 82, 240, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover .btn-inner,
.btn:focus-visible .btn-inner {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(43, 82, 240, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--peach);
  transition: color 0.18s ease, gap 0.18s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  gap: 10px;
  color: var(--cobalt);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-notes li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Genre index panel */
.genre-panel {
  position: relative;
  padding: 30px 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.genre-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--cobalt) 0 38%, var(--peach) 38% 64%, var(--ink) 64% 100%);
}

.genre-panel-head h2 {
  margin-top: 8px;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.panel-kicker {
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.genre-list {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.genre-list a {
  display: grid;
  grid-template-columns: 30px 58px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-soft);
  transition: background 0.16s ease, padding-left 0.16s ease;
}

.genre-list li:last-child a {
  border-bottom: 0;
}

.genre-list a:hover,
.genre-list a:focus-visible {
  background: var(--mist);
  padding-left: 12px;
}

.genre-no {
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.genre-name {
  font-size: 0.98rem;
  font-weight: 800;
}

.genre-note {
  overflow-wrap: anywhere;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.genre-list svg {
  color: var(--ink-faint);
}

.panel-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 0.76rem;
}

/* Section heading */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.section-head > p {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

/* Tabs */
.genres {
  padding: 78px 0 84px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.tab:hover {
  color: var(--ink);
  background: var(--mist);
}

.tab[aria-selected="true"] {
  background: var(--cobalt);
  color: #fff;
}

.tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.tab-panels {
  margin-top: 20px;
}

.tab-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.tab-panel:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

.tab-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  padding: 34px 36px 36px;
}

.tab-kicker {
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.tab-copy h3 {
  margin: 10px 0 12px;
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.tab-copy p:last-child {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.9;
}

.tab-points {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tab-points li {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--mist);
}

.tab-points strong {
  font-size: 0.88rem;
  font-weight: 800;
}

.tab-points span {
  color: var(--ink-faint);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* Search tools */
.tools {
  padding: 82px 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 16px;
}

.tool-card {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  border-color: #c9d4f6;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(43, 82, 240, 0.08);
  color: var(--cobalt);
}

.tool-card h3 {
  margin: 17px 0 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

.tool-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

.tool-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding: 16px 20px;
  border-left: 3px solid var(--peach);
  border-radius: 0 12px 12px 0;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}

.tool-note strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Topic cards */
.topics {
  padding: 0 0 86px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover {
  border-color: #c9d4f6;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.topic-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
  border-bottom: 1px solid var(--line-soft);
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 21px 22px 24px;
}

.topic-tags {
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.topic-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
}

.topic-body p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.82;
}

.text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--peach);
  transition: color 0.18s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cobalt);
}

/* Shelf */
.shelf {
  padding: 84px 0;
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shelf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: 54px;
}

.shelf-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

.shelf-lead {
  max-width: 32em;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.feature-check {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(43, 82, 240, 0.1);
  color: var(--cobalt);
}

.feature-list strong {
  margin-right: 8px;
  color: var(--ink);
  font-weight: 800;
}

.shelf-panel {
  padding: 24px 26px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.shelf-head h3 {
  font-size: 1.02rem;
  font-weight: 800;
}

.shelf-head span {
  color: var(--ink-faint);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.shelf-row {
  padding: 15px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.shelf-row:last-child {
  border-bottom: 0;
}

.shelf-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.shelf-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.shelf-state {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(43, 82, 240, 0.09);
  color: var(--cobalt);
  font-size: 0.7rem;
  font-weight: 800;
}

.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line-soft);
}

.progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cobalt), #5b7bff);
}

.bar-68 {
  width: 68%;
}

.bar-42 {
  width: 42%;
}

.bar-86 {
  width: 86%;
}

/* Flow */
.flow {
  padding: 84px 0;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 18px;
}

.flow-list li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.flow-no {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.flow-list h3 {
  margin: 16px 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
}

.flow-list p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.82;
}

/* FAQ */
.faq {
  padding: 84px 0 88px;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 54px;
}

.faq-intro h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.faq-intro p:last-child {
  max-width: 24em;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.85;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.18s ease;
}

.faq-item:hover {
  border-color: #c9d4f6;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex: none;
  color: var(--ink-faint);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* Download */
.download {
  padding: 88px 0 92px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  border-top: 1px solid var(--line);
}

.download-head {
  max-width: 40em;
  margin-bottom: 30px;
}

.download-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.download-head p:last-child {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 16px;
}

.dl-card {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dl-card:hover,
.dl-card:focus-visible {
  border-color: var(--cobalt);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.dl-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.dl-card-body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  height: 100%;
  padding: 24px 24px 22px;
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--cobalt);
}

.dl-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.dl-title {
  font-size: 1.04rem;
  font-weight: 800;
}

.dl-desc {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.dl-action {
  margin-top: auto;
  padding-top: 6px;
  color: var(--cobalt);
  font-size: 0.84rem;
  font-weight: 800;
}

/* Footer */
.site-footer {
  padding: 42px 0 30px;
  background: var(--ink);
  color: #e8eaf2;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 10px;
  background: #fff;
}

.footer-name {
  display: block;
  font-weight: 800;
  line-height: 1.3;
}

.footer-domain {
  display: block;
  color: #a8b0c6;
  font-size: 0.74rem;
  line-height: 1.4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  color: #c8cee0;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-copy {
  width: 100%;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa3ba;
  font-size: 0.78rem;
}

/* 404 */
.error-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 72px 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 185, 163, 0.22), transparent 44%),
    var(--paper);
}

.error-inner {
  max-width: 34em;
  text-align: center;
}

.error-code {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.error-title {
  margin: 20px 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.error-text {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.9;
}

.error-actions {
  margin-top: 28px;
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease;
}

.error-link:hover,
.error-link:focus-visible {
  background: var(--cobalt-dark);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .genre-panel {
    max-width: 40rem;
  }

  .tab-panel-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 26px 30px;
  }

  .shelf-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .section-head {
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .brand {
    margin-right: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 16px;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 46px 0 56px;
  }

  .hero-notes {
    margin-top: 24px;
  }

  h1 {
    margin-top: 14px;
  }

  .genres,
  .tools,
  .shelf,
  .flow,
  .faq,
  .download {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .topics {
    padding-bottom: 62px;
  }

  .tabs {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .tab {
    flex: 1 1 auto;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .genre-list a {
    grid-template-columns: 24px 52px minmax(0, 1fr) 14px;
    gap: 8px;
  }

  .genre-note {
    font-size: 0.76rem;
  }

  .footer-grid {
    align-items: flex-start;
  }

  .footer-copy {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }

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

  .brand-name {
    font-size: 1rem;
  }

  .brand-domain {
    font-size: 0.66rem;
  }

  .tab {
    flex: 1 1 30%;
    padding: 8px 10px;
  }

  .error-main {
    padding: 56px 0;
  }
}

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

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