:root {
  --ink: #171512;
  --muted: #5f5950;
  --paper: #f7f2e8;
  --paper-strong: #efe3cf;
  --accent: #1f6f78;
  --accent-dark: #15484f;
  --line: rgba(23, 21, 18, 0.14);
  --white: #fffaf1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 14px 20px;
  background: rgba(247, 242, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}

.topbar a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 56px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

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

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 108px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.subtitle {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

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

.cover-wrap {
  margin: 0;
}

.cover-wrap img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(23, 21, 18, 0.25);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: end;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fact-row span {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
}

.fact-row b {
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

.quote-band,
.shelf {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.quote-band img,
.shelf img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
}

.quote {
  color: var(--ink) !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.12;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 470px;
  margin: 0;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.buy-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  text-decoration: none;
}

.buy-card:hover {
  border-color: rgba(31, 111, 120, 0.5);
  transform: translateY(-2px);
}

.buy-card span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.buy-card strong {
  margin-top: 18px;
  font-size: 28px;
}

.buy-card p {
  margin-top: auto;
  font-size: 16px;
}

.buy-card.featured {
  background: var(--paper-strong);
}

.brazil {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.brazil img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(23, 21, 18, 0.18);
}

.brazil h2,
.brazil p {
  max-width: 820px;
}

.brazil .button {
  margin-top: 10px;
}

.shelf {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.final {
  padding-bottom: 96px;
  text-align: center;
}

.final h2 {
  max-width: 820px;
  margin: 0 auto;
}

.final .hero-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .hero,
  .intro-grid,
  .quote-band,
  .shelf,
  .brazil {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 36px;
  }

  .cover-wrap {
    max-width: 360px;
  }

  .section-heading {
    display: block;
  }

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

  .quote-band img,
  .shelf img {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .topbar {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }

  .hero,
  .section {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 50px;
  }

  .fact-row,
  .buy-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
