:root {
  --ink: #17362a;
  --ink-deep: #0f291f;
  --green: #174e3b;
  --mint: #6fd98c;
  --cream: #fbf8f1;
  --paper: #fffdfa;
  --mist: #e6efe9;
  --sand: #ebe4d5;
  --muted: #5c655f;
  --line: #d8ddd5;
  --danger: #a2372d;
  --success: #12653d;
  --shadow: 0 18px 50px rgba(23, 54, 42, .12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: min(1120px, calc(100% - 40px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, select, input, textarea { border-radius: 10px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(2.85rem, 7vw, 5.65rem); max-width: 830px; margin-bottom: 26px; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
p { margin-bottom: 1rem; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 13px 23px; border: 2px solid var(--green); border-radius: 999px; background: var(--green); color: white; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink-deep); }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.button-small { min-height: 46px; padding: 10px 18px; font-size: .9rem; }
.button-quiet { background: transparent; color: var(--green); }
.button-quiet:hover { color: white; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--green); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(23, 54, 42, .08); background: rgba(251, 248, 241, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.2rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand img { width: 39px; height: 39px; }
.site-header nav { display: flex; gap: 23px; align-items: center; }
.site-header nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.hero { position: relative; overflow: hidden; background: var(--cream); padding: 74px 0 82px; }
.hero::after { position: absolute; content: ""; width: 520px; height: 520px; border: 1px solid rgba(111, 217, 140, .45); border-radius: 50%; right: -280px; top: 80px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(290px, .62fr); align-items: center; gap: clamp(32px, 8vw, 112px); }
.hero-copy { padding: 20px 0; }
.hero-subline { max-width: 650px; color: #405149; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.store-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 31px; }
.store-button { display: inline-grid; min-width: 162px; min-height: 54px; place-content: center start; padding: 8px 16px; border-radius: 13px; background: var(--ink); color: white; font-size: .87rem; font-weight: 800; line-height: 1.12; text-decoration: none; }
.store-button span { margin-top: 3px; color: var(--mint); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.microcopy { margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
.hero-phone { position: relative; width: min(100%, 320px); justify-self: center; filter: drop-shadow(0 32px 28px rgba(23, 54, 42, .2)); }
.hero-phone img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 36 / 55; object-fit: contain; border-radius: 24px; }
.hero-orbit { position: absolute; z-index: 0; border-radius: 50%; background: var(--mint); }
.orbit-one { right: -45px; top: 14%; width: 142px; height: 142px; opacity: .7; }

.section { padding: clamp(68px, 10vw, 130px) 0; }
.section-intro { max-width: 680px; }
.section-intro > p:last-child { color: var(--muted); }
.centered { margin-inline: auto; text-align: center; }
.value-section { background: var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.value-card { min-height: 255px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.value-card:hover { border-color: var(--mint); box-shadow: 0 12px 30px rgba(23, 54, 42, .08); }
.value-card img { width: 40px; height: 40px; margin-bottom: 26px; }
.value-card p { color: var(--muted); font-size: .95rem; }

.how-section { overflow: hidden; background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.step { display: flex; min-height: 540px; flex-direction: column; overflow: hidden; border-radius: var(--radius-xl); background: var(--ink); color: white; }
.step-content { padding: 27px 28px 16px; }
.step-content > span { color: var(--mint); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.step h3 { max-width: 290px; margin: 18px 0 12px; font-size: 1.55rem; }
.step p { margin: 0; color: #d9e7dd; font-size: .95rem; }
.step img { width: 100%; height: auto; aspect-ratio: 36 / 55; object-fit: contain; margin: auto auto 0; border-radius: 20px 20px 0 0; }

.audience-section { background: var(--cream); }
.audience-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr); gap: 80px; align-items: start; }
.audience-cards { display: grid; gap: 18px; }
.audience-card { padding: 31px; border-radius: var(--radius-xl); }
.farmer-card { background: var(--ink); color: white; }
.supervisor-card { border: 1px solid #bed1c4; background: var(--mist); }
.card-kicker { margin-bottom: 22px; color: var(--mint); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.supervisor-card .card-kicker { color: var(--green); }
.audience-card h3 { max-width: 400px; font-size: 1.65rem; }
.audience-card ul { display: grid; padding: 0; margin: 25px 0; gap: 8px; list-style: none; font-size: .96rem; }
.audience-card li { display: flex; gap: 9px; align-items: center; }
.audience-card li::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.supervisor-card li::before { background: var(--green); }
.farmer-card .text-link { color: white; }

.pricing-section { padding: 54px 0; background: var(--mint); }
.pricing-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; gap: clamp(34px, 8vw, 110px); }
.pricing-inner .eyebrow { color: var(--ink); }
.pricing-inner h2 { margin: 0; }
.pricing-message { display: grid; justify-items: start; gap: 22px; }
.pricing-message > p { max-width: 520px; margin: 0; font-size: 1.1rem; font-weight: 650; }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(42px, 8vw, 120px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 0 0 4px; }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 72px; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 30px; color: var(--green); font-size: 1.8rem; font-weight: 400; text-align: right; }
details[open] summary::after { content: "–"; }
details p { max-width: 630px; padding-bottom: 18px; color: var(--muted); font-size: .98rem; }

.waitlist-section { background: var(--ink); color: white; }
.form-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(400px, 1.2fr); gap: clamp(42px, 9vw, 120px); align-items: start; }
.form-intro .eyebrow, .contact-layout .eyebrow { color: var(--mint); }
.form-intro h2, .contact-layout h2 { max-width: 540px; }
.form-intro > p:last-of-type, .contact-layout > div:first-child > p:last-child { color: #d4e1d7; }
.form-note { display: flex; max-width: 330px; align-items: center; gap: 11px; margin-top: 28px; color: #dce8df; font-size: .9rem; }
.form-note img { flex: 0 0 24px; filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(810%) hue-rotate(83deg) brightness(96%) contrast(83%); }
.form-card { padding: clamp(22px, 4vw, 35px); border-radius: var(--radius-xl); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.lead-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.lead-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 780; }
.field-label { display: inline-block; }
.field-label b { color: var(--green); }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { width: 100%; min-height: 51px; padding: 11px 13px; border: 1.5px solid #b9c4bb; background: white; color: var(--ink); }
.lead-form textarea { min-height: 125px; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #69746d; opacity: 1; }
.phone-input { display: grid; grid-template-columns: auto 1fr; overflow: hidden; border: 1.5px solid #b9c4bb; border-radius: 10px; background: white; }
.phone-input > span { display: grid; place-items: center; padding-inline: 12px; border-right: 1px solid #d8ddd5; color: var(--muted); font-weight: 700; }
.phone-input input { border: 0 !important; }
.lead-form small { color: var(--muted); font-size: .73rem; font-weight: 500; line-height: 1.35; }
.check-label { grid-template-columns: 22px 1fr; align-items: start; color: #405149; font-size: .84rem !important; font-weight: 600 !important; line-height: 1.45; }
.check-label input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.form-status { min-height: 1.5em; margin: 0; font-size: .9rem; font-weight: 700; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.trap { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.contact-section { background: #234f3e; color: white; }
.contact-layout > div:first-child { max-width: 490px; }
.contact-layout .form-card { box-shadow: none; }

.site-footer { padding: 55px 0 25px; background: var(--ink-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 42px; }
.footer-brand .brand { color: white; }
.footer-brand .brand img { filter: brightness(0) invert(1); }
.footer-grid p { max-width: 310px; margin: 16px 0 0; color: #c2d3c8; font-size: .94rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); align-content: start; gap: 9px 32px; }
.footer-links a { color: #e2eee6; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: #b9cbbf; font-size: .75rem; }

.legal-header { padding: 18px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.legal-header .shell { display: flex; align-items: center; justify-content: space-between; }
.legal-main { padding: 58px 0 90px; background: var(--paper); }
.legal-shell { max-width: 840px; }
.legal-shell h1 { max-width: 700px; font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.legal-lead { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.legal-shell section { margin-top: 42px; }
.legal-shell section h2 { font-size: 1.55rem; }
.legal-shell section p { max-width: 760px; color: #45534b; }
.draft-banner { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 45px; padding: 15px 17px; border: 1px solid #d3a44d; border-radius: 12px; background: #fff4d7; color: #684c15; font-size: .88rem; }
.draft-banner strong { white-space: nowrap; }
.not-found { min-height: 62vh; padding: 15vw 0; background: var(--paper); }
.not-found p:not(.eyebrow) { max-width: 550px; color: var(--muted); }

.admin-body { background: #f4f6f2; }
.admin-login { display: grid; min-height: 100vh; place-items: center; padding: 25px; background: radial-gradient(circle at 75% 20%, rgba(111,217,140,.5), transparent 28%), var(--ink); }
.admin-login-card { width: min(100%, 540px); padding: 43px; border-radius: var(--radius-xl); background: var(--paper); box-shadow: var(--shadow); }
.admin-login-card .brand { margin-bottom: 42px; }
.admin-login-card h1 { margin-bottom: 15px; font-size: clamp(2.4rem, 6vw, 4rem); }
.admin-login-card > p:not(.eyebrow) { color: var(--muted); }
.admin-login-card .button { margin: 13px 0 23px; }
.admin-header { padding: 14px 0; background: var(--ink); color: white; }
.admin-header .shell, .admin-header .shell > div { display: flex; align-items: center; gap: 15px; }
.admin-header .shell { justify-content: space-between; }
.admin-header .brand { color: white; }
.admin-header .brand img { filter: brightness(0) invert(1); }
.admin-label, .admin-welcome { color: #c5d8cb; font-size: .78rem; }
.admin-header .text-link { color: white; font-size: .86rem; }
.admin-main { padding: 60px 0 90px; }
.admin-title { display: flex; justify-content: space-between; gap: 30px; align-items: start; margin-bottom: 46px; }
.admin-title h1 { margin-bottom: 12px; font-size: clamp(2.5rem, 5vw, 4rem); }
.admin-title p:last-child { max-width: 620px; color: var(--muted); }
.stat-card { display: grid; min-width: 155px; padding: 21px; border-radius: 18px; background: var(--mist); text-align: center; }
.stat-card strong { font-size: 2rem; }
.stat-card span { color: var(--muted); font-size: .8rem; }
.admin-section { margin-top: 32px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.admin-section h2 { font-size: 1.4rem; }
.analytics-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.analytics-list li { display: grid; min-width: 180px; gap: 2px; padding: 13px 15px; border-radius: 12px; background: var(--mist); }
.analytics-list span { color: var(--muted); font-size: .77rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .81rem; }
th, td { padding: 13px 11px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
td { min-width: 105px; }
.table-muted { color: var(--muted); font-size: .75rem; }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: capitalize; }
.status-sent { background: #d8f3df; color: #145c30; }
.status-pending { background: #fff0c9; color: #6d521a; }
.status-failed { background: #fde0dc; color: #8e2a20; }
.status-not_configured { background: #e6e9e6; color: #49534d; }
.empty-cell { padding: 37px; color: var(--muted); text-align: center; }

@media (max-width: 880px) {
  :root { --shell: min(100% - 32px, 680px); }
  .site-header nav { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid, .audience-layout, .faq-layout, .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-phone { order: 2; margin-top: 12px; }
  .hero-phone { width: min(82vw, 330px); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .step { min-height: 0; }
  .audience-layout { gap: 38px; }
  .pricing-inner { grid-template-columns: 1fr; align-items: start; }
  .faq-layout { gap: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --shell: min(100% - 28px, 520px); }
  body { font-size: 18px; }
  .header-inner { min-height: 68px; }
  .site-header .button { min-height: 42px; padding: 9px 13px; font-size: .77rem; }
  .brand { font-size: 1.03rem; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 37px 0 57px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.5rem); }
  .hero-subline { font-size: 1.05rem; }
  .store-actions { display: grid; }
  .store-actions .button { width: 100%; }
  .value-grid, .form-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; padding: 24px; }
  .value-card img { margin-bottom: 20px; }
  .section { padding: 70px 0; }
  .step { min-height: 0; }
  .step-content { padding: 25px 24px 14px; }
  .step img { max-height: 540px; object-fit: cover; object-position: top; }
  .audience-card { padding: 26px; }
  .pricing-inner { gap: 16px; }
  summary { min-height: 78px; font-size: 1rem; }
  .form-card { padding: 22px 18px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .legal-main { padding-top: 42px; }
  .draft-banner { display: grid; }
  .legal-header .back-link { font-size: .8rem; }
  .admin-header .admin-welcome { display: none; }
  .admin-title { flex-direction: column; }
  .stat-card { width: 100%; }
  .admin-section { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
