:root {
  color-scheme: dark;
  --bg: #071216;
  --surface: #0c1d23;
  --surface-2: #132b32;
  --line: #28464e;
  --text: #f1f7f3;
  --muted: #b6c7c2;
  --amber: #f7a51d;
  --gold: #ffd36a;
  --aqua: #58c7c0;
  --red: #d85f54;
  --green: #8dcf82;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--gold);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 18, 22, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.top-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.top-nav a:hover,
.site-footer nav a:hover {
  color: var(--gold);
}

.language-switch {
  display: inline-flex;
  align-items: center;
}

.language-switch select {
  min-height: 34px;
  max-width: 150px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.language-switch select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-band {
  padding: 80px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
}

.narrow {
  max-width: 880px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 44px;
  min-height: 760px;
  background:
    linear-gradient(120deg, rgba(7, 18, 22, 0.94), rgba(11, 34, 42, 0.82)),
    url("/assets/images/dont-sleep-with-the-fishes-steam-cover.webp") center/cover;
}

.hero-copy,
.section-copy {
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

p,
li,
td,
th,
figcaption,
summary,
a {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.core-keyword {
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.16rem;
}

.hero-lede {
  margin: 22px 0 0;
  color: #deebe6;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--amber);
  color: #261803;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.fact-strip div,
.answer-card,
.download-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(12, 29, 35, 0.82);
  min-width: 0;
}

.fact-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.fact-strip dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.hero-media,
.content-media {
  margin: 0;
  min-width: 0;
}

.hero-media img,
.content-media img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-answer {
  background: #0a171c;
}

.answer-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.answer-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 42px;
  background: var(--surface);
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(12, 29, 35, 0.68);
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

th {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

td {
  color: #dbe8e3;
}

.download-section {
  background: #0a1c19;
}

.download-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
}

.guide-roadmap {
  background: var(--surface-2);
}

.roadmap-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: rgba(7, 18, 22, 0.56);
}

.faq-section {
  background: #08151a;
}

details {
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--gold);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  padding: 36px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  background: #050d10;
}

.site-footer p {
  max-width: 880px;
}

.language-nav {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .section-copy {
    order: 0;
  }

  .fact-strip,
  .answer-grid,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .section-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .top-nav {
    gap: 10px 14px;
  }

  .top-nav a {
    font-size: 0.88rem;
  }

  .language-switch select {
    max-width: 132px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.12rem;
  }

  .fact-strip,
  .answer-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
}
