:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #6a6058;
  --soft: #f4eee4;
  --paper: #fffaf2;
  --line: #ded4c8;
  --coal: #15120f;
  --rust: #9c3e25;
  --gold: #c98d31;
  --green: #536f63;
  --blue: #38677c;
  --shadow: 0 18px 45px rgba(39, 28, 16, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

input,
button {
  font: inherit;
}

.visually-hidden {
  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: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
  background: rgba(21, 18, 15, 0.92);
  color: var(--paper);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.28);
  background: var(--rust);
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 4px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 250, 242, 0.12);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 59px));
  overflow: hidden;
  background: var(--coal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.9) 0%, rgba(13, 10, 8, 0.62) 36%, rgba(13, 10, 8, 0.12) 76%),
    linear-gradient(0deg, rgba(13, 10, 8, 0.7) 0%, rgba(13, 10, 8, 0) 38%);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - 59px));
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 86px;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
}

.hero-card-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 34px;
}

.hero-card-nav a {
  display: grid;
  min-height: 122px;
  align-content: space-between;
  padding: 15px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.1);
  color: var(--paper);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.hero-card-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 141, 49, 0.86);
  background: rgba(255, 250, 242, 0.17);
}

.hero-card-nav span,
.hero-card-nav strong,
.hero-card-nav em {
  display: block;
}

.hero-card-nav span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-card-nav strong {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.22;
}

.hero-card-nav em {
  margin-top: 6px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 250, 242, 0.85);
  font-size: 20px;
  line-height: 1.7;
}

.hero-search {
  display: flex;
  width: min(680px, 100%);
  margin-top: 28px;
  padding: 6px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.1);
  backdrop-filter: blur(12px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 5px;
  padding: 13px 14px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
}

.hero-search button,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.hero-search button,
.button.primary {
  background: var(--gold);
  color: var(--coal);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 242, 0.28);
  background: rgba(255, 250, 242, 0.08);
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--coal);
  color: var(--paper);
}

.trust-strip div {
  min-height: 96px;
  padding: 22px clamp(18px, 3vw, 34px);
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  border-right: 1px solid rgba(255, 250, 242, 0.12);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 13px;
}

.trust-strip span {
  color: rgba(255, 250, 242, 0.84);
  line-height: 1.45;
}

.section {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.article-header h1,
.article-header h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.need-grid,
.hub-grid,
.guide-list,
.workflow-grid {
  display: grid;
  gap: 14px;
}

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

.need-card,
.hub-card,
.guide-card,
.workflow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.need-card {
  min-height: 208px;
  padding: 22px;
}

.card-index,
.guide-meta,
.hub-card span {
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

.need-card h3,
.guide-card h3,
.workflow-grid h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.need-card p,
.guide-card p,
.workflow-grid p,
.hub-card strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.database-section,
.faq-section {
  width: 100%;
  padding-right: max(18px, calc((100vw - 1140px) / 2));
  padding-left: max(18px, calc((100vw - 1140px) / 2));
  background: #e8dece;
}

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

.hub-card {
  display: block;
  min-height: 148px;
  padding: 22px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hub-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 19px;
}

.finder {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.finder input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--paper);
  color: var(--ink);
}

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

.filter {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.guide-list {
  grid-template-columns: repeat(3, 1fr);
}

.guide-card {
  min-height: 180px;
  padding: 20px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0e4d2;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--rust);
}

.empty-state {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.article-shell {
  padding-top: 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.article-header {
  max-width: 920px;
}

.article-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-facts span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.answer-box {
  margin: 28px 0;
  padding: 22px;
  border-left: 5px solid var(--rust);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.answer-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.article-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--rust);
}

.article-body {
  display: grid;
  gap: 26px;
}

.article-body section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-body h2,
.article-body h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.75;
}

.article-body ul {
  margin: 0;
  padding-left: 20px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.step-list p {
  margin: 6px 0 0;
}

.warning-list,
.config-grid {
  display: grid;
  gap: 12px;
}

.warning-list p,
.config-grid div {
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: #f3eadc;
}

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

.guide-page {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 70px;
}

.guide-page .article-shell {
  width: 100%;
  padding-top: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.related-grid a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3eadc;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
}

.related-grid a:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.source-list {
  margin: 0;
  padding-left: 20px;
}

.source-list a {
  color: var(--blue);
  font-weight: 800;
}

.database-hero {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--coal);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.database-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.database-hero p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.db-source-note {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  line-height: 1.65;
}

.db-source-note strong {
  color: var(--ink);
}

.db-source-note a {
  color: var(--blue);
  font-weight: 800;
}

.db-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.db-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.db-stats strong,
.db-stats span {
  display: block;
}

.db-stats strong {
  color: var(--rust);
  font-size: 30px;
  line-height: 1;
}

.db-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.db-controls {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8dece;
}

.db-controls input,
.db-controls select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--paper);
  color: var(--ink);
}

.db-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.db-filter {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
}

