:root {
  color-scheme: light;
  --bg: #fffaf3;
  --text: #28231d;
  --muted: #746a5f;
  --line: #eadfce;
  --paper: #ffffff;
  --accent: #b75d35;
  --accent-dark: #7a341b;
  --green: #557a5c;
  --blue: #496f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: 48px 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

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

.hero-visual {
  position: relative;
  min-height: 420px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(183, 93, 53, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(85, 122, 92, 0.16), transparent 45%),
    var(--paper);
  box-shadow: 0 24px 60px rgba(83, 61, 36, 0.12);
  overflow: hidden;
}

.window {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.window span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: var(--line);
}

.mock-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.mock-card.large {
  padding: 24px;
}

.mock-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.mock-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.18;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.mock-grid div {
  min-height: 96px;
  display: flex;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.intro,
.split,
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.intro p:last-child,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

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

.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card p {
  color: var(--muted);
}

.card.compact {
  min-height: 210px;
}

.card a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.thumb {
  min-height: 148px;
  margin-bottom: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0)),
    var(--accent);
}

.thumb.green {
  background-color: var(--green);
}

.thumb.blue {
  background-color: var(--blue);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.notes a,
.notes div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
}

.notes p {
  color: var(--muted);
}

.notes span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.notes strong {
  font-size: 24px;
}

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

.review-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-card span {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.review-card p {
  color: var(--muted);
}

.review-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.index-card {
  background: #f8efe4;
}

.review-page {
  width: min(1180px, calc(100% - 36px));
}

.review-hero {
  padding-bottom: 48px;
}

.review-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 110px;
}

.review-index {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.review-index a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.review-articles {
  display: grid;
  gap: 28px;
}

.review-article {
  max-width: 820px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  scroll-margin-top: 92px;
}

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

.review-article h2 {
  color: var(--text);
}

.contact {
  padding-bottom: 110px;
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 340px;
  }

  .cards,
  .review-grid,
  .notes {
    grid-template-columns: 1fr;
  }

  .review-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-index {
    position: static;
  }

  .review-article {
    padding: 22px;
  }

  h1 {
    font-size: 42px;
  }
}
