:root {
  color-scheme: dark;
  --ink: #111615;
  --paper: #f1f3ec;
  --white: #f2f5ee;
  --muted: #abb8b1;
  --line: #35403a;
  --accent: #d4fa64;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #568918; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
.wrap { width: min(100% - 3rem, 77rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); z-index: 2; padding: .5rem 1rem; background: var(--accent); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-layout, .footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-layout { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; line-height: 1; }
.brand strong { display: block; font-size: 1.55rem; letter-spacing: -.07em; }
.brand small { display: block; margin-top: .4rem; font-size: .57rem; font-weight: 700; letter-spacing: .13em; }
.brand-mark { display: flex; width: 2.65rem; height: 2.65rem; place-content: center; align-items: center; gap: .19rem; border-radius: .62rem; background: var(--accent); }
.brand-mark i { width: .26rem; height: 1.2rem; border-radius: .1rem; background: var(--ink); transform: skew(-18deg); }
.brand-mark i:nth-child(2) { height: 1.55rem; }
.site-header nav { display: flex; gap: clamp(.85rem, 3vw, 2.4rem); color: var(--muted); }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.eyebrow { display: flex; gap: .65rem; align-items: center; color: var(--white); font-size: .875rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow span { width: .55rem; height: .55rem; flex: 0 0 .55rem; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); margin: 1.4rem 0 1.5rem; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-copy > p:last-of-type { max-width: 33rem; font-size: clamp(1.03rem, 1.55vw, 1.25rem); color: var(--muted); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; min-height: 3.1rem; padding: .58rem 1.18rem; border: 1px solid var(--accent); border-radius: .4rem; background: var(--accent); color: var(--ink); font-weight: 700; }
.button:hover { background: #e7ff9f; }
.button.secondary { border-color: #657168; background: transparent; color: var(--white); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-media { overflow: hidden; border-radius: .85rem; border: 1px solid #424f46; background: #222d27; }
.hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 1.06; object-fit: cover; object-position: center 57%; }

.section { padding-block: clamp(3.75rem, 7.5vw, 7rem); }
.section h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
.products { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 1.2rem; align-items: end; margin-bottom: 2.6rem; }
.section-heading > p { max-width: 25rem; color: #46524b; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid #c7d0c6; border-radius: .65rem; background: #c7d0c6; }
.product-grid article { min-height: 14rem; padding: clamp(1.15rem, 2.4vw, 2rem); background: #f9faf6; }
.category { color: #35541b; font-size: .875rem; font-weight: 700; }
.product-grid h3 { margin: 1rem 0 .75rem; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.product-grid article > p:last-child { color: #46524b; }
.services, .about-layout { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(1.5rem, 6vw, 6rem); }
.services p { color: var(--muted); margin-top: 1rem; max-width: 33rem; }
.platforms > div { display: grid; grid-template-columns: minmax(5rem, .43fr) 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.platforms > div:last-child { border-bottom: 1px solid var(--line); }
.platforms dt { color: var(--accent); font-weight: 700; }
.platforms dd { color: var(--muted); }
.about { background: #242e27; }
.about-layout { align-items: center; }
.about p { color: #d0d9d0; font-size: 1.125rem; }
.site-footer { padding-block: 1.6rem; color: var(--muted); }
.site-footer a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 58rem) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid article { min-height: 11rem; }
}
@media (max-width: 43rem) {
  .wrap { width: min(100% - 2rem, 77rem); }
  .hero, .section-heading, .services, .about-layout { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 1.28; }
}
@media (max-width: 28rem) {
  .header-layout { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid article { min-height: 0; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
