:root {
  color-scheme: dark;
  --bg: #07131b;
  --panel: #0d1624;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf4ff;
  --muted: #9bb0c8;
  --brand: #2dd4bf;
  --brand-2: #14b8a6;
  --danger: #fb7185;
  --warn: #f59e0b;
  --ok: #34d399;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.14), transparent 30%),
    linear-gradient(180deg, #091320 0%, var(--bg) 50%, #04090f 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 19, 27, 0.78);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #04211d;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links,
.lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.nav-links a,
.lang-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.lang-links a:hover,
.lang-links a[aria-current="page"] {
  color: var(--text);
}

.main { padding: 22px 0 54px; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 18px;
}

.ad-slot {
  min-height: 90px;
  padding: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.07), rgba(20, 184, 166, 0.03)),
    var(--panel);
}

.ad-slot strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-copy {
  padding: 32px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  color: #9bf5eb;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.tool-card {
  padding: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
}

.field-row input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
}

.field-row select,
.field-row textarea,
.stack-field input,
.stack-field select,
.stack-field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
}

.stack-field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-row input::placeholder { color: #7f91a7; }
.field-row textarea::placeholder,
.stack-field input::placeholder,
.stack-field textarea::placeholder { color: #7f91a7; }

.field-row input:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.field-row select:focus,
.field-row textarea:focus,
.stack-field input:focus,
.stack-field select:focus,
.stack-field textarea:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 16px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04211d;
}

.button-soft {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-options,
.sample-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.player-options {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.player-options label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.sample-caption {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.sample-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel-soft);
  color: var(--text);
  cursor: pointer;
}

.sample-chip:hover {
  border-color: rgba(45, 212, 191, 0.5);
  color: #aaf7ef;
}

.status-inline-bar {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 14px;
}

.status-inline-bar strong {
  margin-right: 8px;
  color: var(--text);
  font-size: 12px;
}

.status-box,
.manifest-box,
.explain-box,
.info-card,
.faq-card,
.related-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-soft);
}

.status-box strong,
.manifest-box strong,
.explain-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
}

.status-box,
.manifest-box,
.explain-box {
  color: var(--muted);
  font-size: 14px;
}

.tone-error {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.08);
  color: #ffd1da;
}

.tone-warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.07);
  color: #fde2ae;
}

.tone-ok {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.07);
  color: #b8ffe0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(5, 15, 25, 0.48), rgba(0, 0, 0, 0.86));
}

.empty h3 { margin-bottom: 8px; font-size: 30px; }
.empty p { max-width: 640px; color: var(--muted); margin: 0; }

.section {
  margin-top: 18px;
  padding: 26px 28px;
}

.section-head { margin-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); }

.stack-grid {
  display: grid;
  gap: 14px;
}

.stack-field {
  display: grid;
  gap: 8px;
}

.stack-field label {
  color: var(--text);
  font-weight: 600;
}

.stack-field p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.code-block {
  margin: 0;
  padding: 18px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #051019;
  color: #d7e9ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 14px;
}

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

.faq-card p,
.info-card p,
.related-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.info-card h3 a,
.faq-card h3 a,
.article-link {
  text-decoration: none;
}

.related-card {
  display: block;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}

.footer {
  padding: 22px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.footer p { margin: 0; }

.page-shell {
  padding: 28px 0 64px;
}

.page-hero {
  padding: 34px 32px;
}

.page-hero p:last-child,
.article-copy p:last-child,
.article-aside p:last-child,
.help-card p:last-child {
  margin-bottom: 0;
}

.eyebrow-subtle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.page-main,
.page-side {
  display: grid;
  gap: 18px;
}

.help-card,
.article-copy,
.article-aside {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: var(--panel-soft);
}

.help-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.help-card:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.4);
}

.help-card .meta,
.article-aside .meta {
  display: inline-block;
  margin-bottom: 12px;
  color: #9bf5eb;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-card h2,
.article-copy h2,
.article-aside h3 {
  margin-bottom: 10px;
}

.article-copy h2 {
  margin-top: 26px;
}

.article-copy h2:first-child {
  margin-top: 0;
}

.article-copy p,
.article-copy li,
.article-aside p,
.help-card p {
  color: var(--muted);
}

.article-copy ul,
.article-copy ol,
.article-aside ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.article-copy code,
.article-aside code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e9ff;
}