.db-filter.active,
.db-filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.db-select-label {
  display: grid;
  max-width: 260px;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.db-results-wrap {
  margin-top: 26px;
}

.db-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.db-results-head h2 {
  margin: 0;
  font-size: 30px;
}

.db-results-head span {
  color: var(--muted);
  font-weight: 900;
}

.db-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.db-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.db-card-top {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: flex-start;
  gap: 12px;
}

.db-icon,
.db-icon-placeholder {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f0e4d2;
}

.db-icon {
  object-fit: contain;
  padding: 6px;
}

.db-icon-placeholder {
  display: grid;
  place-items: center;
  color: var(--rust);
  font-weight: 900;
}

.db-card-top p {
  margin: 0 0 8px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

.db-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.24;
}

.db-rarity {
  min-width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0e4d2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.db-card-stats {
  display: grid;
  gap: 8px;
}

.db-card-stats span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(222, 212, 200, 0.7);
  padding-bottom: 7px;
  color: var(--muted);
  line-height: 1.4;
}

.db-card-stats b {
  color: var(--ink);
}

.combat-section {
  padding-top: 44px;
}

.decision-table,
.topic-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.decision-table > div,
.topic-table > div {
  display: grid;
  min-width: 760px;
  border-bottom: 1px solid var(--line);
}

.decision-table > div {
  grid-template-columns: 1.1fr 0.7fr 1.2fr;
}

.topic-table > div {
  grid-template-columns: 0.7fr 1.2fr 0.55fr 1.3fr;
}

.decision-table > div:last-child,
.topic-table > div:last-child {
  border-bottom: 0;
}

.decision-table strong,
.decision-table span,
.topic-table strong,
.topic-table span {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  line-height: 1.55;
}

.decision-table strong:last-child,
.decision-table span:last-child,
.topic-table strong:last-child,
.topic-table span:last-child {
  border-right: 0;
}

.decision-table strong,
.topic-table strong {
  background: #efe3d2;
}

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

.faq-list details {
  border: 1px solid rgba(27, 21, 18, 0.12);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  padding: 18px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.workflow-grid article {
  padding: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 48px);
  background: var(--coal);
  color: var(--paper);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 250, 242, 0.66);
  line-height: 1.6;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.source-links a {
  padding: 9px 10px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 6px;
  color: rgba(255, 250, 242, 0.86);
  text-decoration: none;
}

.policy-page {
  min-height: calc(100vh - 180px);
}

.policy-page .article-shell {
  max-width: 920px;
}

.ad-slot {
  display: grid;
  min-height: 120px;
  place-items: center;
  margin: 28px 0;
  border: 1px dashed rgba(27, 21, 18, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot[data-empty="true"] {
  display: none;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
}

.lang-switch a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.lang-switch a.active,
.lang-switch a:hover {
  background: var(--gold);
  color: var(--coal);
}

.language-gateway {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.88), rgba(13, 10, 8, 0.62)),
    url("assets/hero-sandship.png") center / cover;
  color: var(--paper);
}

.language-gateway section {
  width: min(720px, 100%);
}

.language-gateway h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.language-grid a {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.12);
  color: var(--paper);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.language-grid a:hover {
  border-color: var(--gold);
  background: rgba(255, 250, 242, 0.2);
}

@media (max-width: 960px) {
  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-start;
  }

  .lang-switch {
    margin-left: 0;
  }

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

  .hero-card-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading h2,
  .article-header h1,
  .article-header h2 {
    font-size: 36px;
  }

  .trust-strip,
  .need-grid,
  .hub-grid,
  .guide-list,
  .workflow-grid,
  .config-grid,
  .related-grid,
  .db-stats,
  .db-results {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-links a {
    min-width: max-content;
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .language-gateway h1 {
    font-size: 39px;
  }

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

  .hero-content {
    padding: 52px 0 64px;
    justify-content: flex-end;
  }

  .hero-card-nav {
    display: flex;
    gap: 10px;
    width: calc(100% + 18px);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-card-nav a {
    min-width: 158px;
    min-height: 112px;
    scroll-snap-align: start;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(13, 10, 8, 0.9) 0%, rgba(13, 10, 8, 0.62) 62%, rgba(13, 10, 8, 0.22) 100%),
      linear-gradient(90deg, rgba(13, 10, 8, 0.72), rgba(13, 10, 8, 0.1));
  }

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

  .hero-copy,
  .answer-box p {
    font-size: 17px;
  }

  .hero-search,
  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .hero-search button {
    width: 100%;
  }

  .trust-strip,
  .need-grid,
  .hub-grid,
  .guide-list,
  .workflow-grid,
  .config-grid,
  .related-grid,
  .db-stats,
  .db-results {
    grid-template-columns: 1fr;
  }

  .database-hero {
    padding: 24px;
  }

  .database-hero h1 {
    font-size: 31px;
  }

  .db-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .db-card-top {
    grid-template-columns: 50px 1fr;
  }

  .db-rarity {
    grid-column: 2;
    width: max-content;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .article-header h1,
  .article-header h2 {
    font-size: 30px;
  }

  .article-facts span {
    width: 100%;
    border-radius: 6px;
  }

  .article-body section {
    padding: 20px;
  }

  .article-body h2,
  .article-body h3 {
    font-size: 23px;
  }

  .source-links {
    justify-content: flex-start;
  }
}
