:root {
  --ink: #0c1b2a;
  --green: #1f6a4e;
  --gold: #e3ad2f;
  --paper: #f5f2ea;
  --white: #ffffff;
  --line: rgba(12, 27, 42, 0.17);
  --muted: #536271;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--white); }

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

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: 1.25rem; font-weight: 800; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 1.35rem; }
.site-header nav a { text-decoration: none; font-weight: 650; }

.button {
  display: inline-block;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
}
.button-small { padding: .6rem 1rem; }
.text-link { font-weight: 750; text-underline-offset: .25em; }

.hero { min-height: 620px; display: grid; align-content: center; max-width: 940px; padding: 6rem 0; }
.eyebrow { margin: 0 0 1rem; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 850; }
h1, h2, h3 { line-height: .98; letter-spacing: -.04em; }
h1 { margin: 0; font-size: clamp(3.5rem, 9vw, 7.8rem); }
h1 mark { color: var(--green); background: none; }
.hero-lead { max-width: 720px; margin: 2rem 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

.products { padding: 7rem 0; border-top: 1px solid var(--line); }
.products h2, .quebec h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.product { min-height: 390px; display: flex; flex-direction: column; padding: 2rem; background: var(--white); text-decoration: none; }
.product:hover { background: #eef3ee; }
.product-number { color: var(--green); font-size: .8rem; font-weight: 850; letter-spacing: .12em; }
.product h3 { margin: auto 0 1rem; font-size: 2rem; }
.product p { color: var(--muted); }
.product-link { margin-top: 1.3rem; font-weight: 750; }

.quebec { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 7rem 0; border-top: 1px solid var(--line); }
.quebec > div:last-child { max-width: 540px; font-size: 1.15rem; }

footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0; border-top: 1px solid var(--line); }
footer p { margin: .5rem 0; color: var(--muted); }
footer address { font-style: normal; }
footer nav { display: flex; flex-direction: column; gap: .45rem; }
.copyright { grid-column: 1 / -1; }

.legal { max-width: 820px; padding: 6rem 0 8rem; }
.legal h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
.legal-lead { margin: 2rem 0 4rem; color: var(--muted); font-size: 1.25rem; }
.legal section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 1rem; font-size: 2rem; }

@media (max-width: 820px) {
  .site-header nav > a:not(.button) { display: none; }
  .hero { min-height: 540px; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 300px; }
  .quebec, footer { grid-template-columns: 1fr; gap: 2rem; }
  .copyright { grid-column: auto; }
}

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