:root {
  color-scheme: light dark;
  --bg: #fbf3ea;
  --ink: #2b2420;
  --muted: #75685d;
  --accent: #a45f31;
  --accent-strong: #7c421e;
  --surface: #fffdf9;
  --surface-soft: #f4e7da;
  --line: #e4d5c7;
  --shadow: 0 18px 48px rgb(73 42 22 / 10%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201a17;
    --ink: #f4ece4;
    --muted: #b8a89a;
    --accent: #e2935e;
    --accent-strong: #ffc49b;
    --surface: #2b231f;
    --surface-soft: #382a22;
    --line: #4c3b31;
    --shadow: 0 18px 48px rgb(0 0 0 / 22%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgb(211 143 94 / 18%), transparent 38rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav,
.language-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a,
.language-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.language-nav a:hover,
.language-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy .lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.65;
}

.hero-art {
  min-height: 310px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.capybara-sprite {
  width: 180px;
  height: 180px;
  image-rendering: pixelated;
}

.actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.microcopy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

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

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

.card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgb(73 42 22 / 5%);
}

.card .icon {
  margin-bottom: 18px;
  font-size: 30px;
}

.card h2,
.card h3 {
  margin: 0 0 9px;
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1.35;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card p {
  margin: 0;
}

.card p + p,
.card ul + p {
  margin-top: 12px;
}

.answer-box {
  padding: 24px 26px;
  background: var(--surface-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  color: var(--ink);
  font-size: 18px;
}

.answer-box p {
  margin: 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--accent-strong);
  background: var(--surface-soft);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.source-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.step {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 8px;
  color: var(--accent-strong);
}

.step p {
  margin: 0;
  color: var(--muted);
}

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

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.facts div {
  padding: 22px;
  background: var(--surface);
}

.facts dt {
  color: var(--muted);
  font-size: 13px;
}

.facts dd {
  margin: 5px 0 0;
  font-weight: 750;
}

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

details {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
}

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

.cta {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.cta h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.cta p {
  margin: 8px 0 0;
  color: var(--muted);
}

.page-header {
  max-width: 780px;
  padding: 72px 0 38px;
}

.page-header h1 {
  font-size: clamp(40px, 6vw, 62px);
}

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

.content-stack {
  padding-bottom: 76px;
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 32px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}

.updated {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

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

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

  .hero {
    min-height: auto;
    padding: 52px 0 62px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    min-height: 250px;
  }

  .feature-grid,
  .facts,
  .screenshot-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .cta {
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
