:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e6ecff;
  background-color: #05060a;
  --bg: #05060a;
  --surface: #0c0f1a;
  --surface-alt: #111527;
  --stroke: rgba(230, 236, 255, 0.08);
  --accent: #7c5dfa;
  --accent-strong: #a58cff;
  --text-muted: rgba(230, 236, 255, 0.6);
  --chip: rgba(124, 93, 250, 0.15);
  --danger: #ff6b6b;
  --success: #4ade80;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #10142a, #05060a 60%);
  color: #e6ecff;
  min-height: 100vh;
}

.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.site-nav__logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: #fff;
  border-color: rgba(230, 236, 255, 0.25);
}

.hero {
  background: linear-gradient(120deg, rgba(124, 93, 250, 0.15), transparent);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.hero__content {
  flex: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent-strong);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.lede {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.chip {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.chip.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: pointer;
}

.chip.ghost {
  background: rgba(230, 236, 255, 0.05);
  border-color: var(--stroke);
  color: var(--text-muted);
}

.hero__badge {
  width: 220px;
  background: #111833;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(12, 15, 26, 0.6);
}

.hero__badge p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero__badge strong {
  display: block;
  margin-top: 0.5rem;
}

.hero__badge span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.workspace {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.panel {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  min-height: 620px;
}

.panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.panel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 0 0.3rem;
}

.panel__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.panel__actions {
  display: flex;
  gap: 0.75rem;
}

.ghost-btn {
  border: 1px solid var(--stroke);
  background: rgba(230, 236, 255, 0.04);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.ghost-btn:hover {
  background: rgba(230, 236, 255, 0.09);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field textarea,
.field input,
.field select {
  background: var(--surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #fff;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.field select {
  font-family: "Inter", sans-serif;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  padding-right: 2.75rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-position: calc(100% - 24px) center, calc(100% - 18px) center, center;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select:focus-visible {
  outline: none;
  border-color: rgba(124, 93, 250, 0.7);
  box-shadow: 0 0 0 2px rgba(124, 93, 250, 0.15);
}

.field select::-ms-expand {
  display: none;
}

.field textarea {
  min-height: clamp(520px, 65vh, 1100px);
  resize: vertical;
}

.field input[type="file"] {
  padding: 0.65rem 1rem;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.field input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.field input[type="file"]::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.field.small input,
.field.small select {
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  font-family: "Inter", sans-serif;
}

.settings {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 1.25rem;
  flex-wrap: wrap;
}

.toggles {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.toggle input {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
}

.primary-btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  border: none;
  border-radius: 18px;
  padding: 0.95rem 1.5rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.primary-btn:active {
  transform: translateY(1px);
}

.composer {
  position: relative;
}

.composer .primary-btn {
  position: sticky;
  bottom: 1.25rem;
  align-self: flex-start;
  box-shadow: 0 14px 32px rgba(124, 93, 250, 0.28);
  padding-inline: 1.75rem;
  z-index: 2;
}

@media (max-width: 720px) {
  .composer .primary-btn {
    width: 100%;
    text-align: center;
  }
}

.hint {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hint--error {
  color: var(--danger);
}

.error-banner {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--danger);
  font-size: 0.9rem;
}

.meta {
  display: flex;
  gap: 1.2rem;
}

.meta__item {
  background: rgba(230, 236, 255, 0.04);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stroke);
}

.meta__item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta__item strong {
  font-size: 1.4rem;
}

.tabs {
  display: inline-flex;
  background: var(--surface-alt);
  border-radius: 999px;
  padding: 0.2rem;
  border: 1px solid var(--stroke);
  margin-bottom: 1.2rem;
}

.tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  background: var(--accent);
  color: #fff;
}

.tab-panels {
  flex: 1;
  min-height: clamp(520px, 68vh, 1200px);
}

.tab-panel {
  display: none;
  flex-direction: column;
  height: 100%;
}

.tab-panel.active {
  display: flex;
}

pre {
  background: #03040b;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  height: 100%;
  overflow: auto;
}

.tab-panel > pre {
  flex: 1 1 auto;
  min-height: clamp(420px, 60vh, 1000px);
}

code {
  color: #e6ecff;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.toolbar-actions {
  display: inline-flex;
  gap: 0.5rem;
}

.download-chips {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.download-chips p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.download-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.download-btn {
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.download-btn--all {
  font-weight: 600;
  justify-content: center;
}

.label {
  font-size: 0.75rem;
  border-radius: 12px;
  padding: 0.3rem 0.8rem;
  border: 1px solid transparent;
}

.label.success {
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}

.label.outline {
  border-color: rgba(230, 236, 255, 0.3);
  color: #fff;
  background: transparent;
}

.markdown-stack {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.markdown-stack pre {
  flex: 1 1 320px;
  min-height: 200px;
}

.markdown-preview {
  flex: 1 1 260px;
  background: rgba(230, 236, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 1rem;
}

.preview-label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.preview-surface {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  min-height: 160px;
  overflow-x: auto;
}

.preview-surface.flash {
  animation: previewFlash 1s ease;
}

.preview-section + .preview-section {
  margin-top: 1.25rem;
}

.markdown-preview h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.markdown-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.markdown-preview th,
.markdown-preview td {
  border: 1px solid rgba(230, 236, 255, 0.15);
  padding: 0.4rem 0.6rem;
  text-align: left;
}

.markdown-preview th {
  background: rgba(124, 93, 250, 0.15);
  font-weight: 600;
}

@keyframes previewFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(165, 140, 255, 0.65);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(165, 140, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(165, 140, 255, 0);
  }
}

.feature-hero {
  margin-bottom: 2rem;
}

.feature-input {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 2rem;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.feature-input__copy p {
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-input__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.feature-input__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-input__lombok {
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-input__lombok-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-input__lombok-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.feature-input textarea {
  min-height: clamp(420px, 62vh, 1000px);
  background: #03040b;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  color: #fff;
}

.feature-input textarea::placeholder {
  color: rgba(230, 236, 255, 0.35);
}

.feature-input__button {
  margin-top: 0.25rem;
  width: fit-content;
}

.feature-output-block {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(230, 236, 255, 0.02);
  margin-bottom: 2rem;
}

.feature-output__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-output {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #03040b;
  padding: 1rem;
  max-height: 340px;
  overflow: auto;
}

.feature-output code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  color: #e6ecff;
  white-space: pre;
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.csv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.csv-panel {
  display: none;
}

.csv-panel.active {
  display: block;
}

.csv-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 0.35rem;
}

.csv-toggle__btn {
  border-radius: 12px;
  border: 1px solid transparent;
}

.csv-toggle__btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.feature-card {
  background: rgba(230, 236, 255, 0.03);
  border-radius: 18px;
  border: 1px solid var(--stroke);
  padding: 1.5rem;
}

.feature-card h2 {
  margin-top: 0;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-steps article {
  background: rgba(230, 236, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.25rem;
}

.feature-steps h3 {
  margin-top: 0;
}

.feature-steps ol {
  padding-left: 1.3rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-detail {
  background: rgba(12, 15, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-detail h3 {
  margin-top: 0;
}

.feature-detail pre {
  margin: 0;
  min-height: 220px;
}

.feature-detail__info p {
  color: var(--text-muted);
  line-height: 1.6;
}

.landing-hero {
  margin-bottom: 1rem;
}

.landing-toc {
  position: sticky;
  top: 1rem;
  z-index: 5;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 7, 15, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.landing-toc a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.landing-toc a:hover,
.landing-toc a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.seo-grid {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: 32px;
  border: 1px solid var(--stroke);
  background: rgba(10, 13, 23, 0.85);
}

.seo-grid__intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.seo-grid__intro p {
  color: var(--text-muted);
  line-height: 1.6;
}

.seo-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.seo-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 31, 0.9);
}

.seo-grid article h2 {
  margin: 0;
}

.seo-grid article p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.seo-grid article .chip {
  align-self: flex-start;
  text-decoration: none;
}

.global-accordion {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.global-accordion details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0;
  background: rgba(10, 13, 23, 0.95);
}

.global-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

.global-accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-size: 1rem;
}

.accordion-chip {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.global-accordion details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-panel {
  padding: 1.25rem 1.5rem 1.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: grid;
  gap: 1rem;
}

.accordion-panel .primary-btn {
  max-width: fit-content;
}

.global-links {
  margin: 4rem 0 0;
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 5, 12, 0.95);
}

.global-links h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.global-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.global-links__grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.global-links__grid a:hover,
.global-links__grid a:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.seo-faq {
  margin: 2.5rem 0 0;
  padding: 2rem 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 4, 12, 0.9);
  display: grid;
  gap: 0.75rem;
}

.seo-faq h2 {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 1rem;
}

.seo-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 12, 20, 0.95);
}

.seo-faq summary {
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
}

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

.seo-faq details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-faq p {
  margin: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.seo-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.6);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.seo-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.seo-tile__keyword {
  font-weight: 600;
  font-size: 1rem;
}

.seo-tile p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.seo-tile__meta {
  font-size: 0.85rem;
  color: var(--accent);
}

.seo-keywords {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 16, 0.95);
}

.seo-keywords__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.seo-keywords h2 {
  margin: 0 0 1rem;
}

.seo-keywords ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
}

.seo-keywords li {
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.seo-keywords .primary-btn {
  align-self: center;
}

.lang-switch {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 0.5rem;
}

.lang-switch .ghost-btn.active {
  border-color: var(--accent);
  color: #fff;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1rem;
  background: rgba(2, 4, 10, 0.9);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  gap: 1rem;
}

.site-footer__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.adfit-banner {
  max-width: 980px;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.adfit-banner__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.adfit-banner__label::before {
  content: "*";
  color: var(--accent);
  font-size: 0.65rem;
}

.adfit-banner__frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  min-height: 260px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.adfit-rail {
  position: fixed;
  top: 140px;
  left: 12px;
  z-index: 10;
  width: 160px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.adfit-rail--right {
  left: auto;
  right: 12px;
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
  }

  .hero__badge {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .panel {
    min-height: auto;
  }

  .meta {
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 1.5rem 1rem 3rem;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel__header {
    flex-direction: column;
  }

  .panel__actions {
    width: 100%;
  }

  .panel__actions .ghost-btn {
    flex: 1;
    text-align: center;
  }

  .settings {
    flex-direction: column;
    align-items: stretch;
  }

  .meta {
    width: 100%;
  }

  .meta__item {
    flex: 1;
    text-align: center;
  }

  .seo-grid {
    padding: 2rem 1.25rem;
  }

  .seo-keywords {
    padding: 2rem 1.25rem;
  }

  .landing-toc {
    position: static;
    border-radius: 24px;
  }

  .global-accordion summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .global-links__grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .adfit-banner {
    padding: 1rem;
    margin: 2rem auto 0;
  }

  .adfit-banner__frame {
    min-height: 220px;
  }

  .adfit-rail {
    display: none !important;
  }
}
