:root {
  --bg: #f4efe4;
  --surface: rgba(255, 255, 255, 0.74);
  --border: rgba(56, 42, 25, 0.14);
  --text: #1d1a16;
  --muted: #5e554b;
  --shadow: 0 24px 60px rgba(57, 39, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(164, 98, 27, 0.16), transparent 34%),
    radial-gradient(circle at right center, rgba(120, 65, 1, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.hero,
.section,
.footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 15%;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar__link {
  font-weight: 500;
  text-decoration: none;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 64px 0 24px;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.9rem);
  font-weight: 900;
}

.section__body {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.hero__logo {
  width: min(100%, 320px);
  height: auto;
  border-radius: 15%;
  box-shadow: var(--shadow);
}

.section {
  padding: 28px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 15ch;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.product-card__media-link {
  display: grid;
  place-items: center;
  min-height: 240px;
  text-decoration: none;
}

.product-card__media-link img {
  width: min(100%, 190px);
  height: auto;
  border-radius: 15%;
  box-shadow: 0 18px 34px rgba(57, 39, 16, 0.12);
}

.product-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title-link,
.product-card__media-link {
  transition: transform 180ms ease;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link:hover,
.product-title-link:focus-visible,
.product-card__media-link:hover,
.product-card__media-link:focus-visible {
  transform: translateY(-1px);
}

.product-card__content h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 0 12px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero__content,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section h2 {
    max-width: none;
  }

  .hero__panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    padding: 16px 18px;
  }

  .hero__content {
    padding-top: 32px;
  }

  .product-card {
    padding: 20px;
  }
}
