:root {
  --paper: #fafaf7;
  --white: #ffffff;
  --ink: #181a18;
  --muted: #62675f;
  --line: #dfe2dc;
  --orange: #df531f;
  --orange-dark: #b83e12;
  --marigold: #efb429;
  --teal: #087768;
  --deep-green: #173f37;
  --header-height: 76px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-copy,
.button,
.primary-nav,
.language-switch {
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: 60px;
  line-height: 1.04;
  font-weight: 720;
}

h2 {
  margin-bottom: 20px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 680;
}

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: var(--paper);
  border-bottom: 1px solid rgba(24, 26, 24, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 224px;
  gap: 11px;
}

.brand img {
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 780;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 620;
}

.primary-nav a {
  position: relative;
  white-space: nowrap;
}

.primary-nav a:not(.nav-store)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
}

.nav-store svg,
.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 94px;
  height: 36px;
  padding: 3px;
  background: #eceee9;
  border: 1px solid #d9ddd6;
  border-radius: 6px;
}

.language-switch button {
  padding: 0 7px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 1px 2px rgba(24, 26, 24, 0.13);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.menu-button .close-icon,
.menu-button[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .close-icon {
  display: block;
}

.hero {
  position: relative;
  height: min(720px, calc(100svh - 132px));
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: #e9e6e0;
}

.hero-media,
.hero-media img,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  z-index: 1;
  background: rgba(12, 24, 20, 0.72);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-copy {
  width: min(62%, 700px);
}

.hero h1 {
  color: var(--white);
}

.hero .eyebrow {
  color: #ffd26c;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #f0f4f1;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button--primary {
  background: var(--orange);
  color: var(--white);
}

.button--primary:hover {
  background: var(--orange-dark);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: #b9bdb6;
}

.button--secondary:hover {
  background: var(--white);
  border-color: var(--ink);
}

.hero .button--secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.78);
}

.hero .button--secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.section {
  padding: 104px 0;
}

.product-focus {
  padding-top: 82px;
}

.company-profile {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.company-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 62px;
}

.company-profile-media {
  min-width: 0;
  margin: 0;
}

.company-profile-media picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9ece8;
  border-radius: 6px;
}

.company-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-profile-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.company-profile-copy > p {
  color: #3f443f;
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 1fr;
  align-items: start;
  gap: 36px;
  margin-bottom: 58px;
}

.section-heading .eyebrow {
  padding-top: 8px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-item {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-item picture {
  display: block;
  aspect-ratio: 1;
  background: var(--white);
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-item figcaption {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 650;
}

.product-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.about-points {
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}

.about-points > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.about-points dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-points dd {
  margin: 0;
  font-weight: 620;
}

.documentation {
  color: var(--white);
  background: var(--deep-green);
}

.documentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: 100px;
}

.documentation-heading h2 {
  max-width: 700px;
  margin-bottom: 24px;
}

.documentation-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 30px;
  color: #c5d1cc;
  font-size: 17px;
}

.documentation-fields {
  margin: 0;
  border-top: 1px solid #49645a;
}

.documentation-fields > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #49645a;
}

.documentation-fields dt {
  color: #f2c65e;
  font-size: 13px;
  font-weight: 760;
}

.documentation-fields dd {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.eyebrow--light {
  color: #f2c65e;
}

.button--light {
  background: var(--white);
  color: var(--deep-green);
}

.button--light:hover {
  background: var(--marigold);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-person {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-person__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-person__heading h3 {
  margin: 0;
  font-size: 28px;
}

.contact-person__heading span {
  color: var(--muted);
  font-size: 13px;
}

.contact-line {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  gap: 12px;
  background: transparent;
  border: 0;
  text-align: left;
}

a.contact-line:hover,
button.contact-line:hover {
  color: var(--orange-dark);
}

button.contact-line {
  cursor: pointer;
}

.contact-line svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  padding: 54px 0 24px;
  color: #dfe7e3;
  background: #19231f;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  max-width: 520px;
  gap: 14px;
}

.footer-brand img {
  padding: 2px;
  background: var(--white);
  border-radius: 50%;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand span {
  color: #9eaaa4;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 10px 30px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--marigold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  color: #8f9d96;
  border-top: 1px solid #34423c;
  font-size: 12px;
}

.legal-page {
  min-height: calc(100vh - var(--header-height));
  padding: 80px 0 110px;
}

.legal-content {
  max-width: 780px;
}

.legal-content h1 {
  font-size: 50px;
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 26px;
}

.legal-content p,
.legal-content li {
  color: #474d47;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 54px;
  }

  .primary-nav {
    gap: 18px;
  }

  .hero-copy {
    width: 64%;
  }

  .section-heading {
    grid-template-columns: 0.55fr 1.2fr 0.9fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .brand {
    min-width: 0;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 18px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(24, 26, 24, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    height: min(680px, calc(100svh - 116px));
    min-height: 540px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-wash {
    background: rgba(12, 24, 20, 0.78);
  }

  .hero-copy {
    width: min(100%, 590px);
  }

  .hero-lead {
    max-width: 540px;
    font-size: 17px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 42px;
  }

  .section-heading .eyebrow {
    padding-top: 0;
  }

  .company-profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documentation-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .language-switch {
    width: 88px;
  }

  .hero {
    height: min(660px, calc(100svh - 104px));
    min-height: 540px;
  }

  .hero-copy {
    padding: 38px 0;
  }

  .hero .eyebrow {
    max-width: 250px;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .company-profile-copy > p {
    font-size: 16px;
  }

  .product-showcase {
    gap: 10px;
  }

  .product-item figcaption {
    min-height: 68px;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.4;
  }

  .about-points > div {
    grid-template-columns: 92px 1fr;
    gap: 14px;
  }

  .documentation-heading .button {
    width: 100%;
  }

  .contact-person {
    padding: 24px 20px;
  }

  .contact-person__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .contact-line {
    font-size: 14px;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-content h1 {
    font-size: 38px;
  }
}

@media (max-height: 590px) {
  .hero {
    height: calc(100svh - 92px);
    min-height: 190px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 36px;
  }

  .hero-copy {
    padding: 10px 0;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

  .hero-lead {
    display: none;
  }

  .product-focus {
    padding-top: 12px;
  }
}

@media (max-height: 370px) {
  .hero h1 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero .button {
    min-height: 42px;
    padding-block: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
