:root{--ink:#173c2b;--green:#176b43;--green2:#2f8d53;--lime:#a6d46a;--cream:#fbfaf3;--paper:#fffef9;--muted:#63746a;--line:#e3e9dc;--shadow:0 18px 55px rgba(28,69,44,.09);--radius:24px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.7 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--green);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#0e4b2d}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}button,a,.btn{transition:transform .2s ease,background .2s ease,border-color .2s ease}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a6d46a;outline-offset:3px}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.skip{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px;z-index:1000}.skip:focus{left:10px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,250,243,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(227,233,220,.8)}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:850;font-size:1.28rem;letter-spacing:-.04em}.brand img{width:46px;height:46px;object-fit:contain;border-radius:14px}.brand small{display:block;color:var(--muted);font-size:.68rem;font-weight:600;letter-spacing:0}.nav-links{display:flex;align-items:center;gap:21px}.nav-links a{text-decoration:none;font-size:.92rem;color:#345745;font-weight:650}.nav-links a:hover{color:var(--green2)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;padding:12px 20px;font-weight:750;text-decoration:none;cursor:pointer}.btn-primary,.nav-cta{background:var(--green);color:#fff;box-shadow:0 8px 20px rgba(23,107,67,.16)}.btn-primary:hover,.nav-cta:hover{background:#0d5634;color:white;transform:translateY(-1px)}.btn-secondary{background:#fffef9;border-color:var(--line);color:var(--ink)}.btn-secondary:hover{border-color:#a7c6aa;transform:translateY(-1px)}.menu-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 12px;color:var(--ink)}
.hero{padding:76px 0 65px;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;width:540px;height:540px;border-radius:50%;background:radial-gradient(circle,rgba(166,212,106,.18),transparent 68%);right:-170px;top:-180px;pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #dce9d5;background:#f1f7e9;color:#27623c;border-radius:999px;font-weight:750;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#78b64e}.hero h1,.page-hero h1{font-size:clamp(2.7rem,5.4vw,5rem);line-height:1.03;letter-spacing:-.065em;margin:20px 0;color:#153e2a}.hero h1 em{font-style:normal;color:var(--green2)}.lead{font-size:1.16rem;max-width:600px;color:#5d7064}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.trust-line{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:.88rem;margin-top:22px}.trust-line span{color:#c1d8b1}.hero-art{position:relative;min-height:420px;display:grid;place-items:center}.hero-orbit{position:absolute;width:min(440px,95%);aspect-ratio:1;border-radius:50%;background:linear-gradient(140deg,#edf5e2,#fffdf5);border:1px solid #e0e9d7}.hero-logo{width:min(350px,80%);aspect-ratio:1;object-fit:contain;position:relative;filter:drop-shadow(0 24px 25px rgba(26,77,42,.12));border-radius:30%}
.section{padding:72px 0}.section-soft{background:#f3f6ec;border-block:1px solid #e9eee2}.section-head{max-width:720px;margin:0 auto 36px;text-align:center}.section-head h2{font-size:clamp(2rem,3.6vw,3.1rem);letter-spacing:-.05em;line-height:1.12;margin:13px 0}.section-head p{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 5px 24px rgba(25,66,40,.035)}.card h3{margin:12px 0 7px;letter-spacing:-.025em}.card p{color:var(--muted);margin:0}.icon-box{width:48px;height:48px;border-radius:16px;background:#edf5e5;color:var(--green);display:grid;place-items:center;font-size:1.35rem;font-weight:800}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.feature{display:flex;gap:16px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:23px}.feature h3{margin:1px 0 6px}.feature p{margin:0;color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.split h2{font-size:clamp(2rem,3.4vw,3rem);letter-spacing:-.05em;line-height:1.1;margin:14px 0}.split p{color:var(--muted)}.screenshot-frame{background:#e9f0df;border-radius:32px;padding:15px;border:1px solid #d9e6d1;box-shadow:var(--shadow)}.screenshot-frame img{width:100%;max-height:580px;object-fit:contain;border-radius:20px}.cta-band{background:linear-gradient(120deg,#154c30,#277b48);border-radius:30px;padding:40px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-band h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.12;letter-spacing:-.04em;margin:0 0 8px}.cta-band p{margin:0;color:#dcecdf}.cta-band .btn{background:#fff;color:#17482e;white-space:nowrap}
.page-hero{padding:65px 0 35px;background:radial-gradient(ellipse at 85% 10%,rgba(166,212,106,.17),transparent 40%)}.page-hero h1{font-size:clamp(2.5rem,5vw,4.2rem);margin:15px 0}.page-hero p{max-width:760px;color:var(--muted);font-size:1.08rem}.content{max-width:850px;margin:0 auto;padding:20px 0 80px}.content h2{margin-top:38px;letter-spacing:-.03em}.content h3{margin-top:26px}.content p,.content li{color:#4e6255}.content li{margin:7px 0}.notice{border-left:4px solid #7cac55;background:#f0f6e9;padding:17px 20px;border-radius:0 14px 14px 0;color:#3e5a43}.download-options{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.download-card{display:flex;flex-direction:column;gap:13px}.download-card .btn{margin-top:auto}.tag{font-size:.72rem;background:#edf5e5;color:#28643c;padding:5px 9px;border-radius:99px;align-self:flex-start;font-weight:800}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.gallery figure{margin:0;padding:12px;background:#eff4e7;border:1px solid var(--line);border-radius:22px}.gallery img{width:100%;height:500px;object-fit:contain;background:#fbfaf4;border-radius:14px}.gallery figcaption{font-weight:750;padding:12px 5px 4px}.faq-list details{background:#fffef9;border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin:11px 0}.faq-list summary{font-weight:750;cursor:pointer}.faq-list details p{color:var(--muted);margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:750;font-size:.9rem}.field input,.field textarea,.field select{width:100%;border:1px solid #d9e2d6;border-radius:13px;padding:13px 14px;background:#fffefb;color:var(--ink)}.field textarea{min-height:160px;resize:vertical}.form-status{margin-top:14px;padding:12px 15px;border-radius:12px;display:none}.form-status.show{display:block}.form-status.success{background:#e9f6e9;color:#1b6337}.form-status.error{background:#fff0e9;color:#8a341b}.honeypot{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.site-footer{background:#133a28;color:#e8f2e7;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:38px}.footer-brand{color:#fff}.footer-brand small{color:#c1d5c2}.site-footer p,.site-footer a{color:#c7d9c9}.site-footer a{text-decoration:none}.site-footer a:hover{color:#fff}.footer-links{display:grid;gap:8px}.site-footer h3{font-size:.95rem;color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:15px;color:#b6cbbb;font-size:.85rem}.breadcrumbs{font-size:.88rem;color:var(--muted);padding-top:24px}.breadcrumbs a{color:var(--green)}.empty-state{padding:22px;border:1px dashed #cbd9c6;border-radius:18px;color:var(--muted);background:#fffef9}
@media(max-width:900px){.nav-links{gap:13px}.nav-links a{font-size:.84rem}.hero-grid{gap:20px}.hero-art{min-height:330px}.cards{grid-template-columns:repeat(2,1fr)}.download-options{grid-template-columns:1fr}.download-card{min-height:unset}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:700px){.container{width:min(var(--max),calc(100% - 30px))}.nav{min-height:70px}.brand img{width:40px;height:40px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;left:15px;right:15px;top:66px;padding:15px;background:#fffef9;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.nav-links.open{display:flex}.nav-links a{padding:11px 8px;font-size:.98rem}.nav-links .nav-cta{text-align:center;margin-top:7px}.hero{padding:48px 0 42px}.hero-grid,.split{grid-template-columns:1fr}.hero h1{font-size:clamp(2.6rem,12vw,4rem)}.hero-art{min-height:290px;order:-1}.hero-logo{width:min(260px,75%)}.section{padding:52px 0}.cards,.feature-grid,.gallery{grid-template-columns:1fr}.gallery img{height:auto;max-height:620px}.cta-band{padding:27px;align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-grid{grid-template-columns:1fr;gap:20px}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column}.page-hero{padding:45px 0 22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* Consistent inline SVG icon system: no emoji or text-symbol icons. */
.ui-icon{display:inline-block;width:1.15em;height:1.15em;flex:0 0 auto;vertical-align:-.18em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-box .ui-icon{width:25px;height:25px}
.btn .ui-icon{width:17px;height:17px}
.nav-icon{display:inline-flex;align-items:center;justify-content:center;gap:8px}


/* Contrast fix: green CTA buttons always use white text, including navigation and visited/hover states. */
a.nav-cta,
.nav-cta,
a.btn-primary,
.btn-primary,
button.btn-primary,
a.nav-cta:link,
a.nav-cta:visited,
a.btn-primary:link,
a.btn-primary:visited {
  color: #ffffff !important;
  background-color: #176b43;
  border-color: #176b43;
}
a.nav-cta:hover,
.nav-cta:hover,
a.btn-primary:hover,
.btn-primary:hover,
button.btn-primary:hover {
  color: #ffffff !important;
  background-color: #0d5634;
  border-color: #0d5634;
}
a.nav-cta:focus-visible,
a.btn-primary:focus-visible,
button.btn-primary:focus-visible {
  color: #ffffff !important;
  outline: 3px solid #a6d46a;
  outline-offset: 3px;
}
a[aria-disabled="true"] {
  color: #52665a !important;
  background: #edf1e9 !important;
  border-color: #d8e1d3 !important;
  cursor: not-allowed;
  opacity: 1;
}


/* Homepage feature artwork: show the real app screen rather than the app icon. */
.hero-feature-art { min-height: 420px; display:flex; align-items:center; justify-content:center; }
.hero-feature-frame { position:relative; z-index:1; width:min(72%, 330px); padding:9px; border:1px solid rgba(45,91,57,.18); border-radius:28px; background:rgba(255,255,255,.82); box-shadow:0 24px 64px rgba(32,66,42,.17); transform:rotate(2deg); }
.hero-feature-image { display:block; width:100%; height:auto; max-height:570px; object-fit:cover; object-position:top; border-radius:20px; }
.nav-links .nav-source { color:var(--green-800, #245a38); font-weight:750; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.nav-links .nav-source:hover, .nav-links .nav-source:focus-visible { color:var(--green-900, #173e27); }
@media (max-width: 760px) {
  .hero-feature-art { min-height: 300px; }
  .hero-feature-frame { width:min(62%, 250px); }
  .hero-feature-image { max-height:420px; }
}


/* Supplied Doseleaf promotional artwork in the homepage hero. */
.hero-feature-art { min-height:0; display:flex; align-items:center; justify-content:center; }
.hero-feature-image { position:relative; z-index:1; display:block; width:100%; height:auto; max-height:none; object-fit:contain; border-radius:22px; box-shadow:0 22px 60px rgba(32,66,42,.16); }
.open-source-section { padding-top: 0; }
.open-source-panel { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:clamp(24px,4vw,42px); border:1px solid rgba(45,91,57,.16); border-radius:24px; background:linear-gradient(120deg, #f1f7e9, #fffdf6); }
.open-source-panel h2 { margin:8px 0 10px; }
.open-source-panel p { margin:0; max-width:620px; }
.open-source-panel .btn { flex-shrink:0; }
@media (max-width:760px) {
  .open-source-panel { align-items:flex-start; flex-direction:column; }
  .hero-feature-image { border-radius:14px; }
}

/* Publisher-first brand hierarchy; individual creator credit stays secondary. */
.credit-note { margin-top:22px; font-size:.84rem; color:var(--muted, #73776e); opacity:.82; }


/* Remove the decorative circle/orbit behind the homepage hero artwork. */
.hero .hero-orbit { display: none !important; }
