/* Public site v4 — same «field notebook» language as the application. */
:root {
  --paper: #f5f0e3;
  --paper-2: #fffdf7;
  --paper-3: #e9e1d0;
  --ink: #173b31;
  --ink-2: #35554b;
  --muted: #667970;
  --line: #d8cfbc;
  --green: #215b49;
  --green-dark: #123e32;
  --green-light: #dfece4;
  --orange: #e5684b;
  --cream: var(--paper);
  --radius: 12px;
  --font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Literata', Georgia, serif;
}

body { background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.58; }
h1, h2 { font-family: var(--serif); font-optical-sizing: auto; color: var(--ink); font-weight: 600 !important; letter-spacing: -.035em !important; }
h3 { color: var(--ink); }
a, button, input { -webkit-tap-highlight-color: transparent; }
.crop-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.crop-chip i { color: var(--green); font-size: 16px; }
.blog-icon { display: block; margin-bottom: 10px; color: var(--green); font-size: 34px; }
.nl-error { display: none; margin-top: 12px; color: #9f2f25; font-weight: 650; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(229, 104, 75, .65);
  outline-offset: 3px;
}

.season-bar {
  background: var(--ink);
  color: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}
.season-bar a { color: #f6d978; }
.season-bar > i { margin-right: 7px; color: #f6d978; font-size: 18px; vertical-align: -.14em; }
.nav {
  max-width: none;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 70px);
  background: rgba(255, 253, 247, .96);
  border-bottom: 1px solid var(--ink);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-brand { gap: 11px; }
.nav-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 3px 3px 0 var(--orange);
  font-size: 23px;
}
.nav-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-name { color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1; }
.brand-ii { color: #c95138; }
.nav-links { gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 650; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

.btn {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  transition: color .15s, background-color .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-accent {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--orange);
}
.btn-primary:hover, .btn-accent:hover { background: var(--green-dark); box-shadow: 4px 4px 0 var(--orange); }
.btn-ghost { background: var(--paper-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--green-light); border-color: var(--ink); }
.btn-lg { min-height: 54px; border-radius: 9px; font-size: 16px; }

.hero {
  min-height: auto;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 6vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.hero::before, .hero::after { display: none; }
.hero-inner { max-width: 1240px; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(48px, 8vw, 110px); }
.hero-text { max-width: 720px; }
.hero-badge, .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: #faefc9;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}
.hero-badge-dot { display: none; }
.hero h1 { max-width: 780px; font-size: clamp(50px, 6.8vw, 86px); line-height: .97; }
.hero h1 .accent { color: var(--ink); position: relative; }
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  z-index: -1;
  height: .2em;
  background: var(--orange);
  opacity: .78;
  transform: rotate(-1.5deg);
}
.hero-lead { max-width: 620px; margin-top: 26px; color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.hero-bullets { margin-top: 28px; gap: 0; }
.hero-bullets li { gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.hero-bullets li:last-child { border-bottom: 1px solid var(--line); }
.hero-bullet-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 18px;
}
.hero-cta { margin-top: 30px; }
.hero-trust-row { margin-top: 24px; gap: 9px 16px; }
.trust-chip { padding: 0; background: transparent; border: 0; color: var(--muted); font-size: 12px; }
.trust-chip i { margin-right: 3px; color: var(--ink); font-size: 15px; vertical-align: -.13em; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-sketch-card {
  position: relative;
  width: min(100%, 450px);
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--orange);
  transform: rotate(1.5deg);
}
.hero-sketch-card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 48%;
  width: 86px;
  height: 24px;
  background: rgba(246, 217, 120, .68);
  transform: rotate(-3deg);
}
.hero-doodle { width: 100%; max-height: 245px; }
.sketch-label { margin: -12px 0 16px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.sketch-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sketch-flow li { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.sketch-flow li > span { grid-row: 1 / 3; color: var(--orange); font: 600 18px/1 var(--serif); }
.sketch-flow strong { color: var(--ink); font-size: 14px; }
.sketch-flow small { color: var(--muted); font-size: 12px; }

.stats-wrap { padding: 0 clamp(16px, 4vw, 48px); }
.stats, .stat-band {
  background: var(--ink);
  color: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--orange);
}
.stat-num { color: var(--paper-2); font-family: var(--serif); font-weight: 600; }
.stat-lbl { color: #ced9d3; }
.section { max-width: 1240px; padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 64px); background: var(--paper); }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.how-section { background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature {
  min-height: 270px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-2);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.feature:hover { transform: none; box-shadow: inset 0 -5px 0 var(--orange); }
.feature-icon, .landing-icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--green-light) !important;
  color: var(--ink);
  font-size: 24px;
}
.feature h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.feature p { color: var(--ink-2); }

#try-now { background: var(--paper-2) !important; border-top: 1px solid var(--ink) !important; border-bottom: 1px solid var(--ink); }
#try-now h2 { font-size: clamp(32px, 5vw, 48px) !important; font-weight: 600 !important; }
#td-dropzone {
  background: var(--paper) !important;
  border: 2px dashed #958a76 !important;
  border-radius: 12px !important;
  box-shadow: 6px 6px 0 rgba(23, 59, 49, .1);
  transition: background-color .15s, border-color .15s, transform .15s !important;
}
#td-dropzone:hover, #td-dropzone.drag { background: #f2f8f2 !important; border-color: var(--ink) !important; transform: translateY(-1px); }
.td-doodle { width: 150px; height: 116px; margin: 0 auto 12px; }
#td-result, #td-limited, #td-error { border-radius: 12px !important; box-shadow: 4px 4px 0 rgba(23, 59, 49, .08); }
.landing-icon-box { margin: 0 auto 12px; }

.how-step, .pain-card, .plan-card, .blog-card, .faq-item {
  border-radius: 10px !important;
  box-shadow: none !important;
}
.seasonal-banner { background: var(--ink) !important; border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--orange); }
.seasonal-banner .sb-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--paper-2); border-radius: 8px; color: var(--paper-2); font-size: 23px; }
.seasonal-banner .sb-cta { color: var(--ink) !important; border-radius: 8px !important; box-shadow: 3px 3px 0 var(--orange); }
.plan, .plan-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.plan.popular { background: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--orange); transform: none; }
.plan-card.popular { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--orange) !important; transform: none; }
.plan-card.popular:hover { transform: translateY(-2px); }
#why-trust { background: var(--paper) !important; padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 64px) !important; }
#why-trust > div > div:last-child > div {
  background: var(--paper-2) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 10px !important;
  box-shadow: 4px 4px 0 rgba(23, 59, 49, .08);
}
#why-trust > div > div:last-child > div > div:first-child {
  border: 1px solid var(--ink);
  border-radius: 7px !important;
  background: var(--green-light) !important;
  color: var(--ink);
  font-size: 23px;
}
#why-trust p { color: var(--ink-2) !important; }

