@font-face {
  font-family: Manrope;
  src: url('assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Literata;
  src: url('assets/fonts/literata-latin-variable.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}

/* A field research publication: open surfaces, precise diagrams, readable data. */
:root {
  color-scheme: light;
  --paper: #f5f7f2;
  --white: #ffffff;
  --ink: #213b2e;
  --muted: #566457;
  --green: #315d40;
  --green-dark: #244a31;
  --sage: #e7ede1;
  --lime: #dbe7b4;
  --line: #cdd6c8;
  --amber: #745117;
  --amber-soft: #f2e9cd;
  --font-body: Manrope, 'Segoe UI', sans-serif;
  --font-display: Literata, Georgia, serif;
  --radius-sm: 6px;
  --radius: 14px;
  --shadow: 0 16px 50px rgb(33 59 46 / 14%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: min(1280px, calc(100% - 96px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--font-body); }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { overflow: visible; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
main:focus { outline: none; }
::selection { color: var(--ink); background: var(--lime); }
input, textarea { caret-color: var(--green); }
* { scrollbar-width: thin; scrollbar-color: #8b9e87 var(--paper); }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 100px 0; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 18px; background: var(--white); border: 2px solid var(--green); border-radius: var(--radius-sm); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Navigation stays legible and stationary as the visitor reads. */
.site-header { position: sticky; top: 0; z-index: 20; height: 84px; padding: 0 max(48px, calc((100% - 1280px) / 2)); display: flex; align-items: center; gap: 32px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 21px; letter-spacing: -.035em; font-weight: 800; }
.brand-copy small { font-size: 11px; font-weight: 700; letter-spacing: .19em; margin-top: 5px; color: var(--green); }
.desktop-nav { display: flex; align-items: center; gap: 24px; margin: 0 auto; font-size: 13px; font-weight: 600; }
.desktop-nav a { display: flex; min-height: 44px; align-items: center; position: relative; white-space: nowrap; }
.desktop-nav a[aria-current="location"]::after { content: ''; position: absolute; height: 2px; bottom: 5px; inset-inline: 0; background: var(--green); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 44px; height: 44px; padding: 9px; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-left: auto; }
.menu-toggle span:not(.sr-only) { width: 20px; height: 1.5px; background: currentColor; transition: transform 180ms var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; inset-inline: 0; padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 24px rgb(33 59 46 / 8%); }
.mobile-menu a { display: block; min-height: 48px; padding: 12px 8px; font-weight: 600; }
.mobile-menu a[aria-current="location"] { color: var(--green); text-decoration: underline; }
.fallback-nav { display: none; }
html:not([data-enhanced]) .menu-toggle { display: none; }

/* Controls */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 23px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; line-height: 1.5; transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease); }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.button-primary { color: var(--white); background: var(--green); }
.button-outline { border-color: var(--green); color: var(--green); }
.button-ghost { padding-inline: 7px; border-radius: 0; text-decoration: underline; }
.button:active, .contact-card button:active { transform: translateY(1px); }
.section-heading { max-width: 870px; margin-bottom: 52px; }
.section-heading h2 { max-width: 800px; }
.section-heading h2 span { display: block; }
.section-heading p { max-width: 66ch; margin-top: 20px; color: var(--muted); }

/* Opening: proposition, then a wide reading of the landscape. */
.hero { padding: 52px 0 0; }
.hero h1 { max-width: 1100px; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.hero h1 > span { display: block; font-family: var(--font-display); font-weight: 400; font-size: .91em; line-height: 1.23; letter-spacing: -.035em; color: var(--green); }
.hero-intro { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin: 25px 0 34px; }
.hero-text { max-width: 65ch; font-size: 15px; color: var(--muted); }
.hero-actions { display: flex; flex-shrink: 0; align-items: center; gap: 16px; }
.field-study { margin: 0; }
.field-landscape { position: relative; height: clamp(280px, 29vw, 410px); isolation: isolate; border-radius: var(--radius); overflow: hidden; background: var(--sage); }
.landscape-image { width: 100%; height: 100%; object-fit: cover; object-position: center 63%; }
.field-reading { position: absolute; min-width: 140px; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgb(33 59 46 / 16%); line-height: 1.45; }
.field-reading > span:not(.reading-point) { font-size: 11px; font-weight: 600; }
.field-reading strong { display: block; margin: 2px 0; font-size: 30px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.field-reading strong span { font-size: 17px; margin-left: 2px; }
.field-reading small { display: block; font-size: 11px; color: var(--muted); }
.reading-point { position: absolute; bottom: -30px; left: 50%; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--green); }
.reading-point::before { position: absolute; content: ''; left: 3px; bottom: 10px; width: 1px; height: 16px; background: var(--paper); }
.reading-north { top: 22%; left: 18%; }
.reading-south { top: 48%; left: 48%; }
.reading-greenhouse { top: 15%; right: 10%; }
.field-caption { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
.field-caption > div { display: flex; flex-direction: column; gap: 3px; }
.field-caption span { color: var(--muted); font-size: 11px; }
.field-caption p { text-align: right; color: var(--muted); }
.field-caption p strong { display: block; color: var(--ink); font-weight: 600; }
.technology-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }

/* The problem reads as three entries, not a wall of boxes. */
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.problem-card { padding: 0 28px 0 0; }
.problem-card + .problem-card { border-left: 1px solid var(--line); padding-left: 28px; }
.line-icon { width: 40px; height: 40px; margin-bottom: 28px; color: var(--green); }
.line-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { margin-bottom: 14px; }
.problem-card p { color: var(--muted); font-size: 14px; }

/* Four real stages: numbering communicates sequence. */
.flow-section { background: var(--sage); }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process-step { position: relative; padding-top: 24px; border-top: 1px solid #91a389; }
.process-number { color: var(--green); font-family: var(--font-display); font-size: 42px; line-height: 1; margin-bottom: 24px; }
.process-copy > span { color: var(--green); font-size: 12px; font-weight: 700; }
.process-copy h3 { font-size: 21px; margin: 12px 0 16px; }
.process-copy p { color: var(--muted); font-size: 13px; }
.process-step:not(:last-child)::after { content: ''; width: 8px; height: 8px; border-top: 1px solid var(--green); border-right: 1px solid var(--green); transform: rotate(45deg); position: absolute; top: -5px; right: 0; }

/* A clearly labelled concept, preserving the information in the original. */
.dashboard-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.dashboard-copy p, .offline-copy p, .project-intro p { margin-top: 24px; color: var(--muted); font-size: 15px; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 13px; }
.feature-list li { display: flex; align-items: center; gap: 12px; }
.feature-list li span { width: 12px; height: 7px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.demo-caption { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.app-window { display: grid; grid-template-columns: 52px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); font-size: 11px; }
.app-sidebar { padding: 20px 8px; background: var(--sage); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sidebar-logo { font-weight: 800; font-size: 22px; }
.sidebar-item { display: block; width: 26px; height: 26px; border-radius: 5px; position: relative; }
.sidebar-item::before { content: ''; position: absolute; inset: 6px; border: 1px solid #6b7a65; border-radius: 2px; }
.sidebar-item.active { background: var(--lime); }
.sidebar-item.bottom { margin-top: auto; }
.app-content { padding: 24px; min-width: 0; }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 20px; }
.app-header small, .app-header strong { display: block; }
.app-header small { color: var(--muted); font-size: 11px; }
.app-header strong { font-size: 15px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; background: var(--sage); border-radius: 50%; font-size: 11px; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-row span, .metric-row strong, .metric-row em { display: block; }
.metric-row span { color: var(--muted); font-size: 11px; }
.metric-row strong { font-size: 25px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.metric-row em { color: var(--green); font-style: normal; font-size: 11px; }
.app-main-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; padding-top: 24px; }
.chart-card { min-width: 0; }
.card-title { display: flex; justify-content: space-between; gap: 8px; }
.card-title strong, .card-title small { display: block; }
.card-title small { color: var(--muted); font-size: 11px; }
.card-title > span { font-size: 11px; color: var(--green); }
.line-chart { margin-top: 22px; width: 100%; height: 135px; }
.grid-line { fill: none; stroke: var(--line); stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.recommendation-card { padding: 16px; background: var(--sage); border-radius: var(--radius-sm); }
.recommendation-badge { display: block; font-size: 11px; color: var(--green); margin-bottom: 18px; }
.recommendation-card h3 { font-size: 14px; line-height: 1.4; }
.recommendation-card p { font-size: 11px; margin: 10px 0; color: var(--muted); }
.demo-action { display: block; padding-top: 10px; color: var(--green); font-size: 11px; font-weight: 700; }
.demo-action small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.zones-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 22px; }
.zones-row article { display: flex; align-items: center; gap: 6px; }
.zones-row strong, .zones-row small { display: block; font-size: 11px; }
.zones-row small { color: var(--muted); font-size: 11px; }
.zone-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--green); }
.zone-dot.warning { background: var(--amber); }

/* Architecture stays readable on mobile, with an accessible full-size view. */
.architecture-section { border-top: 1px solid var(--line); }
.tech-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 30px; }
.tech-pill-grid span { padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 11px; color: var(--green); }
.architecture-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.architecture-toolbar { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.fullscreen-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--sage); border: 0; border-radius: var(--radius-sm); color: var(--green); font-size: 12px; font-weight: 600; }
.architecture-image-wrap { background: var(--white); }
.architecture-image-wrap img { width: 100%; height: auto; }
.tech-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 38px; }
.tech-card small { color: var(--green); font-size: 12px; }
.tech-card h3 { margin: 15px 0 12px; font-size: 22px; }
.tech-card p { color: var(--muted); font-size: 14px; }

/* A functional local gateway, explained as a schematic. */
.offline-section { background: var(--sage); }
.offline-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: center; }
.offline-points { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; font-size: 12px; }
.offline-points .icon { display: inline-block; width: 16px; height: 16px; vertical-align: middle; color: var(--green); margin-right: 6px; }
.offline-visual { display: flex; flex-direction: column; align-items: center; padding: 36px; background: var(--paper); border-radius: var(--radius); }
.offline-cloud { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.cloud-icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.offline-cloud small { font-size: 12px; }
.broken-link { height: 66px; display: flex; align-items: center; gap: 8px; color: var(--amber); font-size: 11px; }
.broken-link span { height: 24px; border-left: 1px dashed #9c8b68; }
.broken-link em { font-style: normal; }
.edge-box { position: relative; width: 100%; padding: 22px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.edge-led { width: 6px; height: 6px; background: var(--green); border-radius: 50%; position: absolute; top: 18px; right: 18px; }
.edge-box > small, .edge-box > strong { display: block; }
.edge-box > small { font-size: 12px; color: var(--muted); }
.edge-box > strong { color: var(--green); font-size: 25px; margin-top: 6px; }
.edge-flow { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 11px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.edge-flow .icon { width: 16px; height: 16px; color: var(--muted); }
.offline-valve { display: flex; flex-direction: column; align-items: center; padding-top: 26px; gap: 12px; }
.offline-valve span { width: 16px; height: 16px; background: var(--green); border-radius: 50%; position: relative; }
.offline-valve span::before { content: ''; width: 1px; height: 26px; background: var(--green); position: absolute; bottom: 16px; left: 8px; }
.offline-valve small { font-size: 11px; color: var(--green); }

/* Applications: one leading use case followed by a compact index. */
.use-case-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; column-gap: 40px; }
.use-case { padding: 28px 0; border-bottom: 1px solid var(--line); }
.use-case-large { grid-row: span 2; padding: 34px; border: 0; border-radius: var(--radius); background: var(--sage); display: flex; flex-direction: column; }
.use-case > span:not(.use-case-icon), .use-case-copy > span { display: block; font-size: 12px; color: var(--green); margin-bottom: 10px; }
.use-case-icon { width: 28px; height: 28px; margin-bottom: 20px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.use-case h3 { font-size: 22px; }
.use-case p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.use-case-large h3 { font-size: 29px; }
.irrigation-visual { position: relative; height: 150px; min-height: 150px; margin-top: auto; }
.irrigation-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--green); top: 38%; }
.sprinkler { position: absolute; width: 7px; height: 18px; background: var(--green); top: 38%; transform: translateX(-50%); }
.sprinkler::before { content: ''; position: absolute; bottom: 18px; left: -22px; width: 52px; height: 24px; border: 1px dashed var(--green); border-bottom: 0; border-radius: 52px 52px 0 0; }
.s1 { left: 20%; } .s2 { left: 50%; } .s3 { left: 80%; }
.irrigation-zone { position: absolute; width: 30%; height: 48px; bottom: 10px; background: #ccdbc0; border-radius: 3px; }
.z1 { left: 0; } .z2 { left: 35%; background: #b6cba5; } .z3 { right: 0; background: #d6e1cf; }

/* Project evidence and roadmap, without implied customer claims. */
.project-section { border-top: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 100px; }
.project-intro { align-self: start; position: sticky; top: 120px; }
.project-intro h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.03em; }
.text-link .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 22px; color: var(--green); font-size: 13px; font-weight: 700; text-decoration: underline; }
.project-values { display: grid; gap: 26px; }
.value-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.value-card > span { color: var(--green); font-size: 12px; padding-top: 4px; }
.value-card h3 { font-size: 23px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14px; }
.roadmap { margin-top: 76px; }
.roadmap-header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.roadmap-header > span { font-size: 22px; font-weight: 600; }
.roadmap-header p { color: var(--muted); font-size: 13px; }
.roadmap-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.roadmap-step { padding: 24px 22px 0 0; border-top: 1px solid var(--line); }
.roadmap-step.active { border-top: 2px solid var(--green); padding-top: 23px; }
.roadmap-step > span { font-variant-numeric: tabular-nums; color: var(--green); font-size: 12px; }
.roadmap-step h3 { font-size: 18px; margin: 16px 0 10px; }
.roadmap-step p { font-size: 12px; color: var(--muted); }

/* Impact and contact close the story in the same visual language. */
.impact-section { background: var(--sage); padding: 68px 0; }
.impact-title { max-width: 800px; margin-bottom: 44px; }
.impact-title h2 { font-size: clamp(28px, 3.3vw, 42px); }
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.impact-symbol { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.impact-card h3 { font-size: 21px; margin-bottom: 10px; }
.impact-card p { font-size: 13px; color: var(--muted); }
.contact-copy { max-width: 900px; margin-bottom: 48px; }
.contact-copy h2 { font-family: var(--font-display); font-weight: 400; }
.contact-copy p { max-width: 67ch; margin-top: 24px; color: var(--muted); }
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.contact-card { display: flex; flex-direction: column; padding: 38px; background: var(--sage); border-radius: var(--radius); }
.contact-card-accent { background: var(--lime); }
.contact-card-accent p { color: #475438; }
.contact-card > span { font-size: 12px; color: var(--green); }
.contact-card h3 { max-width: 430px; margin: 18px 0 14px; font-size: 27px; }
.contact-card p { max-width: 52ch; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.contact-card button .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.contact-card button { align-self: start; display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 48px; margin-top: auto; padding: 12px 0; border: 0; border-bottom: 1px solid var(--green); background: transparent; color: var(--green-dark); text-align: left; font-size: 13px; font-weight: 700; transition: transform 180ms var(--ease), color 180ms var(--ease); }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 45px; }
.footer-grid p { max-width: 38ch; margin-top: 20px; color: var(--muted); font-size: 12px; }
.footer-links, .footer-meta { display: flex; flex-direction: column; align-items: start; font-size: 12px; }
.footer-links a, .footer-meta a { min-height: 36px; padding: 6px 0; }
.footer-meta > span { color: var(--muted); padding: 6px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* Native dialogs provide focus containment, Escape and predictable keyboard use. */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(23 42 32 / 65%); }
.contact-modal { width: min(710px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 42px; border-radius: var(--radius); overflow: auto; }
.modal-close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; }
.modal-copy h2 { max-width: 560px; font-size: 33px; }
.modal-copy p { margin-top: 16px; color: var(--muted); font-size: 13px; }
#contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
#contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; }
#contact-form input, #contact-form select, #contact-form textarea { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #82917c; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 14px; }
#contact-form textarea { resize: vertical; min-height: 124px; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #65715f; opacity: 1; }
#contact-form [aria-invalid="true"] { border-color: #8f302d; }
.full-width, .form-note { grid-column: 1 / -1; }
.form-note { font-size: 12px; color: var(--green-dark); min-height: 1.65em; }
.architecture-modal { width: min(1440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius); overflow: auto; background: var(--white); }
.architecture-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; position: sticky; top: 0; z-index: 1; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.architecture-modal-header h2 { font-size: 17px; letter-spacing: -.02em; }
.architecture-close { position: static; flex: 0 0 auto; }
.architecture-modal-controls { display: flex; align-items: center; gap: 12px; }
.architecture-viewport { max-height: calc(100dvh - 112px); overflow: auto; overscroll-behavior: contain; }
.architecture-viewport img { width: 100%; height: auto; }
.architecture-viewport[data-zoomed="true"] img { width: max(100%, 1100px); max-width: none; }
.prototype-email { color: var(--ink); }
.footer-meta small { font-size: 11px; color: var(--muted); max-width: 25ch; }

/* Only the landscape has an entrance, never the reading content. */
@media (prefers-reduced-motion: no-preference) {
  .field-landscape { animation: landscape-enter 650ms var(--ease) both; }
  @keyframes landscape-enter { from { clip-path: inset(0 0 8% 0 round 14px); } to { clip-path: inset(0 round 14px); } }
}
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: var(--green-dark); }
  .button-outline:hover { background: var(--green); color: var(--white); }
  .button-ghost:hover, .text-link:hover, .desktop-nav a:hover, .footer-links a:hover, .footer-meta a:hover { color: var(--green); text-decoration: underline; }
  .contact-card button:hover { color: var(--ink); }
  .fullscreen-button:hover, .modal-close:hover { background: var(--lime); }
}
@media (max-width: 1180px) {
  :root { --container: min(1280px, calc(100% - 64px)); }
  .site-header { padding-inline: 32px; gap: 20px; }
  .desktop-nav { gap: 16px; font-size: 12px; }
  .hero-intro { align-items: start; }
  .hero-actions { flex-direction: column; align-items: end; gap: 6px; }
  .dashboard-grid { gap: 36px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .offline-grid { gap: 40px; }
  .project-grid { gap: 56px; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; margin-left: 0; }
  .site-header { height: 76px; }
  .fallback-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .fallback-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .section { padding: 76px 0; }
  .hero { padding: 42px 0 0; }
  .hero-intro { align-items: center; }
  .hero h1 { font-size: 50px; }
  .problem-grid { gap: 24px; }
  .problem-card { padding-right: 0; }
  .problem-card + .problem-card { padding-left: 20px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .dashboard-copy { max-width: 690px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-window { grid-template-columns: 56px minmax(0, 1fr); }
  .app-content { padding: 28px; }
  .app-header strong { font-size: 18px; }
  .metric-row strong { font-size: 32px; }
  .metric-row span, .metric-row em { font-size: 11px; }
  .zones-row strong, .zones-row small { font-size: 11px; }
  .app-main-grid { gap: 32px; }
  .recommendation-card h3 { font-size: 18px; }
  .recommendation-card p, .demo-action { font-size: 12px; }
  .use-case-grid { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .use-case-large { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
  .irrigation-visual { margin-top: 0; }
  .project-grid, .offline-grid { gap: 40px; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 680px) {
  :root { --container: calc(100% - 40px); }
  html { scroll-padding-top: 86px; }
  body { font-size: 15px; }
  .site-header { height: 70px; padding-inline: 20px; justify-content: space-between; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 11px; }
  .section { padding: 60px 0; }
  .hero { padding: 32px 0 0; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 46px); letter-spacing: -.035em; line-height: 1.18; }
  .hero h1 > span { margin-top: 8px; line-height: 1.28; }
  .hero-intro { flex-direction: column; align-items: start; gap: 22px; margin: 22px 0 26px; }
  .hero-text { font-size: 14px; }
  .hero-actions { width: 100%; flex-direction: row; align-items: center; gap: 12px; }
  .hero-actions .button { padding-inline: 14px; font-size: 11px; }
  .hero-actions .button-ghost { padding-inline: 0; }
  .hero-actions .icon { width: 17px; height: 17px; }
  .field-landscape { height: 300px; }
  .field-reading { min-width: 0; padding: 8px 10px; }
  .field-reading > span:not(.reading-point) { font-size: 11px; }
  .field-reading strong { font-size: 24px; }
  .field-reading small { font-size: 11px; max-width: 104px; }
  .reading-north { top: 20%; left: 5%; }
  .reading-south { top: 60%; left: 40%; }
  .reading-greenhouse { top: 12%; right: 4%; }
  .field-caption { gap: 10px; font-size: 11px; align-items: start; }
  .field-caption > div { max-width: 65%; }
  .field-caption span { font-size: 11px; }
  .field-caption p { font-size: 11px; }
  .technology-strip { gap: 8px; font-size: 11px; padding: 18px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-heading p { grid-column: 1; font-size: 14px; }
  h2 { font-size: clamp(29px, 7.6vw, 36px); }
  .problem-grid { grid-template-columns: 1fr; gap: 26px; }
  .problem-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 18px; }
  .problem-card + .problem-card { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .problem-card .line-icon { grid-row: span 2; width: 30px; height: 30px; margin-top: 4px; }
  .problem-card h3 { font-size: 20px; margin-bottom: 9px; }
  .problem-card p { font-size: 13px; }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; }
  .process-number { font-size: 32px; padding-top: 5px; }
  .process-step::after { display: none; }
  .process-copy h3 { margin: 8px 0 10px; font-size: 22px; }
  .feature-list { grid-template-columns: 1fr; }
  .app-window { grid-template-columns: 38px minmax(0, 1fr); }
  .app-sidebar { padding-inline: 4px; }
  .app-content { padding: 16px; }
  .app-header strong { font-size: 13px; }
  .metric-row { gap: 8px; }
  .metric-row strong { font-size: 22px; }
  .metric-row span { font-size: 11px; min-height: 26px; }
  .metric-row em { font-size: 11px; }
  .app-main-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-title strong { font-size: 11px; }
  .recommendation-card h3 { font-size: 15px; }
  .recommendation-badge { margin-bottom: 12px; }
  .recommendation-card p { font-size: 11px; }
  .zones-row { grid-template-columns: 1fr; gap: 12px; }
  .zones-row article > div { display: flex; gap: 10px; }
  .zones-row strong, .zones-row small { font-size: 11px; }
  .architecture-toolbar { padding: 12px; gap: 10px; font-size: 11px; }
  .fullscreen-button { padding-inline: 10px; font-size: 11px; flex-shrink: 0; }
  .tech-cards { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .tech-card h3 { margin-top: 10px; }
  .tech-card + .tech-card { border-top: 1px solid var(--line); padding-top: 26px; }
  .offline-grid, .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .offline-visual { padding: 26px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-large { grid-template-columns: 1fr; padding: 26px; gap: 10px; }
  .use-case-large h3 { font-size: 28px; }
  .use-case:not(.use-case-large) { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px 18px; }
  .use-case:not(.use-case-large) .use-case-icon { grid-row: span 3; margin-top: 4px; }
  .use-case:not(.use-case-large) > span { margin-bottom: 0; }
  .use-case:not(.use-case-large) p { grid-column: 2; margin-top: 4px; }
  .project-intro { position: static; }
  .roadmap { margin-top: 44px; }
  .roadmap-header { flex-direction: column; gap: 8px; }
  .roadmap-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .roadmap-step { padding-right: 0; }
  .roadmap-step h3 { font-size: 16px; }
  .impact-title h2 { font-size: 29px; }
  .impact-grid { gap: 28px 24px; }
  .impact-card h3 { font-size: 18px; }
  .impact-card p { font-size: 12px; }
  .contact-copy p { font-size: 14px; }
  .contact-options { grid-template-columns: 1fr; gap: 20px; }
  .contact-card { padding: 26px; }
  .contact-card h3 { font-size: 26px; }
  .contact-card button { width: 100%; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-meta a { overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 11px; }
  .contact-modal { padding: 50px 22px 26px; max-height: calc(100dvh - 24px); }
  .modal-copy h2 { font-size: 28px; }
  #contact-form { grid-template-columns: 1fr; gap: 14px; }
  #contact-form input, #contact-form select, #contact-form textarea { font-size: 16px; }
  .architecture-modal-header { padding: 10px 12px; }
  .architecture-modal-header h2 { font-size: 14px; }
}
@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .impact-grid { grid-template-columns: 1fr; }
  .technology-strip { flex-wrap: wrap; justify-content: start; gap: 12px 24px; }
  .reading-south { left: 34%; }
  .reading-greenhouse { right: 2%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .hero-actions, .skip-link, .open-form, .fullscreen-button { display: none; }
  .section { padding: 25px 0; break-inside: avoid; }
  .container { width: 100%; }
  .project-intro { position: static; }
}
