:root {
  --bg: #f7f3ee;
  --surface: #fffaf6;
  --text: #1f1b17;
  --muted: #655c53;
  --border: #e2d7cd;
  --brand: #c15f3c;
  --brand-dark: #9a4828;
  --success: #6f8a56;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand-dark);
  font-weight: 700;
}

.wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 250, 246, 0.86);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 1px 0 rgba(31, 27, 23, 0.08);
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(154, 72, 40, 0.16);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

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

main {
  padding: 56px 0 72px;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 54px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 44px 0 14px;
  font-size: 30px;
  line-height: 1.15;
}

h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

p {
  max-width: 760px;
  margin: 0 0 16px;
}

ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.lede {
  color: var(--muted);
  font-size: 21px;
}

.price-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
}

.price {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.policy {
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.note {
  color: var(--muted);
}

.preview-section {
  display: grid;
  gap: 24px;
  margin: 56px 0;
}

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

.preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(31, 27, 23, 0.08);
}

.preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 416 / 694;
  object-fit: cover;
  object-position: top center;
  background: #eeeae4;
}

.preview-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  nav,
  .nav-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .policy {
    padding: 28px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
