/* ==========================================================================
   AgriAI theme styles
   Built from the Claude Design export (AgriAI home page design/*.dc.html)
   ========================================================================== */

:root {
    --green-950: #052e16;
    --green-900: #0F3D22;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #15803D;
    --leaf: #4ADE80;
    --leaf-soft: #86EFAC;
    --mint: #DBF8E6;
    --mint-50: #F6FAF7;
    --mint-100: #F0F7F2;
    --line: #E5EDE7;
    --line-soft: #EEF2EF;
    --ink: #111827;
    --text: #4B5563;
    --muted: #6B7280;
    --gray-200: #E5E7EB;
    --on-dark: #D1FAE0;
    --on-dark-muted: #A7D7B6;
    --yellow-bg: #FEFCE8;
    --yellow-line: #FDE68A;
    --yellow-ink: #713F12;
    --red: #DC2626;
    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Nunito Sans', system-ui, sans-serif;
    --gutter: clamp(24px, 5vw, 96px);
    --header-h: 84px;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
[id] { scroll-margin-top: 110px; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
    clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
    background: #fff; padding: 12px 18px; border-radius: 12px;
}

/* Layout ------------------------------------------------------------------ */

.container { max-width: 1760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1100px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section--flush-top { padding-top: 0; }
.bg-mint { background: var(--mint-50); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 24px); }
.grid {
    display: grid;
    gap: var(--gap, 20px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr));
}
.split {
    display: grid;
    gap: var(--gap, 64px);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 400px)), 1fr));
}
.split--top { align-items: start; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 14px); }
.row--between { justify-content: space-between; align-items: flex-end; }

