/* Product photography is preserved; device frames are presentation-only CSS. */
.herdmax-screenshot{display:block;width:100%;height:auto;object-fit:contain}
.farm-layout-photo{margin:36px 0 0;border:1px solid #cbd9c1;border-radius:14px;overflow:hidden;background:#fff;min-width:0}
.farm-layout-photo>a{display:block}
.farm-layout-photo img{display:block;width:100%;height:auto;object-fit:contain}
.farm-layout-photo figcaption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;font-size:12px}
.farm-layout-photo figcaption>a{color:var(--ink);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.real-software-preview{display:block;min-width:0;overflow:hidden;border-radius:14px;background:#171e31;box-shadow:0 22px 55px #173f3519;border:8px solid #283332}
.real-software-preview>span{display:flex;justify-content:space-between;padding:17px 20px;font-size:12px;color:#d4e6d7;background:#223d33}
.software-art{width:100%;margin-bottom:0;padding-bottom:25px;transform:none}
.software-art>img{width:100%;border:6px solid #263332;border-radius:9px;box-shadow:0 16px 35px #173f3522}
.software-card{min-height:0}
.actual-screen{background:#171e31;border-radius:12px;border:6px solid #293634;overflow:hidden;box-shadow:0 15px 35px #173f3519;align-self:center}
.actual-screen>img{width:100%;height:auto}
.actual-screen>span{padding:15px 16px;display:flex;justify-content:space-between;gap:12px;color:#d9e9dc;font-size:12px}
.herdmax-hero{grid-template-columns:.9fr 1.1fr;gap:40px;overflow:visible}
.herdmax-hero h1{font-size:clamp(45px,4.8vw,68px)}
.software-hero-visual{position:relative;min-height:485px;isolation:isolate;display:flex;flex-direction:column;justify-content:center;padding:12px 0 60px}
.software-hero-visual:before{content:"";position:absolute;inset:16px -16px 0 20px;border-radius:130px 22px 22px 22px;background:radial-gradient(ellipse at 80% 30%,#d6e8b7,transparent 70%),#e9efe3;z-index:-1}
.software-hero-brand{display:flex;align-items:center;justify-content:space-between;padding:0 32px 14px}
.software-hero-brand img{height:115px;width:115px;object-fit:contain}
.software-hero-brand>span{font-size:8px;letter-spacing:2px;color:#47603d}
.monitor-frame{padding:9px 9px 0;background:linear-gradient(135deg,#536463,#162320 40%,#354742);border:1px solid #5f726c;border-radius:12px;box-shadow:0 20px 38px #061c2926;position:relative}
.monitor-screen{aspect-ratio:1.98;background:#171e31;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;border:1px solid #0d1715}
.monitor-screen>img{width:100%;height:100%;object-fit:contain}
.monitor-brand{height:24px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:7px;letter-spacing:2px;color:#c6d1cc}
.monitor-brand i{width:3px;height:3px;border-radius:50%;background:#a6d77b}
.monitor-stand{position:relative;width:20%;height:45px;margin:auto;background:linear-gradient(90deg,#6f807a,#b7c2b8 45%,#65756d);clip-path:polygon(20% 0,80% 0,86% 85%,100% 92%,100% 100%,0 100%,0 92%,14% 85%)}
.hero-monitor{width:94%}
.hero-phone{position:absolute;width:53%;right:-8px;bottom:44px;transform:rotate(-5deg);filter:drop-shadow(0 15px 16px #173f3533)}
.phone-frame{position:relative;background:#172421;padding:11px 22px;border:2px solid #788780;border-radius:25px;box-shadow:inset 0 0 0 3px #35463e,0 16px 35px #102d2822}
.phone-frame>img{width:100%;height:auto;object-fit:contain;background:#171e31;border-radius:5px}
.phone-camera{position:absolute;width:5px;height:22px;border-radius:10px;left:9px;top:calc(50% - 11px);background:#08120e}
.phone-home{position:absolute;width:3px;height:24%;right:9px;top:38%;border-radius:4px;background:#b4c0ba}
.device-note{position:absolute;bottom:11px;left:35px;font-size:10px;color:#42563b}
.product-gallery-section{background:#eaf0e4;border-block:1px solid #d7e2ce}
.gallery-heading{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:end;margin-bottom:38px}
.gallery-heading>p{max-width:410px;font-size:15px;margin:0 0 5px;justify-self:end}
.software-gallery{border-radius:20px;background:#fff;border:1px solid #d1ddc9;overflow:hidden;box-shadow:0 24px 60px #173f3510}
.gallery-toolbar{background:#163a32;color:#e1efd7;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 28px}
.gallery-label{font-size:10px;letter-spacing:1.6px;display:flex;align-items:center;gap:10px}
.gallery-label>i{height:6px;width:6px;flex:none;background:#b5d97a;border-radius:50%;box-shadow:0 0 0 4px #b5d97a15}
.gallery-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.gallery-actions .slide-count{margin-right:12px}
.gallery-actions .pause-button{min-width:75px;font-size:16px}
.gallery-actions .circle-button{height:38px;width:38px;border-color:#789386}
.gallery-stage{position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 25%,#f4f7ef,#d5e1cd);padding:42px 10% 32px;touch-action:pan-y;overflow:hidden}
.gallery-stage-grid{position:absolute;inset:0;z-index:-1;background:linear-gradient(#35594408 1px,transparent 1px),linear-gradient(90deg,#35594408 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(transparent,#000)}
.gallery-monitor{position:relative;max-width:970px;margin:auto}
.gallery-monitor:after{content:"";position:absolute;width:55%;height:18px;left:22.5%;bottom:-8px;border-radius:50%;background:#16392c22;filter:blur(8px);z-index:-1}
.gallery-stage .monitor-stand{height:49px}
.enlarge-screen{position:absolute;bottom:18px;right:22px;padding:9px 12px;border:1px solid #a4b6a0;border-radius:6px;font-size:11px;color:#173f35;background:#ffffffdf;display:flex;gap:15px;align-items:center}
.enlarge-screen:hover{background:#fff;border-color:#3e6d22}
.gallery-caption{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;padding:37px 40px 32px;min-height:305px}
.gallery-caption .eyebrow{font-size:9px;margin-bottom:15px;letter-spacing:1.7px}
.gallery-caption h3{font-size:32px;letter-spacing:-1px;margin-bottom:18px;max-width:490px;line-height:1.14}
.gallery-caption p:last-child{font-size:14px;line-height:1.8;margin-bottom:0}
.gallery-caption ul{list-style:none;padding:3px 0 0;margin:0;align-self:center}
.gallery-caption li{font-size:13px;padding:12px 0 12px 24px;position:relative;border-bottom:1px solid #e5eadf}
.gallery-caption li:last-child{border:0}
.gallery-caption li:before{content:'↗';position:absolute;left:0;color:#3e6d22}
.gallery-thumbnails{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;padding:20px 28px;background:#f3f6ee;border-top:1px solid #dde6d6}
.gallery-thumbnails button{padding:5px;border:1px solid #d4decd;border-radius:8px;background:#fff;color:#52655d;text-align:left;min-width:0;transition:border-color .2s,background .2s}
.thumbnail-image{display:block;aspect-ratio:1.98;background:#171e31;overflow:hidden;border-radius:4px}
.thumbnail-image>img{width:100%;height:100%;object-fit:contain}
.gallery-thumbnails button>span:last-child{display:block;padding:9px 3px 4px;font-size:10px;line-height:1.4}
.gallery-thumbnails small{display:block;font-size:8px;color:#52655d;margin-bottom:3px;letter-spacing:1px}
.gallery-thumbnails button[aria-pressed=true]{border-color:#365e2e;background:#e3efd3;box-shadow:0 0 0 1px #365e2e;color:#1c3c22}
.gallery-thumbnails button:hover{border-color:#365e2e}
.gallery-help{font-size:11px;text-align:center;padding:14px 20px;margin:0;background:#f3f6ee;color:#52655d}
.gallery-slides article:not([hidden]){animation:gallery-reveal .4s ease-out}
@keyframes gallery-reveal{from{opacity:.6}to{opacity:1}}
.screen-lightbox{width:calc(100vw - 32px);max-width:1600px;max-height:94dvh;padding:0;border:1px solid #5a7065;border-radius:14px;color:#e4eee7;background:#102a24;box-shadow:0 20px 100px #0008}
.screen-lightbox::backdrop{background:#081711e8;backdrop-filter:blur(6px)}
body:has(.screen-lightbox[open]){overflow:hidden}
.lightbox-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 22px}
.lightbox-bar h2{font-size:19px;color:#fff;letter-spacing:0}
.lightbox-bar button{background:#29463b;color:#fff;border:1px solid #6a8074;border-radius:7px;padding:9px 15px;font-size:13px;white-space:nowrap}
.lightbox-bar button>span{margin-left:15px;font-size:18px}
.lightbox-image{background:#101728;overflow:auto;text-align:center}
.lightbox-image img{width:100%;height:auto;max-height:74dvh;object-fit:contain}
.lightbox-footer{display:flex;justify-content:space-between;gap:15px;padding:15px 22px;font-size:12px}
.lightbox-footer a{text-decoration:underline;text-underline-offset:4px}
.lactation-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:0 70px;align-items:end}
.lactation-heading>.eyebrow{grid-column:1/-1}
.lactation-heading>p:last-child{max-width:470px;margin-bottom:0;justify-self:end;font-size:15px}
.lactation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-block:48px 35px}
.lactation-steps article{border-top:2px solid #adc693;padding-top:24px}
.lactation-steps article>span{font-size:9px;letter-spacing:1.5px;color:#3e6d22}
.lactation-steps h3{font-size:26px;letter-spacing:-.6px;margin:18px 0}
.lactation-steps p{font-size:14px;line-height:1.85;margin:0}
.lactation-stage-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d5dfcc;border-radius:9px;overflow:hidden;background:#edf2e6;margin-bottom:25px}
.lactation-stage-row>span{padding:17px 12px;border-right:1px solid #d5dfcc;font-size:12px;color:#244431}
.lactation-stage-row>span:last-child{border:0}
.lactation-stage-row small{display:block;font-size:8px;color:#4d6b3c;margin-bottom:7px}
.lactation-stage-row>span:nth-child(3){background:#dcebbf}
.lifecycle-section{background:#163a32;color:#c6d5cb}
.lifecycle-section h2,.lifecycle-section h3{color:#f2f7e9}
.lifecycle-section .eyebrow{color:#c5dfa7}
.lifecycle-section .lead{color:#e2ecde;margin-top:24px}
.lifecycle-section p:not(.lead):not(.eyebrow){font-size:14px}
.lifecycle-cards{display:flex;flex-direction:column;justify-content:center;gap:25px}
.lifecycle-cards article{display:flex;align-items:flex-start;gap:24px;border-bottom:1px solid #456256;padding-bottom:22px}
.lifecycle-cards article:last-child{border:0;padding:0}
.lifecycle-cards article>span{width:35px;height:35px;flex:none;border-radius:50%;border:1px solid #6b8769;display:grid;place-items:center;font-size:10px;color:#cce7a4}
.lifecycle-cards h3{font-size:24px;margin-bottom:12px}
.lifecycle-cards p{margin:0}
.mobile-story{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}
.mobile-story-copy>p:not(.eyebrow){font-size:15px;margin-top:24px}
.mobile-story-copy .text-link{margin-top:15px}
.mobile-showcase{background:radial-gradient(ellipse at 70% 10%,#e0edcb,transparent 60%),#edf2e7;border:1px solid #d8e2d0;border-radius:26px;padding:35px 30px 20px;overflow:hidden}
.mobile-showcase figure{margin:0 0 22px}
.mobile-showcase figure:first-child{margin-right:30px}
.mobile-showcase figure:nth-child(2){margin-left:30px}
.mobile-showcase figcaption{font-size:12px;color:#34513b;padding:16px 8px 0}
.mobile-showcase figcaption>span{display:block;font-size:8px;letter-spacing:1.4px;margin-bottom:5px;color:#42643c}
.mobile-preview-note{font-size:10px;color:#52655d;text-align:center;margin-bottom:0}
@media(min-width:1000px){.herdmax-hero .software-hero-visual{margin-left:-8px}}
@media(max-width:1000px){.herdmax-hero{gap:20px}.software-hero-visual{min-height:415px}.software-hero-brand{padding:0 20px 12px}.hero-phone{bottom:55px}.gallery-caption{gap:30px;padding:30px;min-height:325px}.gallery-caption h3{font-size:29px}.gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gallery-thumbnails button>span:last-child{font-size:11px}.gallery-thumbnails small{display:inline;margin-right:8px}.gallery-heading,.lactation-heading{gap:0 35px}.mobile-story{gap:35px}.lactation-steps{gap:25px}.lactation-stage-row>span{font-size:10px;padding:15px 10px}}
@media(max-width:700px){.herdmax-hero{grid-template-columns:1fr;gap:16px}.software-hero-visual{min-height:365px;max-width:540px;width:100%;margin:auto;padding-bottom:73px}.software-hero-visual:before{inset:20px 0 0 0;border-radius:85px 16px 16px 16px}.software-hero-brand{padding:0 25px 12px}.software-hero-brand img{height:95px;width:95px}.hero-monitor{width:92%;margin-left:5px}.hero-phone{width:52%;right:10px;bottom:43px}.device-note{left:25px;bottom:12px;font-size:9px}.monitor-frame{padding:6px 6px 0;border-radius:9px}.monitor-brand{height:18px;font-size:5px;letter-spacing:1.3px}.monitor-stand{height:33px}.phone-frame{padding:7px 15px;border-radius:17px}.phone-camera{left:6px;width:4px;height:16px;top:calc(50% - 8px)}.phone-home{right:6px;width:2px}.gallery-heading{grid-template-columns:1fr;gap:22px;margin-bottom:27px}.gallery-heading>p{justify-self:start;max-width:none;font-size:14px}.gallery-toolbar{flex-direction:column;align-items:stretch;padding:17px 18px;gap:15px}.gallery-label{font-size:9px}.gallery-actions{justify-content:flex-end;gap:9px}.gallery-actions .slide-count{margin-right:auto}.gallery-actions .pause-button{min-width:71px}.gallery-actions .circle-button{height:40px;width:40px}.gallery-stage{padding:26px 12px 48px}.gallery-stage .monitor-stand{height:29px}.enlarge-screen{right:14px;bottom:10px;padding:7px 10px;font-size:10px}.gallery-caption{grid-template-columns:1fr;padding:26px 22px;gap:16px;min-height:0}.gallery-caption h3{font-size:28px}.gallery-caption p:last-child{font-size:13px}.gallery-caption ul{padding-top:0}.gallery-caption li{font-size:12px;padding-block:11px}.gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 12px}.gallery-thumbnails button{padding:3px}.gallery-thumbnails button>span:last-child{font-size:9px;padding:7px 2px 3px}.gallery-thumbnails small{display:block;margin:0 0 3px;font-size:7px}.gallery-help{font-size:10px;padding:12px 17px 17px}.lactation-heading{grid-template-columns:1fr;gap:20px}.lactation-heading>.eyebrow{margin:0}.lactation-heading>p:last-child{font-size:14px;justify-self:start}.lactation-steps{grid-template-columns:1fr;gap:27px;margin-top:33px}.lactation-steps article{padding-top:20px}.lactation-steps h3{font-size:27px;margin-block:12px}.lactation-steps p{font-size:13px}.lactation-stage-row{grid-template-columns:repeat(4,minmax(0,1fr))}.lactation-stage-row>span{font-size:10px;border-bottom:1px solid #d5dfcc;padding:12px 10px}.lactation-stage-row>span:nth-child(4){border-right:0}.lactation-stage-row>span:nth-child(n+5){border-bottom:0}.mobile-story{grid-template-columns:1fr;gap:30px}.mobile-showcase{padding:26px 17px 20px}.mobile-showcase figure:first-child{margin-right:16px}.mobile-showcase figure:nth-child(2){margin-left:16px}.lightbox-bar{padding:13px;gap:12px}.lightbox-bar h2{font-size:15px;line-height:1.3}.lightbox-bar button{font-size:11px;padding:8px}.lightbox-bar button>span{margin-left:7px}.lightbox-footer{padding:13px;flex-wrap:wrap;font-size:11px}.real-software-preview{transform:none}.software-art{width:100%}.software-card{min-height:0}.actual-screen>span{font-size:11px}.lifecycle-cards article{gap:17px}.lifecycle-cards h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){.gallery-slides article:not([hidden]){animation:none}}
