:root {
  --ink: #242522;
  --muted: #6f706a;
  --paper: #f3f1eb;
  --card: #fffefb;
  --line: #d8d4c9;
  --accent: #ba7a44;
  --accent-dark: #82502d;
  --shadow: 0 18px 50px rgba(35, 36, 32, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(186, 122, 68, .15), transparent 29rem),
    radial-gradient(circle at 4% 94%, rgba(104, 114, 103, .1), transparent 25rem),
    var(--paper);
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
a:focus-visible {
  outline: 3px solid rgba(186, 122, 68, .35);
  outline-offset: 3px;
}

.topbar {
  background: rgba(36, 37, 34, .97);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.topbar-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 760;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand span { color: #e2ad7f; }

.catalog {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 110px) 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font: 500 clamp(2.5rem, 7vw, 5.2rem)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.cards {
  margin-top: clamp(42px, 7vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c7b39f;
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 760;
}

.card h2 {
  margin: 24px 0 10px;
  font: 500 clamp(1.6rem, 3vw, 2.15rem)/1.05 Georgia, "Times New Roman", serif;
}

.card p { margin: 0 0 26px; color: var(--muted); }
.actions { margin-top: auto; display: grid; gap: 9px; }

.button {
  min-height: 48px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.button::after { content: "→"; font-size: 1.15rem; font-weight: 400; }
.button:hover { background: #3b3d38; transform: translateY(-1px); }
.button.secondary { border-color: #aaa79f; background: transparent; color: var(--ink); }
.button.secondary:hover { background: #f7f5f0; }

.note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 254, 251, .62);
  color: #5e4937;
  font-size: .9rem;
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}

@media (max-width: 520px) {
  .topbar-inner, .catalog { width: min(100% - 28px, 1120px); }
  .topbar-inner { gap: 14px; }
  .catalog { padding-top: 46px; }
  .card { padding: 22px; }
}