.article-copy pre {
  margin: 14px 0 0;
}

.article-copy blockquote {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(45, 212, 191, 0.55);
  border-radius: 0 14px 14px 0;
  background: rgba(45, 212, 191, 0.05);
  color: #cbe7e3;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
}

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

.mini-list a {
  color: inherit;
  text-decoration: none;
}

.mini-list a:hover {
  color: #aaf7ef;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2,
  .page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-right {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .tool-card,
  .section {
    padding: 22px;
  }

  h1 { font-size: 34px; }
}

.home-page {
  color-scheme: light;
  --bg: #f3f4f6;
  --panel: #ffffff;
  --panel-soft: #ffffff;
  --line: #d1d5db;
  --text: #111827;
  --muted: #4b5563;
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --shadow: none;
  background: #f3f4f6;
  color: var(--text);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
}

.home-page .container {
  width: min(980px, calc(100% - 28px));
}

.home-page .site-header {
  position: static;
  border-bottom: 1px solid #d1d5db;
  background: #ffffff;
  backdrop-filter: none;
}

.home-page .nav {
  min-height: 56px;
  align-items: flex-start;
  padding: 10px 0;
}

.home-page .brand {
  gap: 0;
  display: block;
  text-decoration: none;
}

.home-page .brand-badge {
  display: none;
}

.home-page .brand-copy strong {
  display: inline;
  font-size: 15px;
  font-weight: 700;
}

.home-page .brand-copy span {
  display: inline;
  margin-left: 10px;
  font-size: 13px;
  color: #6b7280;
}

.home-page .header-right {
  gap: 12px;
  align-items: center;
}

.home-page .nav-links,
.home-page .lang-links {
  gap: 12px;
  font-size: 13px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .nav-links a,
.home-page .lang-links a {
  color: #1d4ed8;
  text-decoration: underline;
}

.home-page .nav-links a::after,
.home-page .lang-links a::after {
  content: " |";
  color: #9ca3af;
}

.home-page .nav-links a:last-child::after,
.home-page .lang-links a:last-child::after {
  content: "";
}

.home-page .main {
  padding: 14px 0 44px;
}

.home-page .hero {
  gap: 6px;
}

.home-page .panel {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.home-page .hero-copy {
  padding: 12px 0 4px;
  text-align: center;
}

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

.home-page h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.25;
  font-weight: 700;
}

.home-page h2 {
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.3;
  margin-bottom: 4px;
}

.home-page .lead,
.home-page .section-head p,
.home-page .footer,
.home-page .sample-caption,
.home-page .player-options,
.home-page .status-inline-bar,
.home-page .faq-card p,
.home-page .info-card p,
.home-page .related-card p {
  color: #4b5563;
}

.home-page .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 80ch;
  font-size: 15px;
  line-height: 1.7;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .section-head p {
  max-width: 82ch;
  font-size: 14px;
  line-height: 1.7;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  margin-top: 2px;
}

.home-page .tool-card {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
}

.home-page .field-row {
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.home-page .field-row input {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid #9ca3af;
  background: #ffffff;
  color: #111827;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .field-row input::placeholder {
  color: #9ca3af;
}

.home-page .field-row input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.home-page .button {
  min-height: 44px;
  border-radius: 3px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .button-primary {
  background: #2563eb;
  color: #ffffff;
}

.home-page .sample-chip {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1f2937;
}

.home-page .sample-chip:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}

.home-page .status-inline-bar,
.home-page .info-card,
.home-page .faq-card,
.home-page .related-card {
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid #d1d5db;
  background: #ffffff;
}

.home-page .status-inline-bar strong {
  color: #111827;
}

.home-page .player-shell {
  margin-top: 14px;
  border-radius: 3px;
  border: 1px solid #9ca3af;
  background: #000000;
}

.home-page .empty {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(0, 0, 0, 0.68));
}

.home-page .empty h3 {
  font-size: 24px;
}

.home-page .ad-slot {
  min-height: auto;
  padding: 10px 0 4px;
  text-align: left;
  background: transparent;
  border-top: 1px solid #e5e7eb;
}

.home-page .section {
  margin-top: 0;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
}

.home-page .article-section-block + .article-section-block {
  margin-top: 0;
}

.home-page .home-copy p,
.home-page .home-faq-item p,
.home-page .home-link-item p {
  margin: 6px 0 0;
  color: #4b5563;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  max-width: 84ch;
  font-size: 14px;
}

.home-page .home-copy p:first-child {
  margin-top: 0;
}

.home-page .home-copy ol {
  margin: 8px 0 0;
  padding-left: 22px;
  color: #111827;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .home-copy li {
  margin: 6px 0;
  line-height: 1.75;
  max-width: 82ch;
  font-size: 14px;
}

.home-page .home-link-list,
.home-page .home-faq-list,
.home-page .home-next-groups {
  display: grid;
  gap: 12px;
}

.home-page .home-link-item,
.home-page .home-faq-item,
.home-page .home-next-group {
  padding-top: 4px;
  border-top: 0;
}

.home-page .home-link-item:first-child,
.home-page .home-faq-item:first-child,
.home-page .home-next-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-page .home-link-item h3,
.home-page .home-faq-item h3,
.home-page .home-next-group h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
}

.home-page .home-link-item a,
.home-page .home-next-group a {
  color: #1d4ed8;
  text-decoration: underline;
}

.home-page .home-link-item a::before {
  content: "- ";
  color: #6b7280;
  text-decoration: none;
}

.home-page .home-link-item p {
  margin-left: 14px;
}

.home-page .home-next-group p {
  margin: 5px 0 0;
  color: #4b5563;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  max-width: 84ch;
}

.home-page .home-next-group ul {
  margin: 6px 0 0;
  padding-left: 19px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

.home-page .home-next-group li {
  margin: 2px 0;
}

.home-page .home-faq-item h3::before {
  content: "Q: ";
  color: #111827;
}

.home-page .home-inline-note {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #374151;
  line-height: 1.7;
  max-width: 84ch;
  font-size: 14px;
}

.home-page .home-inline-note p {
  margin: 0;
}

.home-page .related-card {
  transition: none;
}

.home-page .related-card:hover {
  border-color: #9ca3af;
  transform: none;
}

.home-page .footer {
  padding: 14px 0 32px;
  font-size: 13px;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 720px) {
  .home-page .field-row {
    grid-template-columns: 1fr;
  }
}

/* Homepage alignment: reclaim the shared dark converter baseline and keep
   only homepage-specific content containers styled here. */
.home-page {
  color-scheme: dark;
  --bg: #07131b;
  --panel: #0d1624;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf4ff;
  --muted: #9bb0c8;
  --brand: #2dd4bf;
  --brand-2: #14b8a6;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.14), transparent 30%),
    linear-gradient(180deg, #091320 0%, var(--bg) 50%, #04090f 100%);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page .container {
  width: min(1160px, calc(100% - 28px));
}

.home-page .site-header {
  position: sticky;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 19, 27, 0.78);
  backdrop-filter: blur(16px);
}

.home-page .nav {
  min-height: 70px;
  align-items: center;
  padding: 0;
}

.home-page .brand {
  display: flex;
  gap: 12px;
}

.home-page .brand-badge {
  display: grid;
}

.home-page .brand-copy strong,
.home-page .brand-copy span {
  display: block;
}

.home-page .brand-copy strong {
  font-size: 16px;
}

.home-page .brand-copy span {
  margin-left: 0;
  font-size: 12px;
  color: var(--muted);
}

.home-page .header-right {
  gap: 18px;
  align-items: center;
}

.home-page .nav-links,
.home-page .lang-links {
  gap: 18px;
  font-size: 14px;
  font-family: inherit;
}

.home-page .nav-links a,
.home-page .lang-links a {
  color: var(--muted);
  text-decoration: none;
}

.home-page .nav-links a:hover,
.home-page .lang-links a:hover,
.home-page .lang-links a[aria-current="page"] {
  color: var(--text);
}

.home-page .nav-links a::after,
.home-page .lang-links a::after {
  content: none;
}

.home-page .main {
  padding: 22px 0 54px;
}

.home-page .hero {
  gap: 18px;
}

.home-page .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.home-page .hero-copy {
  padding: 32px;
  text-align: center;
}

.home-page .eyebrow {
  display: inline-flex;
}

.home-page h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 700;
}

.home-page h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.home-page .lead,
.home-page .section-head p,
.home-page .footer,
.home-page .sample-caption,
.home-page .player-options,
.home-page .status-inline-bar,
.home-page .faq-card p,
.home-page .info-card p,
.home-page .related-card p {
  color: var(--muted);
}

.home-page .lead {
  max-width: none;
  font-size: 18px;
  line-height: 1.6;
  font-family: inherit;
}

.home-page .section-head p {
  max-width: none;
  font-size: 15px;
  line-height: 1.7;
  font-family: inherit;
  margin-top: 0;
}

.home-page .tool-card {
  padding: 28px;
  border: 1px solid var(--line);
}

.home-page .field-row {
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.home-page .field-row input {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
}

.home-page .field-row input::placeholder {
  color: #7f91a7;
}

.home-page .field-row input:focus {
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.home-page .button {
  min-height: 58px;
  border-radius: 16px;
  font-family: inherit;
}

.home-page .button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04211d;
}

.home-page .sample-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel-soft);
  color: var(--text);
}