/* Typography --------------------------------------------------------------- */

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--green-700); text-transform: uppercase; }
.eyebrow--leaf { color: var(--leaf); }
.eyebrow--muted { color: var(--muted); letter-spacing: 0.08em; }
.h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; font-weight: 800; }
.h2--sm { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.h3 { font-size: 22px; font-weight: 800; }
.lead { font-size: 18px; color: var(--text); }
.muted { color: var(--text); }
.small { font-size: 15px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head--center { text-align: center; align-items: center; margin: 0 auto; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* Icons ---------------------------------------------------------------------- */

.circle-icon {
    width: 52px; height: 52px; border-radius: 999px; background: var(--mint);
    display: flex; align-items: center; justify-content: center; flex: none;
}
.circle-icon > i { font-size: 24px; color: var(--green-700); }
.circle-icon--sm { width: 44px; height: 44px; }
.circle-icon--sm > i { font-size: 20px; }
.circle-icon--lg { width: 56px; height: 56px; }
.circle-icon--lg > i { font-size: 26px; }
.circle-icon--white { background: #fff; }
.circle-icon--red { background: #FEF2F2; }
.circle-icon--red > i { color: #B91C1C; }
.text-green { color: var(--green-700); }

/* Buttons ------------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 17px; padding: 14px 24px; min-height: 48px;
    border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn--lg { padding: 16px 28px; min-height: 56px; }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--leaf { background: var(--leaf); color: var(--green-950); font-weight: 800; }
.btn--leaf:hover { background: var(--leaf-soft); color: var(--green-950); }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--outline { border: 1.5px solid var(--green-700); color: var(--green-700); background: #fff; }
.btn--outline:hover { background: var(--mint-50); color: var(--green-700); }
.btn[disabled], .btn.is-disabled { opacity: .6; cursor: not-allowed; }

/* App store / APK badge */
.store-btn {
    display: inline-flex; align-items: center; gap: 12px; min-height: 60px;
    padding: 10px 24px 10px 20px; border-radius: 16px; text-decoration: none;
    transition: background-color .15s;
}
.store-btn:hover { text-decoration: none; }
.store-btn > i { font-size: 24px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__small { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.store-btn__big { font-size: 19px; font-weight: 800; font-family: var(--font-head); }
.store-btn--leaf { background: var(--leaf); color: var(--green-950); }
.store-btn--leaf:hover { background: var(--leaf-soft); color: var(--green-950); }
.store-btn--dark { background: var(--ink); color: #fff; min-height: 56px; border-radius: 14px; }
.store-btn--dark:hover { background: #000; color: #fff; }
.store-btn--dark > i { color: var(--leaf); }
.store-btn--dark .store-btn__small { opacity: .8; font-weight: 400; }
.store-btn--light { background: #fff; color: var(--green-950); }
.store-btn--light:hover { background: var(--mint); color: var(--green-950); }
.store-btn.is-disabled { opacity: .6; pointer-events: none; }
.download-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Cards -------------------------------------------------------------------- */

.card {
    border: 1px solid var(--line); border-radius: 20px; padding: 28px;
    display: flex; flex-direction: column; gap: 12px; background: #fff; color: var(--ink);
}
.card p { color: var(--text); }
.card--lg { border-radius: 24px; padding: 32px; gap: 14px; }
.card--flat { border: 0; }
.card--link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { text-decoration: none; color: var(--ink); }
.card--pillar { border-color: var(--line-soft); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); gap: 14px; }
.card--pillar:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22, 101, 52, .12); }
.card--pillar p { flex: 1; }
.card__link { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); font-size: 15px; }

/* Callouts */
.callout { border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; }
.callout > i { font-size: 22px; flex: none; margin-top: 2px; }
.callout--caution { background: var(--yellow-bg); border: 1px solid var(--yellow-line); color: var(--yellow-ink); }
.callout--caution > i { color: #A16207; }
.callout--ok { background: #fff; border: 1px solid var(--line); }
.callout--ok > i { color: var(--green-700); }
.callout--ok p { color: var(--text); }
.callout__title { font-weight: 800; }
.callout p { font-size: 15px; }

.chip { background: #fff; border: 1px solid #DCE7DF; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.badge--solid { background: var(--green-700); color: #fff; }
.badge--soft { background: #DCFCE7; color: var(--green-700); }
.badge--yellow { background: #FEF9C3; color: var(--yellow-ink); }

/* Phone mockup */
.phone {
    width: min(300px, 100%); border-radius: 46px; background: var(--ink); padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(22, 101, 52, .45);
}
.phone__screen { border-radius: 38px; overflow: hidden; aspect-ratio: 9 / 19; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone--dark-shadow { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55); }
.shot-placeholder {
    width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 20px;
    background: repeating-linear-gradient(135deg, #F4FAF6 0 10px, #E8F3EC 10px 20px);
    font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #3F6B4B; text-align: center;
}

/* Numbered badge */
.step-num {
    width: 40px; height: 40px; border-radius: 999px; background: var(--green-700); color: #fff;
    font-weight: 800; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; flex: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(17, 24, 39, .06), 0 4px 12px rgba(0, 0, 0, .04);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 46px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 36px; font-weight: 700; font-size: 17px; }
.site-nav a { color: #374151; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--green-700); text-decoration: none; }
.site-nav a.is-active { color: var(--green-700); border-bottom-color: var(--leaf); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--gray-200); border-radius: 12px;
    background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-toggle i { font-size: 22px; }
.mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px; z-index: 60;
    display: none; flex-direction: column; gap: 4px; overflow: auto;
}
.admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
.mobile-menu a:not(.btn) {
    padding: 16px 4px; border-bottom: 1px solid #F3F4F6; font-size: 20px; font-weight: 700;
    color: #374151; font-family: var(--font-head);
}
.mobile-menu a.is-active { color: var(--green-700); }
.mobile-menu .btn { margin-top: 24px; }
.site-header.is-open .mobile-menu { display: flex; }

@media (max-width: 1099px) {
    .site-nav, .site-header__cta { display: none; }
    .menu-toggle { display: flex; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--green-900); color: var(--on-dark); }
.site-footer__inner { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 36px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; min-width: 220px; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark:hover { text-decoration: none; }
.brand-mark__icon {
    width: 38px; height: 38px; border-radius: 999px; background: rgba(74, 222, 128, .2);
    display: flex; align-items: center; justify-content: center;
}
.brand-mark__icon i { font-size: 20px; color: var(--leaf); }
.brand-mark__text { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.brand-mark__text span { color: var(--leaf); }
.site-footer__tagline { font-size: 15px; color: var(--on-dark-muted); }
.footer-store {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
    padding: 8px 16px; border-radius: 12px; font-size: 14px; font-weight: 700;
}
.footer-store:hover { color: #fff; text-decoration: none; background: #111; }
.footer-store i { color: var(--leaf); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__title { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--leaf); }
.site-footer__col a { color: var(--on-dark); font-size: 15px; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px;
    border-top: 1px solid rgba(209, 250, 224, .15); font-size: 14px; color: var(--on-dark-muted);
}
.site-footer__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__contact a { color: var(--on-dark-muted); display: flex; align-items: center; gap: 6px; }
.site-footer__contact a:hover { color: #fff; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero { background: var(--green-900); position: relative; overflow: hidden; }
.page-hero__circle {
    position: absolute; right: -200px; top: -220px; width: 620px; height: 620px;
    border-radius: 999px; background: var(--green-700); opacity: .55;
}
.page-hero__circle--bottom-left { right: auto; top: auto; left: -180px; bottom: -280px; }
.page-hero__inner {
    position: relative; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px);
    display: flex; flex-direction: column; gap: 22px;
}
.page-hero__inner.split { display: grid; }
.display { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; font-weight: 800; color: #fff; letter-spacing: -0.035em; }
.page-hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--on-dark); max-width: 620px; }

/* ==========================================================================
   Home
   ========================================================================== */

.home-hero {
    position: relative; overflow: hidden; background: var(--green-900);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr));
    align-items: stretch; min-height: min(900px, calc(100vh - var(--header-h)));
}
.home-hero__circle {
    position: absolute; left: -160px; bottom: -260px; width: 620px; height: 620px;
    border-radius: 999px; background: var(--green-700); opacity: .55;
}
.home-hero__copy {
    position: relative; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
    display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.home-hero__pill {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(74, 222, 128, .14); border: 1px solid rgba(74, 222, 128, .35); border-radius: 999px;
    padding: 6px 14px 6px 8px; font-size: 14px; font-weight: 700; color: #BBF7D0;
}
.home-hero__pill span {
    width: 22px; height: 22px; border-radius: 999px; background: var(--leaf);
    display: flex; align-items: center; justify-content: center;
}
.home-hero__pill i { font-size: 13px; color: var(--green-950); }
.home-hero h1 { font-size: clamp(36px, 4vw, 64px); line-height: 1.06; font-weight: 800; color: #fff; letter-spacing: -0.03em; max-width: 20ch; }
.home-hero__lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--on-dark); max-width: 560px; }
.home-hero__perks {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
    border-top: 1px solid rgba(209, 250, 224, .18); padding-top: 28px;
}
.home-hero__perk { display: flex; flex-direction: column; gap: 6px; }
.home-hero__perk i { font-size: 22px; color: var(--leaf); }
.home-hero__perk strong { font-weight: 800; color: #fff; font-family: var(--font-head); }
.home-hero__perk span { font-size: 14px; color: var(--on-dark-muted); }
.home-hero__visual {
    position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; padding: 48px 24px;
}
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-hero__fade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--green-900) 0%, rgba(15, 61, 34, .35) 22%, rgba(15, 61, 34, 0) 45%);
}
.home-hero__phone {
    position: relative; width: clamp(260px, 22vw, 320px); border-radius: 48px; background: var(--ink); padding: 10px;
    box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55), 0 12px 24px rgba(0, 0, 0, .2);
}
.home-hero__phone .phone__screen { border-radius: 40px; }
.float-card {
    position: absolute; background: #fff; border-radius: 18px; padding: 14px 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2); display: flex; align-items: center; gap: 12px;
}
.float-card--confidence { left: clamp(16px, 6%, 72px); top: 18%; }
.float-card--expert { right: clamp(16px, 6%, 72px); bottom: 16%; max-width: 240px; font-size: 14px; line-height: 1.35; font-weight: 700; }
.float-card .circle-icon { width: 40px; height: 40px; }
.float-card .circle-icon i { font-size: 20px; }
.float-card__label { font-size: 12px; color: var(--muted); font-weight: 700; }
.float-card__value { font-family: var(--font-head); font-weight: 800; font-size: 20px; }

.problem img { width: 100%; aspect-ratio: 5 / 4; border-radius: 24px; object-fit: cover; display: block; }
.problem__item { display: flex; gap: 16px; }
.problem__item h3 { font-size: 18px; font-weight: 700; }
.problem__item p { color: var(--text); }

.step-card { display: flex; flex-direction: column; gap: 18px; }
.step-card__shot {
    aspect-ratio: 4 / 3; border-radius: 20px; background: var(--mint-100); overflow: hidden;
    display: flex; justify-content: center; padding-top: 28px;
}
.step-card__shot img {
    width: 52%; height: auto; align-self: flex-start; border-radius: 18px 18px 0 0;
    border: 6px solid var(--ink); border-bottom: 0; box-shadow: 0 12px 30px rgba(22, 101, 52, .18); display: block;
}
.step-card__body { display: flex; gap: 16px; align-items: flex-start; }
.step-card__body h3 { font-size: 20px; font-weight: 800; }
.step-card__body p { color: var(--text); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.feature-list__item { display: flex; gap: 12px; }
.feature-list__item i { font-size: 22px; color: var(--green-700); margin-top: 2px; }
.feature-list__item strong { display: block; font-weight: 700; }
.feature-list__item span { font-size: 15px; color: var(--muted); }

.chat-demo { background: var(--mint-50); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.chat-demo__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-demo__avatar { width: 44px; height: 44px; border-radius: 999px; background: repeating-linear-gradient(135deg, #E1ECE4 0 5px, #D3E3D8 5px 10px); }
.chat-demo__name { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.chat-demo__meta { font-size: 13px; color: var(--muted); }
.bubble { max-width: 80%; padding: 12px 16px; font-size: 15px; }
.bubble--me { align-self: flex-end; max-width: 78%; background: var(--green-700); color: #fff; border-radius: 18px 18px 4px 18px; }
.bubble--them { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.chat-demo__photo { align-self: flex-end; width: 200px; aspect-ratio: 2 / 1; border-radius: 14px; background-position: center -54px; background-size: 100% auto; background-repeat: no-repeat; }
.chat-demo__read { align-self: flex-end; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.chat-demo__read i { color: #16A34A; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list > div { display: flex; gap: 12px; align-items: center; }
.check-list i { font-size: 22px; color: var(--green-700); flex: none; }

.shop-shot { height: 220px; border-radius: 16px; background: var(--mint-100); overflow: hidden; display: flex; justify-content: center; padding-top: 20px; }
.shop-shot img { width: 180px; height: auto; align-self: flex-start; border-radius: 16px 16px 0 0; border: 5px solid var(--ink); border-bottom: 0; display: block; }
.status-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.status-flow span { background: #F3F4F6; padding: 6px 12px; border-radius: 999px; }
.status-flow span.is-done { background: var(--green-700); color: #fff; display: flex; gap: 4px; align-items: center; }
.status-flow > i { color: #9CA3AF; }
.forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.forecast div { background: var(--mint-50); border-radius: 14px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.forecast span:first-child { font-weight: 700; color: var(--muted); }
.forecast i { font-size: 22px; color: var(--green-700); }
.forecast span:last-child { font-weight: 800; }

.payment-band { margin-bottom: 96px; }
.payment-band__inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.payment-band__copy { display: flex; gap: 18px; align-items: center; flex: 1 1 380px; }
.payment-band__logos { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-band__logos img { height: 64px; width: 64px; border-radius: 12px; object-fit: cover; display: block; }
.payment-band__cod { height: 64px; padding: 0 18px; border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.payment-band__cod i { color: var(--green-700); font-size: 20px; }

.expert-band { background: var(--green-700); color: #fff; position: relative; overflow: hidden; }
.expert-band__circle { position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border-radius: 999px; background: var(--green-600); opacity: .6; }
.expert-band__inner { position: relative; padding-top: 88px; padding-bottom: 88px; }
.expert-band h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; font-weight: 800; color: #fff; }
.expert-band p { font-size: 18px; color: #DCFCE7; }
.earn-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.earn-card__title { font-size: 14px; font-weight: 700; color: #BBF7D0; }
.earn-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.earn-line--rule { border-bottom: 1px solid rgba(255, 255, 255, .16); padding-bottom: 14px; }
.earn-line > span:first-child { color: #DCFCE7; }
.earn-line strong { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.earn-line--fee strong { font-size: 18px; }
.earn-line--total > span:first-child { color: #fff; font-weight: 700; }
.earn-line--total strong { font-weight: 800; font-size: 36px; color: var(--leaf); }

.download-cta { background: linear-gradient(135deg, #F0FDF4, var(--mint)); }
.download-cta__inner { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); }
.download-cta h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; font-weight: 800; }
.download-cta__meta { font-size: 15px; color: var(--text); }
.qr { display: flex; align-items: center; gap: 12px; }
.qr__code { width: 88px; height: 88px; border-radius: 12px; background: #fff; padding: 6px; display: flex; align-items: center; justify-content: center; }
.qr__code img, .qr__code canvas { width: 100% !important; height: 100% !important; }
.qr__text { font-size: 14px; color: var(--text); max-width: 130px; line-height: 1.4; }
@media (max-width: 1023px) { .qr { display: none; } }
.download-cta .phone { width: 240px; border-radius: 38px; padding: 9px; box-shadow: 0 24px 48px -16px rgba(22, 101, 52, .4); }
.download-cta .phone__screen { border-radius: 30px; aspect-ratio: 9 / 18; }

/* Accordion ------------------------------------------------------------------ */

.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); }
.accordion--mint { border-top-color: #DCE7DF; }
.accordion__item { border-bottom: 1px solid var(--gray-200); }
.accordion--mint .accordion__item { border-bottom-color: #DCE7DF; }
.accordion__btn {
    width: 100%; background: none; border: 0; padding: 22px 4px; min-height: 44px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    cursor: pointer; text-align: left; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink);
}
.accordion__icon { width: 32px; height: 32px; border-radius: 999px; background: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.accordion__icon i { color: var(--green-700); font-size: 18px; }
.accordion__panel p { padding: 0 52px 22px 4px; color: var(--text); max-width: 75ch; }
.accordion__item:not(.is-open) .accordion__panel { display: none; }

/* ==========================================================================
   How it works
   ========================================================================== */

.tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px; background: #F3F7F4; border-radius: 999px; align-self: flex-start; }
.tabs__btn {
    display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px;
    padding: 12px 22px; min-height: 48px; font-family: var(--font-head); font-weight: 700; font-size: 16px;
    background: transparent; color: var(--text);
}
.tabs__btn i { font-size: 18px; }
.tabs__btn[aria-selected="true"] { background: #fff; color: var(--green-700); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
@media (max-width: 640px) { .tabs { border-radius: 24px; } }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.journey[hidden] { display: none; }
.journey-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.journey-step {
    width: 100%; text-align: left; border: 1px solid var(--line-soft); background: #fff; border-radius: 18px;
    padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; cursor: pointer; color: var(--ink);
}
.journey-step .step-num { background: var(--mint); color: var(--green-700); }
.journey-step[aria-current="step"] { background: #F0FDF4; border-color: var(--leaf-soft); }
.journey-step[aria-current="step"] .step-num { background: var(--green-700); color: #fff; }
.journey-step__text { display: flex; flex-direction: column; gap: 4px; }
.journey-step__title { font-family: var(--font-head); font-size: 19px; font-weight: 800; }
.journey-step__body { color: var(--text); }
.journey-visual {
    position: sticky; top: 120px; border-radius: 32px; background: var(--mint-100); min-height: 640px;
    display: flex; align-items: center; justify-content: center; padding: 48px 24px;
}
@media (max-width: 1000px) { .journey-visual { position: static; min-height: 0; } }
.order-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.order-stages div { display: flex; flex-direction: column; gap: 8px; }
.order-stages div::before { content: ""; height: 6px; border-radius: 99px; background: var(--leaf); }
.order-stages span { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.order-stages i { color: var(--green-700); }

.tech-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tech-card__top { display: flex; justify-content: space-between; align-items: center; }
.tech-card__n { font-family: var(--font-head); font-weight: 800; color: #9CA3AF; }
.tech-card h3 { font-size: 20px; font-weight: 800; }
.tech-card p { color: var(--text); font-size: 15px; }
.unsure {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: #fff;
    border: 1.5px dashed #86C79A; border-radius: 20px; padding: 20px 24px;
}
.unsure > i { font-size: 24px; color: var(--green-700); }
.unsure strong { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.unsure > span { color: var(--text); flex: 1 1 300px; }
.detect-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; list-style: none; }
.detect-list li { display: flex; align-items: center; gap: 12px; background: var(--mint-50); border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.detect-list span { font-family: var(--font-head); font-size: 13px; color: var(--green-700); width: 24px; }
.field-card { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.field-card > i { font-size: 28px; color: var(--green-700); }
.field-card h3 { font-size: 20px; font-weight: 800; }
.field-card p { color: var(--text); }

.cta-band { background: var(--green-700); }
.cta-band__inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; font-weight: 800; color: #fff; max-width: 720px; }
.cta-band p { color: #DCFCE7; font-size: 18px; }

/* ==========================================================================
   For agronomists
   ========================================================================== */

.plan-card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.plan-card__top { display: flex; justify-content: space-between; align-items: center; }
.plan-card__type { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.plan-card p { color: var(--text); font-size: 15px; }
.calc { background: var(--green-900); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.calc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc__head h3 { color: #fff; }
.calc__tag { font-size: 12px; font-weight: 800; color: var(--green-950); background: var(--leaf); padding: 4px 10px; border-radius: 999px; }
.calc label { display: flex; flex-direction: column; gap: 10px; }
.calc__label { display: flex; justify-content: space-between; color: var(--on-dark); font-weight: 600; }
.calc__label strong { color: #fff; }
.calc input[type=range] { width: 100%; height: 28px; accent-color: var(--leaf); }
.calc__totals { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 20px; }
.calc__row { display: flex; justify-content: space-between; color: var(--on-dark); }
.calc__row strong { color: #fff; }
.calc__row--total { align-items: baseline; gap: 12px; flex-wrap: wrap; color: #fff; font-weight: 700; }
.calc__row--total strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); color: var(--leaf); }
.calc__note { font-size: 14px; color: var(--on-dark-muted); }
.join-steps { list-style: none; display: flex; flex-direction: column; }
.join-steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.join-steps h3 { font-size: 19px; font-weight: 800; }
.join-steps p { color: var(--text); }
.req-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; }
.req-list i { color: var(--green-700); font-size: 20px; margin-top: 3px; }
.promise { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 24px; padding: 28px 32px; display: flex; gap: 18px; align-items: flex-start; }
.promise h3 { font-size: 20px; font-weight: 800; }
.promise p { color: var(--green-800); }

/* ==========================================================================
   About
   ========================================================================== */

.about-hero { position: relative; min-height: min(720px, calc(100vh - var(--header-h))); display: flex; align-items: flex-end; overflow: hidden; background: var(--green-900); }
.about-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero__fade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 61, 34, .95) 0%, rgba(15, 61, 34, .6) 45%, rgba(15, 61, 34, .1) 100%); }
.about-hero .page-hero__inner { width: 100%; }
.about-hero h1 { max-width: 16ch; font-size: clamp(44px, 6vw, 88px); }
.about-hero .page-hero__lead { color: #E7FBEF; }
.story { display: flex; flex-direction: column; gap: 20px; font-size: 19px; color: #374151; max-width: 70ch; }
.story__placeholder { color: var(--muted); font-style: italic; border-top: 1px dashed #D1D5DB; padding-top: 20px; }
.statement { border-radius: 28px; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.statement--dark { background: var(--green-700); color: #fff; }
.statement--light { background: #fff; border: 1px solid var(--line); }
.statement p { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.stat { background: #fff; border-radius: 20px; padding: 28px; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: 44px; color: var(--green-700); }
.stat__label { color: var(--text); font-weight: 600; }
.team__photo { aspect-ratio: 1; border-radius: 20px; object-fit: cover; width: 100%; background: repeating-linear-gradient(135deg, #E7F1EA 0 10px, #DCE9E0 10px 20px); }
.team__name { font-weight: 800; font-family: var(--font-head); font-size: 18px; }
.team__role { color: var(--muted); }
.join-card { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); color: var(--ink); transition: border-color .15s, background-color .15s; }
.join-card:hover { text-decoration: none; border-color: var(--leaf-soft); color: var(--ink); }
.join-card > i { font-size: 28px; color: var(--green-700); }
.join-card span { color: var(--text); }
.join-card--dark { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.join-card--dark:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.join-card--dark > i { color: var(--leaf); }
.join-card--dark h3 { color: #fff; }
.join-card--dark span { color: #DCFCE7; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-hero .page-hero__inner { padding-bottom: clamp(120px, 12vw, 180px); }
.channels { margin-top: calc(-1 * clamp(72px, 8vw, 120px)); position: relative; }
.channel { background: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 32px rgba(15, 61, 34, .12); }
.channel .circle-icon { width: 48px; height: 48px; }
.channel .circle-icon i { font-size: 22px; }
.channel h3 { font-size: 19px; font-weight: 800; }
.channel p { color: var(--text); font-size: 15px; }
.channel a { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.contact-main { padding-top: 80px; padding-bottom: 96px; --min: 420px; --gap: clamp(40px, 5vw, 80px); }
.contact-main > * { min-width: 0; }
.form-card { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.whatsapp-card { background: var(--green-700); color: #fff; border-radius: 24px; padding: 28px; display: flex; gap: 18px; align-items: center; }
.whatsapp-card:hover { background: var(--green-800); color: #fff; text-decoration: none; }
.whatsapp-card .circle-icon { background: var(--leaf); }
.whatsapp-card .circle-icon i { color: var(--green-950); }
.whatsapp-card strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 21px; }
.whatsapp-card span span { color: #DCFCE7; }
.contact-details { border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-details > div { display: flex; gap: 14px; align-items: center; }
.contact-details i { font-size: 22px; color: var(--green-700); flex: none; }
.contact-details a { color: var(--ink); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--mint-100); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link {
    position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: #fff;
    color: var(--green-700); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.map__link:hover { text-decoration: none; }
.faq-link { background: var(--mint-50); border-radius: 24px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq-link:hover { background: #ECF7EF; color: var(--ink); text-decoration: none; }
.faq-link i { color: var(--green-700); font-size: 20px; }

/* Form */
.agriai-form { display: flex; flex-direction: column; gap: 22px; }
.agriai-form__head { display: flex; flex-direction: column; gap: 6px; }
.agriai-form__head h2 { font-size: 28px; font-weight: 800; }
.agriai-form__head p { color: var(--muted); font-size: 15px; }
.agriai-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.agriai-field { display: flex; flex-direction: column; gap: 8px; }
.agriai-field > label, .agriai-field__label { font-weight: 700; font-size: 15px; }
.agriai-field input, .agriai-field select, .agriai-field textarea {
    height: 52px; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 0 16px;
    font: inherit; outline: none; background: #fff; color: var(--ink); width: 100%;
}
.agriai-field select { padding: 0 14px; }
.agriai-field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.agriai-field input:focus, .agriai-field select:focus, .agriai-field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.agriai-field [aria-invalid="true"], .agriai-phone.is-invalid { border-color: #EF4444; }
.agriai-phone { display: flex; height: 52px; border: 1.5px solid var(--gray-200); border-radius: 12px; overflow: hidden; background: #fff; }
.agriai-phone:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.agriai-phone__prefix { display: flex; align-items: center; padding: 0 14px; background: #F3F4F6; font-weight: 700; color: #374151; border-right: 1px solid var(--gray-200); }
.agriai-field .agriai-phone input { border: 0; height: 100%; border-radius: 0; flex: 1; min-width: 0; padding: 0 14px; box-shadow: none; }
.agriai-field__error { color: var(--red); font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.agriai-field--hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agriai-form__alert { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; color: #991B1B; }
.agriai-form__alert i { font-size: 20px; margin-top: 2px; }
.agriai-form button[type=submit] { align-self: flex-start; min-height: 54px; padding: 15px 30px; }
.agriai-form.is-loading button[type=submit] { opacity: .7; pointer-events: none; }
.agriai-form .spinner { display: none; animation: agriai-spin 1s linear infinite; font-size: 18px; }
.agriai-form.is-loading .spinner { display: inline-block; }
@keyframes agriai-spin { to { transform: rotate(360deg); } }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 48px 0; }
.form-success .circle-icon { width: 72px; height: 72px; }
.form-success .circle-icon i { font-size: 36px; }
.form-success h2 { font-size: 30px; font-weight: 800; }
.form-success p { color: var(--text); }

/* ==========================================================================
   FAQ / Legal (sidebar layouts)
   ========================================================================== */

.faq-search { margin-top: 8px; max-width: 620px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 0 20px; height: 60px; }
.faq-search i { font-size: 20px; color: var(--muted); }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; background: transparent; }
.sidebar-layout {
    padding-top: 80px; padding-bottom: 96px; display: grid; align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(32px, 5vw, 80px);
}
.sidebar-layout__main { grid-column: span 2; display: flex; flex-direction: column; gap: 56px; min-width: 0; }
@media (max-width: 860px) {
    .sidebar-layout__main { grid-column: auto; }
    .sidebar-nav { position: static !important; }
}
.sidebar-nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 6px; }
.topic-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-weight: 700; color: var(--ink); background: var(--mint-50); }
.topic-link:hover { background: #ECF7EF; color: var(--green-700); text-decoration: none; }
.topic-link i { color: var(--green-700); font-size: 18px; }
.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-group[hidden] { display: none; }
.faq-group h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; display: flex; align-items: center; gap: 12px; }
.faq-empty { background: var(--mint-50); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.faq-empty[hidden] { display: none; }
.faq-empty h3 { font-size: 20px; font-weight: 800; }
.faq-empty p { color: var(--text); }
.help-card { background: var(--green-700); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.help-card h3 { color: #fff; }
.help-card p { color: #DCFCE7; }

.legal-hero { background: var(--mint-50); }
.legal-hero .page-hero__inner { gap: 18px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.legal-hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.legal-hero p { color: var(--text); }
.legal-layout { padding-top: 72px; line-height: 1.7; }
.legal-nav { gap: 4px; font-size: 15px; }
.legal-nav a { color: var(--text); padding: 4px 0 4px 14px; border-left: 2px solid var(--line); }
.legal-nav a.legal-nav__top { font-weight: 800; color: var(--ink); padding: 8px 0; border-left: 0; }
.legal-nav a.legal-nav__top + a.legal-nav__top, .legal-nav a:not(.legal-nav__top) + a.legal-nav__top { padding-top: 16px; }
.legal-main { max-width: 760px; gap: 64px; }
.legal-article { display: flex; flex-direction: column; gap: 32px; }
.legal-article + .legal-article { padding-top: 48px; border-top: 1px solid var(--gray-200); }
.legal-article h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 800; }
.legal-article h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.legal-article p { color: #374151; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }

/* 404 -------------------------------------------------------------------- */

.not-found { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #F4FBF6, #fff); padding: 64px 24px; }
.not-found__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 620px; }
.not-found .circle-icon { width: 96px; height: 96px; }
.not-found .circle-icon i { font-size: 48px; }
.not-found__code { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--green-700); letter-spacing: .1em; }
.not-found h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.not-found p { color: var(--text); font-size: 19px; }

/* Generic pages (page.php / index.php) */
.generic { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; }
.generic h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; font-weight: 800; margin-bottom: 24px; }
.generic article + article { margin-top: 64px; }
