:root {
  --paper: #fbf6ec;
  --sheet: #fffdf8;
  --ink: #2c2416;
  --muted: #6d5e4c;
  --line: #e6d7c4;
  --wood: #8a5432;
  --wood-deep: #6d3f24;
  --apricot: #c46a3a;
  --sage: #6e8b74;
  --shadow: 0 18px 40px rgba(74, 48, 24, 0.08);
  --serif: "Literata", "Iowan Old Style", Palatino, serif;
  --sans: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(196, 106, 58, 0.08), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: var(--wood-deep); }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  margin: 0 -0.2rem;
  padding: 0.75rem 0.2rem;
  background: rgba(251, 246, 236, 0.94);
}

.mark {
  flex: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.top nav, .footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.top nav a, .footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  position: relative;
  margin: 1rem 0 2.5rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1.4rem 1rem;
  background: rgba(251, 246, 236, 0.94);
}

.eyebrow {
  margin: 0 0 0.2rem;
  color: var(--apricot);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.2;
}

h1 { margin: 0 0 0.7rem; font-size: clamp(1.85rem, 3vw, 2.55rem); max-width: 22em; }

h2 { margin: 0 0 0.8rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.button {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--wood);
  color: #fffaf3;
  text-decoration: none;
  font-weight: 700;
}

.button:hover { background: var(--wood-deep); }

.header-cta {
  flex: none;
  padding: 0.62rem 1.05rem;
  box-shadow: 0 8px 18px rgba(138, 84, 50, 0.28);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0 0 2.4rem;
  padding: 1.35rem 1.45rem;
  border-radius: 18px;
  background: var(--wood);
  color: #fffaf3;
}

.cta-band h2 { margin: 0 0 0.35rem; color: #fffaf3; }

.cta-band p { margin: 0; color: #f6e7d8; }

.cta-band .eyebrow { color: #f0c7a4; }

.cta-band .button {
  background: #fffaf3;
  color: var(--wood-deep);
  flex: none;
}

.cta-band .button:hover { background: #fff; }

.quiet { color: var(--muted); text-decoration: none; font-weight: 700; }

.grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  align-items: start;
}

.sheet, .price-card, .legal {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.sheet, .legal { padding: 1.3rem 1.4rem 1.4rem; }

.price-card {
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 10px 10px 0 #ead9c4;
}

.price {
  margin: 0.2rem 0;
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
}

.price span, .muted { color: var(--muted); font-family: var(--sans); font-size: 1rem; font-weight: 600; }

.steps, .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 2.4rem;
}

.step, .fact {
  padding: 1rem;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.num {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--apricot);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.step h3, .fact h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }

.step p, .fact p, .sheet p, .legal p { margin: 0.4rem 0; }

.section-lead {
  max-width: 40rem;
  margin: 0 0 1rem;
  color: var(--muted);
}

.examples { display: grid; gap: 0.9rem; }

.example {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 0 1.1rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.example img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example div { padding: 0.85rem 1.1rem 1rem 0; }

.example h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }

.example p { margin: 0.3rem 0; }

.gallery {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.9rem;
  margin: 0.4rem 0 2.6rem;
}

.frame {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.stack { display: grid; gap: 0.9rem; }

.frame figcaption, .note {
  padding: 0.75rem 0.9rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.requisites-card {
  padding: 0.7rem 1rem 0.75rem;
  margin-bottom: 1.2rem;
}

.requisites-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.requisites-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section { margin: 0 0 2.6rem; }

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }

.legal { max-width: 46rem; margin: 1rem auto 2rem; }

.legal h1 { max-width: none; font-size: clamp(1.8rem, 3vw, 2.5rem); }

.legal h2 { margin-top: 1.5rem; font-size: 1.35rem; }

.legal ul { padding-left: 1.1rem; }

.legal li { margin: 0.25rem 0; }

@media (max-width: 800px) {
  .hero-band { position: static; }
  .grid, .gallery, .steps, .facts, .footer, .example { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .example div { padding: 0.8rem 0.95rem 1rem; }
  .example img { max-height: 18rem; }
  h1 { max-width: none; }
}