.home-page .sample-chip:hover {
  border-color: rgba(45, 212, 191, 0.5);
  color: #aaf7ef;
}

.home-page .status-inline-bar,
.home-page .info-card,
.home-page .faq-card,
.home-page .related-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-soft);
}

.home-page .status-inline-bar strong {
  color: var(--text);
}

.home-page .player-shell {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.home-page .empty {
  background: linear-gradient(180deg, rgba(5, 15, 25, 0.48), rgba(0, 0, 0, 0.86));
}

.home-page .empty h3 {
  font-size: 30px;
}

.home-page .ad-slot {
  min-height: 90px;
  padding: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.07), rgba(20, 184, 166, 0.03)),
    var(--panel);
  border-top: 0;
}

.home-page .section {
  margin-top: 18px;
  padding: 26px 28px;
  border-top: 0;
}

.home-page .article-section-block + .article-section-block {
  margin-top: 18px;
}

.home-page #tool-copy:empty,
.home-page .section-head p:empty {
  display: none;
}

.home-page .home-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-page .home-copy p,
.home-page .home-faq-item p,
.home-page .home-next-group p,
.home-page .home-link-item p,
.home-page .home-inline-note,
.home-page .home-next-group li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-family: inherit;
}

.home-page .home-copy p:first-child,
.home-page .home-inline-note p:first-child {
  margin-top: 0;
}

