@font-face{font-family:Vazirmatn;src:url('/assets/Vazirmatn.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:Noto;src:url('/assets/NotoSansArabic-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:Noto;src:url('/assets/NotoSansArabic-Bold.ttf') format('truetype');font-display:swap;font-weight:700}
:root{--paper:#f8f7f1;--ink:#10372f;--muted:#52635a;--line:#d9ded4;--green:#cce873;--light:#e7eddf;--white:#fffef8;--round:22px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.9 Noto,Arial,sans-serif}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:Vazirmatn,Noto,Tahoma,sans-serif;font-weight:650;text-wrap:balance}
h2{font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.48}
h3{font-size:1.2rem;line-height:1.55}
p{color:var(--muted)}
:focus-visible{outline:3px solid #6a8c30;outline-offset:4px}
[hidden]{display:none!important}
.wrap{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.header{border-bottom:1px solid var(--line)}
.navbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:86px}
.brand{display:inline-flex;align-items:center;gap:12px;justify-self:start;white-space:nowrap;font-weight:700}
.brand img{width:127px;height:auto}
.brand span{border-inline-start:1px solid var(--line);padding-inline-start:11px}
nav{display:flex;align-items:center;gap:clamp(16px,3vw,39px);font-size:.91rem}
nav a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:5px}
.navbar>.button{justify-self:end}
.skip{position:fixed;inset-block-start:10px;inset-inline-start:10px;transform:translateY(-150%);z-index:2;background:white;padding:.5rem}
.skip:focus{transform:none}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 23px;border-radius:9px;border:1px solid transparent;font-weight:700;white-space:nowrap}
.button:hover{filter:brightness(.94)}
.button.small{min-height:41px;padding:5px 16px;font-size:.87rem}
.outline{border-color:#a5b3a6}
.solid{background:var(--ink);color:var(--white)}
.accent{background:var(--green)}
.text-link{font-weight:700;text-decoration:underline;text-underline-offset:6px}
.hero{display:grid;grid-template-columns:1fr 1.18fr;align-items:center;gap:clamp(28px,6vw,94px);padding-block:52px}
.hero-copy .eyebrow{margin-bottom:16px}
.eyebrow{font-weight:700;color:#36594a;font-size:.88rem}
.eyebrow span{display:inline-block;width:9px;height:9px;border-radius:50%;background:#78a237;margin-inline-end:6px;vertical-align:middle}
.hero h1{font-size:clamp(2.55rem,5vw,4.4rem);line-height:1.35;font-weight:750}
.hero h1 span{display:block;font-size:clamp(1.25rem,2.15vw,1.75rem);font-weight:550;color:#385747;margin-top:8px;line-height:1.55}
.hero-text{font-size:1.06rem;margin-top:21px;max-width:36ch}
.actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:25px}
.strip{background:var(--ink);color:var(--white)}
.strip-grid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;font-weight:700;font-size:.9rem}
.strip a{display:grid;place-items:center;min-height:48px;padding:13px 8px;border-inline-start:1px solid #426054}
.strip a:hover,.strip a:focus-visible{background:#245346;color:var(--green)}
.strip a:focus-visible{outline:2px solid var(--green);outline-offset:-4px}
.strip a:last-child{border-inline-end:1px solid #426054}
.section{padding-block:clamp(48px,7vw,90px);scroll-margin-top:14px}
.section-head{display:grid;grid-template-columns:1.6fr 1fr;align-items:end;gap:28px;margin-bottom:30px}
.section-head h2,.demo-copy h2{margin-top:6px}
.features{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--round);overflow:hidden}
.features article{
  padding:22px 20px;
  scroll-margin-block:26px;
  transition:background-color .25s,box-shadow .25s;
}
.features article.is-highlighted{
  background:#e8f2cb;
  box-shadow:inset 0 0 0 3px #76a343;
}
@media(prefers-reduced-motion:reduce){.features article{transition:none}}
.features article+article{border-inline-start:1px solid var(--line)}
.feature-icon{width:38px;height:38px;display:grid;place-items:center;background:var(--light);border-radius:9px;font-size:1.25rem;margin-bottom:12px}
.features article p{margin-top:7px}
.demo-section {
  --demo-background: #071a15;
  background-color: var(--demo-background);
  background-image:
    linear-gradient(to bottom, #071a15ed 0%, #071a15d9 40%, #071a1599 60%, #071a1510 100%),
    url('assets/demo-empty-barn.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: var(--white);
  padding-block-end: clamp(180px, 15vw, 280px);
}
.demo-section .demo-window { box-shadow: 0 14px 42px #010a0866; }
.demo-layout{display:grid;grid-template-columns:.8fr 1.35fr;align-items:center;gap:clamp(24px,6vw,98px)}
.demo-copy p{color:#e2eade}
.demo-copy .eyebrow,.demo-copy a{color:var(--green)}
.demo-copy h2+p{margin-block:14px 20px;max-width:34ch}
.demo-window{min-width:0;border-radius:17px;overflow:hidden;background:var(--white);color:var(--ink);min-height:327px}
.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 16px;background:#e8eee2;border-bottom:1px solid #dce2d5}
.demo-bar small{color:var(--muted);font-size:.8rem;padding-inline-start:5px}
.segments{display:flex;gap:3px;background:#dce6d8;border-radius:9px;padding:3px;flex:none}
.segments button,.demo-tabs button{border:0;border-radius:7px;background:transparent;padding:5px 10px;font-weight:700;font-size:.88rem}
.segments button[aria-pressed="true"]{background:var(--ink);color:white}
.demo-title{padding:13px 16px 5px}
.demo-title span{display:block;color:var(--muted);font-size:.86rem}
.demo-title b{font-size:1.13rem}
.demo-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:3px 16px 8px}
.demo-tabs button[aria-pressed="true"]{background:#e7efd5}
.demo-body{padding:4px 16px 15px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stats>div{border:1px solid var(--line);padding:9px 10px;border-radius:10px;min-width:0}
.stats span,.stats strong{display:block}
.stats span{color:var(--muted);font-size:.83rem;line-height:1.55}
.stats strong{font-size:clamp(.88rem,2vw,1.15rem);line-height:1.6;margin-top:6px}
.demo-note{margin-top:11px;padding:7px 10px;border-radius:7px;background:#eef1e8;color:#395648;font-size:.87rem}
.demo-note span{margin-inline-start:13px}
.tasks{display:grid;padding:4px 16px;gap:5px}
.tasks label{display:flex;align-items:center;gap:9px;padding:6px 8px;background:#f0f3e9;border-radius:8px;cursor:pointer}
.tasks input{accent-color:#29543f;width:18px;height:18px}
#task-progress{margin:7px 16px 16px}
.price-box{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:22px;background:#e7eddc;border-radius:var(--round);padding:clamp(20px,5vw,46px)}
.price-box output{font-size:clamp(1.9rem,6vw,4rem);line-height:1.4;font-weight:bold}
.price-box form{justify-self:end;max-width:100%;min-width:195px}
.price-box label{display:block;font-weight:bold}
.price-box form p{margin-top:3px;font-size:.85rem}
.stepper{display:grid;grid-template-columns:44px 1fr 44px;width:188px;max-width:100%;direction:ltr;background:var(--white);border:1px solid #a5b3a6;border-radius:8px}
.stepper input,.stepper button{border:0;background:transparent;text-align:center;min-width:0}
.stepper button{font-weight:bold;font-size:1.25rem;min-height:44px}
.stepper button:hover{background:#ecf2e4}
.downloads{background:#eeefe7}
.downloads-intro{
 position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;
 min-height:clamp(300px,31vw,410px);margin-bottom:20px;padding:clamp(26px,5vw,64px);
 border-radius:var(--round);background:#102f29;color:var(--white)
}
.downloads-intro::before{
 content:"";position:absolute;inset:0;z-index:-1;
 background:linear-gradient(270deg,#102f29 0%,#102f29ee 37%,#102f2900 65%),
  url('assets/download-devices.webp') center / cover no-repeat
}
.downloads-copy{max-width:43%}
.downloads-copy h2{color:var(--white);font-size:clamp(1.75rem,3.1vw,2.7rem);line-height:1.4;margin-block:6px 12px}
.downloads-copy .eyebrow{color:var(--green)}
.downloads-copy p:last-child{color:#e1ede6}
@media(max-width:750px){
 .downloads-intro{align-items:start;min-height:0;padding:24px 22px calc(clamp(210px,51vw,300px) + 18px)}
 .downloads-intro::before{
  inset-block-start:auto;height:clamp(210px,51vw,300px);
  background:linear-gradient(to bottom,#102f29,transparent 36%),
   url('assets/download-devices.webp') left center / auto 100% no-repeat
 }
 .downloads-copy{max-width:none}
}
.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.download-grid article{background:var(--white);padding:24px;border:1px solid var(--line);border-radius:15px;display:flex;align-items:start;flex-direction:column}
.download-grid h3{font-size:1.4rem;margin:3px 0 7px}
.download-grid article>p:not(.eyebrow){margin-bottom:18px}
.download-grid :is(.button,.text-link){margin-top:auto}
.download-note{margin-top:20px}
@media(max-width:750px){.download-grid{grid-template-columns:1fr}}
.faq h2{margin-bottom:15px}
.faq details{border-bottom:1px solid var(--line);padding:13px 0}
.faq summary{cursor:pointer;font-weight:700}
.faq details p{padding-top:6px;padding-inline-start:17px}
footer{border-top:1px solid var(--line);padding-block:25px}
.footer-inner,.footer-inner>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.footer-inner{justify-content:space-between}
.footer-inner img{width:124px;height:auto}
.footer-inner span{font-size:.9rem;font-weight:700}
.learn-intro{padding-block:58px 33px}
.learn-intro h1{font-size:clamp(1.95rem,4.5vw,2.9rem);line-height:1.4;margin-top:6px;font-weight:750}
.learn-intro p:last-of-type{margin-top:11px}
.video-box{display:grid;grid-template-columns:1.3fr .85fr;gap:32px;align-items:center;background:#eaf0e3;border:1px solid var(--line);border-radius:var(--round);padding:20px}
.video-box video{display:block;width:100%;border-radius:11px;background:var(--ink)}
.video-box h2{font-size:1.65rem}
.guide-section{padding-block:44px}
.guide-section h2{font-size:1.75rem;margin-bottom:8px}
.guide-section ul,.guide-section ol{padding-inline-start:1.5rem}
.guide-section li+li{margin-top:5px}
.guide-section+.guide-section{border-top:1px solid var(--line)}
code{unicode-bidi:isolate}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.brand span{display:none}.hero{gap:34px}}
@media(max-width:750px){.wrap{width:calc(100% - 34px)}.navbar{display:flex;flex-wrap:wrap;justify-content:space-between;padding-block:12px;min-height:0;gap:10px}.navbar nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;gap:9px}.hero{grid-template-columns:1fr;padding-block:35px 30px;gap:25px}.section-head,.demo-layout,.video-box{grid-template-columns:1fr;gap:14px}.features{grid-template-columns:repeat(2,1fr)}.features article:nth-child(3){border-inline-start:0}.features article:nth-child(n+3){border-block-start:1px solid var(--line)}.strip-grid{grid-template-columns:repeat(2,1fr)}.strip a:nth-child(2){border-inline-end:1px solid #426054}.strip a:nth-child(n+3){border-top:1px solid #426054}}
@media(max-width:500px){.actions{gap:11px 16px}.button{padding-inline:14px}.brand img{width:115px}.features article{padding:16px 12px}.features article p{font-size:.91rem}.features h3{font-size:1rem}.download-grid,.price-box{grid-template-columns:1fr}.price-box form{justify-self:start}.stats>div{padding-inline:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.feature-carousel {
  min-width: 0;
  background: radial-gradient(ellipse at 100% 0%, #27594a 0%, #10372f 64%);
  color: var(--white);
  border: 1px solid #36594e;
  border-radius: var(--round);
  padding: clamp(18px, 3.2vw, 36px);
}
.carousel-content {
  display: grid;
  touch-action: pan-y;
}
.feature-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-rows: minmax(110px, 1fr) auto;
  gap: 17px;
  min-width: 0;
  min-height: 319px;
}
.slide-copy h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
.slide-copy p { color: #e0eade; margin-top: 7px; max-width: 42ch; }
.slide-preview {
  background: #f7f9ee;
  color: var(--ink);
  border: 1px solid #dfe7d6;
  border-radius: 15px;
  padding: clamp(12px, 2vw, 18px);
  min-height: 163px;
}
.preview-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8e1d6;
}
.preview-head small, .preview-row small, .preview-stat small {
  color: #435e52;
  font-size: .8rem;
}
.preview-list { display: grid; gap: 5px; margin-top: 7px; }
.preview-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-height: 43px;
  padding: 5px 7px;
  border-radius: 8px;
  font-size: .91rem;
}
.preview-row.is-current { background: #e9efdc; }
.preview-row small { display: inline-block; margin-inline-start: 7px; }
.preview-row > small, .preview-badge { margin-inline-start: auto; }
.preview-badge { color: #21472d; background: #dbeacb; padding: 0 7px; border-radius: 6px; font-size: .76rem; }
.preview-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #dfe9d7;
  color: #1f4939;
  font-size: 1.12rem;
  line-height: 1;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.preview-stats.account-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preview-stat { min-width: 0; background: #eaf0e4; padding: 8px 10px; border-radius: 8px; }
.preview-stat span, .preview-stat b, .preview-stat small { display: block; }
.preview-stat span { color: #4b6255; font-size: .82rem; }
.preview-stat b { line-height: 1.55; }
.preview-stat.balance { background: #e3edc9; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border-top: 1px solid #537368;
  padding-top: 12px;
  margin-top: 16px;
}
.carousel-controls button { min-height: 44px; border-radius: 8px; font-weight: 700; }
.carousel-direction { border: 1px solid #7d9d8f; background: transparent; padding: 1px 12px; font-size: .88rem; }
.carousel-controls button:hover { background: #28564a; }
.carousel-controls button:focus-visible { outline-color: var(--green); }
.carousel-picks { display: flex; }
.carousel-picks button {
  display: grid;
  place-items: center;
  width: clamp(24px, 6vw, 35px);
  padding: 0;
  border: 0;
  background: transparent;
}
.carousel-picks button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: #93afa2;
}
.carousel-picks button[aria-pressed="true"]::before { width: 20px; background: var(--green); }
@media (max-width: 420px) {
  .feature-slide { grid-template-rows: minmax(117px, 1fr) auto; min-height: 310px; }
  .preview-row span:not(.preview-icon) small { display: block; margin: 0; }
  .preview-row > small { font-size: .75rem; }
  .preview-stat { padding: 7px 5px; }
  .preview-stat b { font-size: .85rem; }
}

.preview-note {
  margin-top: 9px;
  color: #435e52;
  font-size: .8rem;
  line-height: 1.65;
}
.water-comparison {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}
.water-comparison > div {
  display: grid;
  grid-template-columns: minmax(0, .7fr) repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  font-size: .88rem;
}
.water-comparison .preview-stat { padding: 3px 7px; }
.water-comparison .water-drop { background: #f4e4cf; color: #6c411c; }
.carousel-content .feature-slide[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 420px) {
  .carousel-direction { padding-inline: 7px; }
  .carousel-picks button { width: clamp(18px, 5.3vw, 24px); }
  .carousel-picks button[aria-pressed="true"]::before { width: 14px; }
}

.hero-backdrop {
  background-color: var(--paper);
  background-image:
    linear-gradient(270deg, rgba(248, 247, 241, .72) 0%, rgba(248, 247, 241, .18) 37%, transparent 60%),
    url('assets/farm-panorama.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.hero-backdrop .hero {
  padding-block-end: clamp(118px, 9.5vw, 164px);
}
.hero-backdrop .feature-carousel {
  box-shadow: 0 10px 32px rgba(16, 55, 47, .2);
}
@media (max-width: 750px) {
  .hero-backdrop {
    background-image:
      linear-gradient(to bottom, var(--paper), rgba(248, 247, 241, .12) 44%, transparent 76%),
      url('assets/farm-panorama.webp');
    background-size: 100% 246px, max(100%, 625px) 246px;
    background-position: center bottom, left bottom;
  }
  .hero-backdrop .hero {
    padding-block-end: clamp(140px, 35vw, 190px);
  }
}

.carousel-playback {
  min-width: 44px;
  padding-inline: 0;
  flex-shrink: 0;
  line-height: 1;
}
.carousel-playback span { font-size: 1rem; }
@media (max-width: 480px) {
  .carousel-controls {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
  .carousel-playback { justify-self: center; }
  .carousel-picks {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }
  .carousel-direction[data-slide-motion="-1"] { grid-column: 1; grid-row: 1; }
  .carousel-direction[data-slide-motion="1"] { grid-column: 3; grid-row: 1; }
}

.demo-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.45fr); align-items: start; }
.demo-copy { padding-block: 20px; }
.demo-cta { display: flex; align-items: start; flex-direction: column; gap: 9px; }
.demo-copy .demo-cta .accent { color: var(--ink); white-space: normal; }
.demo-tabs { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.demo-tabs button { min-height: 38px; }
.demo-body h3 { margin-bottom: 9px; }
.demo-explain { color: var(--muted); margin-bottom: 8px; font-size: .9rem; }
.demo-field { display: grid; gap: 3px; font-size: .88rem; font-weight: 700; max-width: 22rem; margin-block: 8px; }
.demo-field input { width: 100%; min-width: 0; border: 1px solid #a5b3a6; background: #fff; border-radius: 7px; padding: 5px 9px; }
.demo-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.demo-comparison > div { display: grid; align-content: start; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #f1f5e8; }
.demo-comparison span { color: var(--muted); font-size: .82rem; }
.demo-comparison strong { font-size: .97rem; }
.demo-form { display: flex; align-items: end; flex-wrap: wrap; gap: 5px 9px; margin-top: 8px; }
.demo-form .demo-field { flex: 1 1 170px; margin: 0; }
.demo-switch { margin-top: 9px; white-space: normal; }
.demo-footer { padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.demo-footer span { font-size: .84rem; }
@media(max-width: 750px) {
  .demo-layout { grid-template-columns: 1fr; }
  .demo-copy { padding: 0; }
  .demo-cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media(max-width: 370px) {
  .demo-bar { flex-wrap: wrap; }
  .demo-comparison { grid-template-columns: 1fr; }
}

@media (max-width: 750px) {
  .demo-section {
    --demo-photo-height: clamp(280px, 60vw, 450px);
    background-image:
      linear-gradient(to bottom, var(--demo-background) calc(100% - var(--demo-photo-height)), #071a1510 100%),
      url('assets/demo-empty-barn.webp');
    background-size: 100% 100%, max(100%, calc(var(--demo-photo-height) * 2.4)) var(--demo-photo-height);
    padding-block-end: clamp(185px, 37vw, 260px);
  }
}
