.nav-brand-link {
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
}

.nav-links a,
.nav-links .nav-tab,
.footer-links a,
.content-page a,
.guide-grid a {
  color: #b59eff;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links .nav-tab:hover,
.footer-links a:hover,
.content-page a:hover,
.guide-grid a:hover {
  color: #fff;
}

.nav-links a {
  display: inline-flex;
  justify-content: center;
  min-width: 64px;
}

.nav-links .nav-tab {
  display: inline-flex;
  justify-content: center;
}

.content-main {
  width: 100%;
}

.home-page {
  width: 100%;
}

.home-page.hidden {
  display: none;
}

.home-hero {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 72px 20px 64px;
}

.home-hero::before {
  background: radial-gradient(circle at 50% 20%, rgba(124, 92, 252, .14), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.wave-bg {
  height: 100%;
  inset: 0;
  opacity: .58;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.home-hero-inner {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.home-hero h1 {
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.home-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.75;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.home-cta {
  border: 1px solid #333;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  padding: 12px 18px;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}

.home-cta.primary {
  background: #7c5cfc;
  border-color: #7c5cfc;
  color: #fff;
}

.home-cta.secondary {
  background: #181818;
  color: #e8e8e8;
}

.home-cta:hover {
  opacity: .88;
}

.content-band {
  width: 100%;
  border-top: 1px solid #222;
  padding: 56px 20px;
}

.content-band:nth-child(even) {
  background: #111;
}

.content-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.content-inner h2,
.content-page h1,
.content-page h2 {
  color: #fff;
  line-height: 1.25;
}

.content-inner h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.content-inner p,
.content-page p,
.content-page li {
  color: #b8b8b8;
  line-height: 1.8;
  font-size: .95rem;
}

.eyebrow {
  color: #7c5cfc;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.info-grid,
.guide-grid,
.faq-list,
.workflow-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

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

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

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

.info-grid article,
.workflow-grid article,
.faq-list article,
.note-box,
.guide-grid a {
  background: #181818;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 18px;
}

.info-grid h3,
.workflow-grid h3,
.faq-list h3,
.note-box h3,
.guide-grid strong {
  display: block;
  color: #f4f4f4;
  font-size: .98rem;
  margin-bottom: 8px;
}

.guide-grid span {
  color: #aaa;
  display: block;
  line-height: 1.65;
  font-size: .86rem;
}

.step-badge {
  align-items: center;
  background: #7c5cfc;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  margin-bottom: 12px;
  width: 28px;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  border-left: 3px solid #7c5cfc;
  padding-left: 12px;
}

.content-page table {
  border-collapse: collapse;
  color: #b8b8b8;
  font-size: .9rem;
  line-height: 1.65;
  margin-top: 16px;
  table-layout: fixed;
  width: 100%;
  word-break: break-word;
}

.content-page th,
.content-page td {
  border: 1px solid #2a2a2a;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.content-page th {
  background: #181818;
  color: #f4f4f4;
}

.content-page tbody tr:nth-child(even) {
  background: #121212;
}

.guide-note {
  background: #181818;
  border: 1px solid #282828;
  border-radius: 8px;
  color: #b8b8b8;
  line-height: 1.75;
  margin: 18px 0;
  padding: 16px 18px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
  gap: 24px;
  align-items: start;
}

.step-list {
  padding-left: 20px;
}

.step-list li + li,
.content-page li + li {
  margin-top: 8px;
}

.site-footer {
  width: 100%;
  background: #101010;
  border-top: 1px solid #222;
  padding: 22px 20px;
  color: #777;
  font-size: .82rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-page {
  width: 100%;
  padding: 46px 20px 60px;
}

.content-shell {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.content-page h1 {
  text-align: left;
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.content-page h2 {
  font-size: 1.25rem;
  margin: 34px 0 10px;
}

.content-page ul,
.content-page ol {
  padding-left: 22px;
  margin-top: 10px;
}

.updated {
  color: #777;
  font-size: .82rem;
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  background: #181818;
  border: 1px solid #282828;
  border-radius: 8px;
  margin-top: 10px;
  padding: 14px 16px;
}

.score-results {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.score-card {
  background: #181818;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 16px;
}

.score-card h3 {
  color: #f4f4f4;
  font-size: .95rem;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.score-meter {
  background: #111;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 12px;
}

.score-meter-label {
  color: #aaa;
  display: flex;
  font-size: .78rem;
  justify-content: space-between;
  margin-bottom: 8px;
}

.score-bar {
  background: #272727;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.score-bar span {
  background: #7c5cfc;
  display: block;
  height: 100%;
  width: 0;
}

.score-meter.bgm .score-bar span {
  background: #f59e0b;
}

.score-summary {
  color: #d6d6d6;
  font-size: .86rem;
  line-height: 1.7;
  margin-top: 12px;
}

.score-metrics {
  color: #929292;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: .76rem;
  line-height: 1.55;
  margin-top: 12px;
}

.score-notes {
  color: #aaa;
  font-size: .78rem;
  line-height: 1.65;
  margin-top: 12px;
  padding-left: 18px;
}

@media (min-width: 760px) {
  .nav-inner {
    max-width: 1040px;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    height: auto;
    min-height: 52px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-actions,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-tab {
    min-width: 0;
  }

  #langSwitcher {
    min-width: 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-links a {
    min-width: 52px;
  }

  .info-grid,
  .guide-grid,
  .faq-list,
  .workflow-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .content-band {
    padding: 42px 20px;
  }

  .home-hero {
    padding: 50px 20px 44px;
  }

  .home-hero h1 {
    font-size: 1.85rem;
  }

  .home-actions {
    flex-direction: column;
  }

  .home-cta {
    width: 100%;
  }

  .score-grid,
  .score-metrics {
    grid-template-columns: 1fr;
  }

  .split-settings {
    grid-template-columns: 1fr;
  }

  .split-settings label {
    grid-template-columns: minmax(0, 1fr) 56px 22px;
  }
}
