@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { --ink: #172620; --muted: #59665f; --green: #176947; --accent: #c9ef81; --paper: #fcfdfb; --line: #dce3db; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bd552a; outline-offset: 6px; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 600; line-height: 1.25; }
.brand img { border-radius: 6px; }
.brand-subtitle { display: block; margin-top: 5px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 450; color: var(--muted); }
.desktop-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 550; }
.desktop-nav a:hover, .footer-inner a:hover { color: var(--green); }
.nav-api { border-left: 1px solid var(--line); padding-left: 30px; }
.nav-api span { margin-left: 14px; }
.mobile-nav { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 580px; background-color: #edf2eb; background-image: linear-gradient(#17694708 1px, transparent 1px), linear-gradient(90deg, #17694708 1px, transparent 1px); background-size: 32px 32px; }
.hero-art { position: absolute; z-index: -2; top: 28px; right: max(48px, calc((100% - 1100px) / 2)); width: auto; height: calc(100% - 56px); max-width: 40%; object-fit: contain; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #edf2eb 0%, #edf2ebef 35%, #edf2eb00 60%); }
.hero-content { padding-block: 70px 58px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--green); margin: 0 0 24px; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: 80px; max-width: 560px; }
.title-dot { color: #b75339; }
.hero-description { max-width: 400px; font-size: 17px; line-height: 1.75; color: #43554a; margin: 25px 0 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { display: inline-flex; gap: 24px; align-items: center; justify-content: center; padding: 14px 21px; border-radius: 4px; font-size: 14px; font-weight: 600; background: var(--green); color: white; transition: background .2s; }
.button:hover { background: #104c33; }
.text-link { font-size: 13px; font-weight: 650; display: inline-flex; gap: 16px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-note { margin: 28px 0 0; font-size: 11px; color: var(--muted); }
.sensor-strip { border-block: 1px solid var(--line); background: white; }
.sensor-list { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 72px; font-size: 12px; color: var(--muted); flex-wrap: wrap; padding-block: 18px; }
.sensor-list span:first-child { font-size: 10px; font-weight: 700; color: var(--green); }
.home-content { padding-block: 80px; }
.home-content > h2:not(:first-child) { margin-top: 60px; padding-top: 44px; border-top: 1px solid var(--line); max-width: none; }
.document-content { max-width: 820px; }
.document-content h1 { font-size: 42px; max-width: none; }
.document-content h2 { font-size: 26px; line-height: 1.3; }
.document-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.document-content pre { max-width: 100%; overflow-x: auto; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: #f0f3ed; font-size: 13px; line-height: 1.65; }
.document-content :not(pre) > code { font-size: .9em; overflow-wrap: anywhere; }
.home-content > .eyebrow:not(:first-child) { margin-top: 78px; padding-top: 58px; border-top: 1px solid var(--line); }
h2 { font-size: 43px; max-width: 620px; }
.home-content > p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 720px; margin: 22px 0 0; }
.home-content > .section-intro { max-width: 560px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: feature; }
.features li { border-top: 2px solid var(--green); padding-top: 22px; color: var(--muted); font-size: 14px; counter-increment: feature; }
.features li:nth-child(2) { border-color: #b75339; }
.features li:nth-child(3) { border-color: #345d9b; }
.features li::before { content: '0' counter(feature) ' /'; display: block; font-size: 11px; color: var(--green); font-family: 'Space Grotesk', sans-serif; margin-bottom: 22px; }
.features strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 25px; color: var(--ink); font-weight: 500; line-height: 1.2; margin-bottom: 15px; }
.home-content > .section-note { margin-top: 25px; font-size: 12px; }
.resources { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; list-style: none; padding: 0; margin: 35px 0 0; counter-reset: resource; }
.resources li { counter-increment: resource; border-top: 1px solid var(--line); }
.resources a { position: relative; display: block; padding: 23px 34px 23px 38px; min-height: 123px; font-size: 13px; color: var(--muted); }
.resources a::before { content: '0' counter(resource); position: absolute; left: 0; top: 29px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; color: var(--green); }
.resources a::after { content: '↗'; position: absolute; top: 24px; right: 0; font-size: 22px; color: var(--green); }
.resources strong { display: block; margin-bottom: 5px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 500; color: var(--ink); }
.resources a:hover strong { color: var(--green); }
.research-link a { font-size: 13px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
h3 { font-size: 24px; margin-top: 44px; }
.publications { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.publications li { border-top: 1px solid var(--line); padding-top: 22px; font-size: 12px; color: var(--muted); }
.publications strong { display: block; font-size: 15px; font-weight: 550; line-height: 1.5; color: var(--ink); margin-bottom: 15px; }
.publications a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); background: #f0f3ed; }
.footer-inner { padding-block: 35px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; }
.footer-inner p { font-size: 11px; color: var(--muted); margin: 5px 0 0; }
.footer-inner nav { display: flex; gap: 25px; font-size: 12px; flex-wrap: wrap; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 20px; background: white; z-index: 20; }
.skip-link:focus { top: 10px; }
@media (prefers-reduced-motion: no-preference) { .hero-content { animation: enter .6s ease-out both; } @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } }
@media (min-width: 1600px) { .hero { min-height: 620px; } .hero-content { padding-block: 90px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .desktop-nav { gap: 20px; }
  .nav-api { padding-left: 20px; }
  h1 { font-size: 58px; max-width: 60%; }
  .features { gap: 25px; }
  .hero-art { right: 32px; max-width: 32%; }
  .hero-shade { background: linear-gradient(90deg, #edf2eb 0%, #edf2ebef 40%, #edf2eb00 75%); }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 82px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-subtitle { font-size: 9px; }
  .brand img { width: 32px; height: 32px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { margin-left: 7px; }
  .mobile-nav nav { position: absolute; top: 73px; left: 0; width: 100%; display: grid; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; z-index: 10; font-size: 14px; }
  .hero { min-height: 550px; }
  .hero-content { padding-block: 38px 35px; }
  .hero-art { top: auto; bottom: 30px; right: 20px; height: 160px; width: 96px; max-width: none; }
  .hero-shade { background: none; }
  h1 { font-size: 48px; max-width: 350px; }
  .eyebrow { font-size: 9px; }
  .hero-description { font-size: 15px; max-width: 320px; margin-block: 20px 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; width: calc(100% - 112px); }
  .hero-actions .button { max-width: 100%; padding: 12px 14px; font-size: 12px; gap: 10px; }
  .hero-note { margin-top: 24px; font-size: 10px; max-width: calc(100% - 112px); }
  .sensor-list { gap: 9px 18px; justify-content: flex-start; font-size: 10px; min-height: 85px; }
  .sensor-list span:first-child { flex-basis: 100%; font-size: 9px; }
  .home-content { padding-block: 50px; }
  h2 { font-size: 34px; }
  .home-content > .eyebrow:not(:first-child) { margin-top: 48px; padding-top: 40px; }
  .features, .resources, .publications { grid-template-columns: 1fr; gap: 25px; }
  .features { margin-top: 32px; }
  .features li { padding-top: 17px; }
  .features li::before { margin-bottom: 15px; }
  .features strong { font-size: 23px; margin-bottom: 13px; }
  .resources { gap: 0; }
  .resources a { min-height: 110px; }
  .resources strong { font-size: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}