.cta-section { background: var(--ink); color: var(--paper-2); border-radius: 0; }
.nl-section { background: var(--ink) !important; color: var(--paper-2); }
.cta-section h2, .nl-section h2 { color: var(--paper-2); }
.cta-section h2 { font-size: clamp(34px, 5vw, 56px); }
.cta-section p, .cta-section .cta-hint, .nl-section p, .nl-section .nl-hint { color: #dbe5df; opacity: 1; }
.nl-section .nl-success { color: var(--paper-2); }
.cta-section .btn-accent { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); box-shadow: 4px 4px 0 var(--orange); }
footer { background: #102f27; color: var(--paper-2); border-top: 1px solid var(--ink); }
.footer-brand .brand-name { color: var(--paper-2); }
.footer-brand .brand-ii { color: #ff8a6f; }

/* Keyboard, touch and sticky-header safeguards. */
[id] { scroll-margin-top: 112px; }
a, button, [role="button"] { touch-action: manipulation; }
#td-dropzone:focus-visible { outline: 3px solid rgba(229, 104, 75, .72); outline-offset: 4px; }
.nav-brand, .nav-links a, .all-articles-link, .season-bar a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.trust-chip { color: #52675e; }
.sketch-flow li > span { color: #a43c28; }
#td-dropzone [style*="color:#6E756E"] { color: #505f58 !important; }
.plan-badge { background: #a43c28 !important; }
.li-off { color: #5e6f67 !important; }
#faq details.faq-item { display: block !important; }

.doodle { display: block; overflow: visible; }
.doodle path, .doodle line, .doodle circle, .doodle rect { stroke-dasharray: 900; stroke-dashoffset: 900; opacity: 0; }
.doodle.is-drawn path, .doodle.is-drawn line, .doodle.is-drawn circle, .doodle.is-drawn rect {
  animation: landing-doodle-draw 1.15s cubic-bezier(.2,.7,.25,1) var(--doodle-delay, 0ms) forwards;
}
@keyframes landing-doodle-draw { 0% { opacity: 0; stroke-dashoffset: 900; } 20% { opacity: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { max-width: none; }
  .hero-visual { margin-top: 10px; }
  .hero-sketch-card { max-width: 560px; transform: rotate(.6deg); }
}
@media (max-width: 700px) {
  .season-bar { padding: 11px 48px 11px 14px; text-align: left; }
  .nav { min-height: 64px; padding: 10px 14px; }
  .nav-brand small { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { min-height: 44px; padding: 9px 13px; font-size: 13px; box-shadow: 2px 2px 0 var(--orange); }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-cta { display: grid; }
  .hero-cta .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .hero-sketch-card { padding: 20px; box-shadow: 5px 5px 0 var(--orange); }
  .hero-doodle { max-height: 205px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .stats { margin: 24px 0; padding: 24px 16px; gap: 22px 12px; }
  .nl-form { display: grid; grid-template-columns: 1fr; }
  .nl-form input, .nl-form button { width: 100%; min-width: 0; min-height: 48px; }
  footer a, .all-articles-link { min-height: 44px; }
}
@media (max-width: 420px) {
  .nav-mark { width: 34px; height: 34px; font-size: 20px; }
  .brand-name { font-size: 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .hero-trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .sketch-flow li { grid-template-columns: 34px 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .doodle path, .doodle line, .doodle circle, .doodle rect,
  .doodle.is-drawn path, .doodle.is-drawn line, .doodle.is-drawn circle, .doodle.is-drawn rect {
    animation: none !important;
    opacity: 1;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
