:root {
  --bg: #f5f5f2;
  --text: #181818;
  --muted: #666666;
  --line: rgba(24, 24, 24, 0.1);
  --brand: #3a3a3a;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  min-height: 100vh;
  padding: 28px 0 24px;
}

.section-grid,
.product-highlight,
.closing,
.site-footer {
  border-top: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
}

.brand {
  width: min(188px, 42vw);
}

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header-name,
.header-link,
.section-index,
.site-footer {
  font-size: 0.92rem;
  color: var(--muted);
}

.header-name {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-link {
  transition: opacity 160ms ease;
}

.header-link:hover,
.header-link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  opacity: 0.68;
}

.hero {
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.lead,
.section-grid p,
.closing-text {
  max-width: 40rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.button-primary {
  background: var(--brand);
  color: #f7f4ef;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: transparent;
  color: var(--brand);
}

.product-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0 28px;
}

.product-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.product-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(24, 24, 24, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.product-topline,
.product-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.product-label,
.product-link,
.product-tags span {
  font-size: 0.88rem;
  color: var(--muted);
}

.product-title {
  max-width: 28rem;
  margin: 18px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.product-description {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.product-tags {
  justify-content: flex-start;
  margin-top: 22px;
}

.product-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.section-grid article {
  padding-top: 8px;
}

.section-grid h2 {
  margin: 14px 0 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.section-grid p {
  margin-top: 12px;
  font-size: 0.98rem;
}

.closing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 36px;
}

.closing-copy {
  max-width: 40rem;
}

.closing-text {
  margin-top: 0;
}

.contact-link {
  flex-shrink: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  transition: opacity 160ms ease;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 0;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .product-highlight,
  .section-grid,
  .closing,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-highlight,
  .section-grid {
    display: grid;
    gap: 20px;
  }

  .closing,
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero h1 {
    max-width: none;
  }

  .lead,
  .product-description,
  .closing-text {
    font-size: 1rem;
  }

  .header-meta {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .header-link,
  .contact-link {
    transition: none;
  }
}
