:root {
  --ink: #0b1620;
  --ink-2: #132432;
  --paper: #f4f6f3;
  --white: #ffffff;
  --line: #cad2cd;
  --muted: #5b686f;
  --accent: #c8ff2e;
  --accent-dark: #8ab300;
  --steel: #8fa1aa;
  --max: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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.56;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.15rem, 4.8vw, 3.8rem); font-weight: 760; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.08rem; }
.wrap { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.eyebrow { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; padding: 8px 12px; background: var(--accent); z-index: 100; }

.topbar { background: var(--ink); color: #dce3e0; font-size: .78rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.topbar a { color: var(--accent); text-decoration: none; }
.site-header { background: rgba(244,246,243,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px); }
.nav { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; overflow: hidden; width: 200px; aspect-ratio: 1455 / 345; flex-shrink: 0; text-decoration: none; line-height: 1; }
.brand-logo { position: absolute; width: 133.47%; max-width: none; height: auto; left: -16.7%; top: -67.5%; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { font-size: .88rem; font-weight: 700; text-decoration: none; }
.products-dropdown { position: relative; }
.products-dropdown summary { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: .88rem; font-weight: 700; cursor: pointer; list-style: none; }
.products-dropdown summary::-webkit-details-marker { display: none; }
.products-dropdown summary span { transition: transform .15s; }
.products-dropdown[open] summary span { transform: rotate(180deg); }
.products-dropdown summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.products-submenu { position: absolute; top: 100%; left: -18px; width: 320px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid #294d36; box-shadow: 0 12px 28px #0b16201c; }
.products-submenu a { display: block; padding: 12px; line-height: 1.45; }
.products-submenu a:hover, .products-submenu a:focus-visible { background: #eaf0e9; text-decoration: none; }
.products-submenu .products-overview { margin-bottom: 4px; border-bottom: 1px solid var(--line); color: #294d36; }
.products-overview span { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; color: var(--muted); }
.nav-links a:hover, .nav-links a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); background: var(--accent); color: var(--ink); font-size: .86rem; font-weight: 850; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; border-radius: var(--radius); cursor: pointer; }
.btn:hover { background: #ddff7d; }
.btn-dark { background: var(--ink); color: white; border-color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; }
.menu-button { display: none; border: 0; background: transparent; font: inherit; font-weight: 800; }

.hero { background: var(--ink); color: white; padding: 45px 0 28px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 38px; align-items: center; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 620px; color: #c8d1d4; font-size: 1rem; margin: 18px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { position: relative; }
.hero-media img { aspect-ratio: 16/10; width: 100%; max-height: 380px; object-fit: cover; border: 1px solid #52626b; }
.product-carousel { min-width: 0; border: 1px solid #42535d; background: var(--ink-2); }
.carousel-slide { display: block; text-decoration: none; }
.carousel-slide[hidden], .carousel-controls[hidden] { display: none; }
.product-carousel img { border: 0; max-height: 290px; aspect-ratio: 16/9; }
.carousel-caption { display: grid; gap: 4px; padding: 14px 18px; }
.carousel-caption strong { font-size: 1rem; line-height: 1.35; }
.carousel-caption > span { color: #c8d1d4; font-size: .875rem; }
.carousel-caption .carousel-link { color: var(--accent); font-weight: 700; }
.carousel-slide:hover .carousel-link { text-decoration: underline; text-underline-offset: 4px; }
.carousel-controls { display: flex; align-items: center; gap: 4px; padding: 0 10px 8px; }
.carousel-controls button { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid transparent; color: #c8d1d4; font: inherit; font-size: .875rem; cursor: pointer; }
.carousel-selectors { display: flex; gap: 2px; }
.carousel-controls button[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.carousel-controls button:hover { background: #263946; color: white; }
.carousel-controls .carousel-toggle { margin-left: auto; padding-inline: 10px; }
.product-carousel :focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #42535d; margin-top: 28px; }
.hero-stat { padding: 13px 16px 2px 0; border-right: 1px solid #42535d; }
.hero-stat strong { display: block; color: var(--accent); font-size: 1.2rem; }
.hero-stat span { font-size: .78rem; color: #aebbc0; }

.section { padding: 58px 0; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: end; margin-bottom: 26px; }
.section-head p { max-width: 680px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.product-card { min-height: 205px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.62); display: flex; flex-direction: column; }
.product-card .num { color: var(--accent-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.product-card h3 { margin: 25px 0 9px; }
.product-card p { color: var(--muted); font-size: .9rem; }
.text-link { margin-top: auto; font-weight: 800; font-size: .85rem; text-underline-offset: 4px; }

.feature-band { background: #dce3df; border-block: 1px solid var(--line); }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; }
.feature-image { min-height: 390px; background-size: cover; background-position: center; }
.feature-copy { padding: 42px; }
.feature-copy ol { list-style: none; padding: 0; margin: 28px 0; counter-reset: steps; }
.feature-copy li { counter-increment: steps; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #b5c0ba; }
.feature-copy li::before { content: "0" counter(steps); color: var(--accent-dark); font-size: .76rem; font-weight: 900; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { background: var(--white); border: 1px solid var(--line); }
.detail-card img { width: 100%; aspect-ratio: 16/10; max-height: 220px; object-fit: cover; }
.detail-card-body { padding: 18px; }
.detail-card p { color: var(--muted); font-size: .9rem; }

.dark-section { background: var(--ink-2); color: white; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.check-list { list-style: none; padding: 0; margin: 25px 0 0; }
.check-list li { padding: 13px 0; border-top: 1px solid #344956; display: flex; gap: 12px; }
.check-list li::before { content: "+"; color: var(--accent); font-weight: 900; }
.note { border-left: 3px solid var(--accent); padding: 15px 18px; background: rgba(255,255,255,.05); color: #cbd4d7; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 55px; }
.contact-card { background: var(--ink); color: white; padding: 34px; }
.contact-card a { color: var(--accent); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 6px; font-size: .82rem; font-weight: 800; }
label.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #aab6b0; background: white; padding: 11px 12px; font: inherit; font-size: .94rem; border-radius: 0; }
textarea { min-height: 130px; resize: vertical; }
.form-status { grid-column: 1 / -1; min-height: 24px; font-size: .86rem; }

.page-hero { padding: 32px 0 35px; background: var(--ink); color: white; }
.breadcrumbs { font-size: .78rem; color: #aebbc0; margin-bottom: 17px; }
.breadcrumbs a { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 34px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.page-hero p { color: #c8d1d4; max-width: 690px; margin-top: 13px; font-size: .96rem; }
.page-hero img { width: 100%; aspect-ratio: 16/10; max-height: 300px; object-fit: cover; border: 1px solid #52626b; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 42px; }
.content h2 { margin: 32px 0 13px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 22px 0 8px; }
.sidebar { align-self: start; position: sticky; top: 82px; border: 1px solid var(--line); padding: 20px; background: white; }
.sidebar ul { padding-left: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: white; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
th { background: #e5ebe7; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.callout { background: #e3f0b7; border: 1px solid #aecf3b; padding: 18px; margin: 22px 0; }

.site-footer { background: #071018; color: #c8d1d4; padding: 46px 0 92px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: white; margin-bottom: 14px; }
.site-footer a { color: var(--accent); }
.footer-note { border-top: 1px solid #2a3a44; margin-top: 35px; padding-top: 18px; font-size: .78rem; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 130px); overflow-y: auto; }
  .products-submenu { position: static; width: 100%; box-shadow: none; }
  .nav-links.open { display: flex; }
  .hero-grid, .section-head, .feature-layout, .spec-grid, .contact-grid, .page-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-media { margin-top: 18px; }
  .product-grid, .detail-grid { grid-template-columns: 1fr 1fr; }
  .feature-copy { padding: 38px 24px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: 58px; }
  .topbar .wrap { display: block; }
  .topbar span:last-child { display: none; }
  .nav { min-height: 58px; }
  .nav-links { top: 100%; }
  .brand { width: 174px; }
  .hero { padding-top: 28px; }
  .hero-stats, .product-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid #42535d; }
  .section { padding: 44px 0; }
  .feature-image { min-height: 265px; }
  .page-hero { padding: 24px 0 27px; }
  .page-hero h1 { font-size: 2.15rem; }
  .page-hero img { max-height: 235px; }
  form { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; height: 58px; background: var(--ink); display: grid; grid-template-columns: repeat(3,1fr); z-index: 60; border-top: 1px solid #3b4b55; }
  .mobile-actions a { display: grid; place-items: center; color: white; text-decoration: none; font-size: .76rem; font-weight: 850; }
  .mobile-actions a + a { border-left: 1px solid #3b4b55; }
  .mobile-actions a:first-child { color: var(--accent); }
}
