:root {
  color-scheme: light;
  --background: #f5f5f2;
  --surface: #ffffff;
  --ink: #202322;
  --muted: #626865;
  --line: #d8dbd7;
  --accent: #315e54;
  --accent-soft: #e4ece9;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

main,
footer {
  width: min(960px, calc(100% - 48px));
  margin-left: 32px;
  margin-right: 0;
}

main > section { padding-block: 72px; }
.products {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.section-heading { margin-bottom: 28px; }

h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.section-heading > p {
  margin: 8px 0 0;
  color: var(--muted);
}

.product-card {
  min-height: 152px;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(32, 35, 34, .04);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #9aa8a3;
  box-shadow: 0 7px 22px rgba(32, 35, 34, .08);
  transform: translateY(-2px);
  outline: none;
}

.product-visual {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #141414;
  color: #c9a962;
}

.sacho-logo {
  width: 68px;
  height: 68px;
}

.sacho-logo-center { fill: #c4866a; }

.product-copy h2 {
  margin: 2px 0 0;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.product-type,
.label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.product-subtitle { margin: 5px 0 0; color: var(--muted); }

.product-link {
  display: inline-block;
  margin-top: 14px;
  color: #8a6b27;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.product-link span { display: inline-block; margin-left: 4px; }
.product-card:hover .product-link span { transform: translateX(2px); }

.about {
  display: block;
  padding-top: 40px;
  padding-bottom: 40px;
}

.about .section-heading { margin-bottom: 28px; }
.about-content { max-width: 700px; }

.lead {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  letter-spacing: -.015em;
}

.contact-block {
  margin-top: 28px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.5;
  letter-spacing: -.015em;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-details .label {
  margin-bottom: 0;
  line-height: 1.2;
}

.contact-details a {
  color: var(--accent);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

address { font-style: normal; }

footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal-section {
  max-width: 760px;
  padding: 0 0 28px;
}

.legal-section + .legal-section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-section p { margin: 0 0 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: inherit; text-underline-offset: 3px; }
.copyright { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 680px) {
  main, footer {
    width: calc(100% - 32px);
    margin-left: 16px;
  }
  main > section { padding-block: 52px; }
  .products { padding-block: 24px; }
  .about { padding-block: 32px; }
  .product-card { grid-template-columns: 68px 1fr; gap: 18px; padding: 20px; }
  .product-visual { width: 68px; height: 68px; }
  .sacho-logo { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
