:root {
  --ink: #12201c; --muted: #52645e; --paper: #f5f1e8; --surface: #fffdf7;
  --forest: #103f32; --mint: #a8e5cb; --acid: #d7f36a; --line: #d8d8ca;
  --shadow: 0 24px 70px rgb(17 43 35 / 14%); --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; }
button, select, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgb(18 32 28 / 10%); background: rgb(245 241 232 / 88%); backdrop-filter: blur(16px); }
.nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--acid); }
.navigation { display: flex; align-items: center; gap: 26px; }
.navigation a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.navigation a:hover { color: var(--ink); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--forest); border-radius: 999px; color: white; background: var(--forest); font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { transform: translateY(-1px); }
.button.secondary { color: var(--forest); background: transparent; }
.menu-button { display: none; border: 0; background: transparent; font-size: 24px; }
.hero { overflow: hidden; padding: 96px 0 72px; }
.hero-grid { display: block; }
.eyebrow { margin: 0 0 14px; color: #356c5a; font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(52px, 7vw, 92px); }
h2 { margin-bottom: 18px; font-size: clamp(36px, 5vw, 60px); }
h3 { margin-bottom: 10px; font-size: 23px; }
.lede { max-width: 680px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.section { padding: 96px 0; }
.intro-section { border-block: 1px solid var(--line); background: var(--surface); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.intro-copy > p { margin-top: 0; color: var(--muted); font-size: 19px; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.benefit-row article { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 15px; min-height: 170px; padding: 24px 22px; border: 1px solid #cfd5cb; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgb(17 43 35 / 7%); }
.benefit-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 12px; font-weight: 850; letter-spacing: .05em; }
.benefit-row strong { display: block; margin: 3px 0 9px; color: var(--ink); font-size: 19px; line-height: 1.2; }
.benefit-row p { margin: 0; color: #465a53; font-size: 15px; line-height: 1.55; }
.section.dark { color: white; background: var(--forest); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p { color: var(--muted); font-size: 19px; }
.dark .section-heading p { color: #bed2ca; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-number { display: inline-grid; width: 34px; height: 34px; margin-bottom: 36px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-weight: 850; }
.feature p { margin-bottom: 0; color: var(--muted); }
.demo-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border: 1px solid rgb(255 255 255 / 14%); border-radius: 28px; background: #0a2d24; box-shadow: 0 30px 90px rgb(0 0 0 / 25%); }
.demo-controls { display: flex; flex-direction: column; gap: 17px; padding: 28px; border-right: 1px solid rgb(255 255 255 / 12%); }
.demo-controls label { display: grid; gap: 7px; color: #c8dbd4; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.demo-controls select { width: 100%; padding: 10px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 9px; color: white; background: #164c3d; }
.demo-controls input[type="range"] { width: 100%; accent-color: var(--acid); }
.check-row { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; text-transform: none !important; }
.demo-status { min-height: 38px; margin-top: auto; color: #a9c3ba; font: 12px/1.4 ui-monospace, monospace; }
.demo-status[data-error="true"] { color: #ffb4a8; }
#public-map { min-height: 620px; background: #d9dfd8; }
.public-heatmap-canvas { position: absolute; z-index: 450; inset: 0; pointer-events: none; }
.leaflet-control-attribution { font-size: 10px !important; }
.architecture { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.architecture article { position: relative; padding: 26px 22px; border-top: 3px solid var(--forest); background: var(--surface); }
.architecture article:not(:last-child)::after { position: absolute; top: 32px; right: -12px; z-index: 2; content: '→'; color: #6b8078; }
.docs-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 60px; }
.docs-copy { position: sticky; top: 110px; }
.docs-list { display: grid; gap: 16px; }
.doc-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.doc-card p, .doc-card li { color: var(--muted); }
.code-wrap { position: relative; overflow: hidden; border-radius: 14px; background: #10251f; }
pre { overflow-x: auto; margin: 0; padding: 22px; color: #d8f1e7; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy { position: absolute; top: 10px; right: 10px; padding: 6px 10px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 7px; color: white; background: rgb(255 255 255 / 8%); cursor: pointer; }
.cta { padding: 82px 0; text-align: center; }
.cta-inner { padding: 62px 28px; border-radius: 30px; color: white; background: var(--forest); }
.cta-inner p { max-width: 620px; margin: 0 auto 28px; color: #bed2ca; }
.cta-inner small { display: block; margin-top: 20px; color: #9db9af; }
.hero-actions.centered { justify-content: center; }
.contact-button { border-color: #d7f36a; color: #d7f36a; background: transparent; }
footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 900px) {
  .docs-grid, .intro-grid { grid-template-columns: 1fr; }.feature-grid { grid-template-columns: 1fr 1fr; }
  .demo-layout { grid-template-columns: 1fr; }.demo-controls { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 12%); }.demo-status { margin: 0; }
  .architecture { grid-template-columns: 1fr 1fr; }.architecture article::after { display: none; }.docs-copy { position: static; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 26px, 1180px); }.hero { padding-top: 64px; }
  .menu-button { display: block; }.navigation { position: absolute; top: 72px; right: 13px; left: 13px; display: none; align-items: stretch; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }.navigation[data-open="true"] { display: flex; }
  .feature-grid, .architecture, .demo-controls, .benefit-row { grid-template-columns: 1fr; }.section { padding: 70px 0; }#public-map { min-height: 520px; }.footer-row { flex-direction: column; }
}
