:root {
  color-scheme: light;
  --canvas: #f4f5f2;
  --surface: #ffffff;
  --ink: #151817;
  --muted: #676d69;
  --quiet: #69706b;
  --line: #d9ddda;
  --line-strong: #c4cac6;
  --accent: #315e59;
  --accent-soft: #dce7e3;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

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

.site-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 32px;
}

.inner-shell {
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.wordmark-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.simple-link {
  transition: color 160ms ease;
}

.nav a:hover,
.simple-link:hover {
  color: var(--accent);
}

.hero {
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 50vh, 560px);
  padding: 64px 0 68px;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(52px, 7.8vw, 104px);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.products {
  padding-bottom: 112px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--ink);
}

.section-heading h2,
.section-heading span {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading span {
  color: var(--quiet);
}

.product-list {
  border-top: 1px solid var(--line);
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 152px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, padding 180ms ease;
}

.product-card:hover {
  padding-right: 14px;
  padding-left: 14px;
  border-bottom-color: var(--line-strong);
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.product-identity img {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(21, 24, 23, 0.12);
}

.product-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-copy strong {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-copy > span {
  color: var(--muted);
  font-size: 15px;
}

.product-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 21px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-card:hover .product-arrow {
  background: var(--accent);
  color: var(--surface);
  transform: rotate(7deg);
}

.footer {
  display: flex;
  align-items: center;
  min-height: 96px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
}

.contact-main,
.error-main {
  flex: 1;
  padding: clamp(76px, 13vh, 150px) 0 96px;
}

.page-label {
  margin: 0 0 38px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-main h1,
.error-main h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(760px, 100%);
  margin-top: 82px;
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.email-link span:last-child {
  color: var(--accent);
  transition: transform 180ms ease;
}

.email-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.error-main .simple-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  color: var(--accent);
  font-weight: 650;
}

@media (max-width: 700px) {
  .site-shell {
    padding: 0 20px;
  }

  .site-header {
    min-height: 78px;
  }

  .hero {
    min-height: 360px;
    padding: 48px 0 52px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .products {
    padding-bottom: 76px;
  }

  .product-card {
    min-height: 132px;
    padding: 24px 0;
  }

  .product-card:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .product-identity {
    gap: 16px;
  }

  .product-identity img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .product-copy strong {
    font-size: 23px;
  }

  .product-copy > span {
    max-width: 220px;
    font-size: 13px;
  }

  .product-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer {
    min-height: 80px;
  }

  .contact-main,
  .error-main {
    padding: 72px 0 80px;
  }

  .contact-main h1,
  .error-main h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .email-link {
    margin-top: 60px;
    font-size: clamp(16px, 5.3vw, 24px);
  }
}

@media (max-width: 430px) {
  .product-card {
    gap: 14px;
  }

  .product-copy > span {
    max-width: 174px;
  }

  .product-arrow {
    width: 36px;
    height: 36px;
  }
}

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