.home-page .home-copy ol,
.home-page .home-next-group ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-family: inherit;
}

.home-page .home-copy li,
.home-page .home-next-group li {
  margin: 6px 0 0;
}

.home-page .home-link-list,
.home-page .home-faq-list,
.home-page .home-next-groups {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-page .home-link-item,
.home-page .home-faq-item,
.home-page .home-next-group {
  height: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-soft);
}

.home-page .home-link-item h3,
.home-page .home-faq-item h3,
.home-page .home-next-group h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-family: inherit;
}

.home-page .home-link-item a,
.home-page .home-next-group a,
.home-page .home-faq-item a {
  color: #aaf7ef;
  text-decoration: none;
}

.home-page .home-link-item a:hover,
.home-page .home-next-group a:hover,
.home-page .home-faq-item a:hover {
  color: #d7fffa;
}

.home-page .home-inline-note p {
  margin: 0;
}

.home-page .related-card {
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.home-page .related-card:hover {
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}

.home-page .footer {
  padding: 22px 0 54px;
  font-size: 14px;
  text-align: center;
}

.home-page .footer .container {
  display: flex;
  justify-content: center;
}

.home-page .footer p {
  text-align: center;
}

@media (max-width: 720px) {
  .home-page .home-link-list,
  .home-page .home-faq-list,
  .home-page .home-next-groups {
    grid-template-columns: 1fr;
  }
}
