:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d1b16;
  background: #fffdf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fffdf7;
}

a {
  color: inherit;
}

.site-header,
.site-main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid #e7dfd1;
}

.brand {
  font-weight: 800;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 128px);
  padding: 64px 0 48px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 24px;
  color: #554f45;
  font-size: 20px;
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #1d1b16;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: #fffdf7;
  background: #1d1b16;
}

.preview {
  border: 1px solid #ddd2bf;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(70, 58, 38, 0.14);
}

.preview-header {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f2eadc;
  border-bottom: 1px solid #ddd2bf;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d36c4a;
}

.dot:nth-child(2) {
  background: #e2b84b;
}

.dot:nth-child(3) {
  background: #5c9b76;
}

.preview-body {
  padding: 0;
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 0 72px;
}

.details-grid > div {
  border-top: 1px solid #e7dfd1;
  padding-top: 24px;
}

.details-grid h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.details-grid p {
  margin: 0;
  color: #554f45;
  line-height: 1.6;
}

.content-page {
  max-width: 760px;
  padding: 56px 0 80px;
}

.content-page h1 {
  margin: 0 0 18px;
  font-size: 44px;
}

.content-page p,
.content-page li {
  color: #554f45;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 48px;
  border-top: 1px solid #e7dfd1;
  color: #6f675b;
  font-size: 14px;
}

@media (max-width: 780px) {
  .site-header,
  .site-main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0;
  }

  .hero h1 {
    font-size: 52px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }
}
