/* PestRoster v2 — brand tokens
   Signature: Roster Green #0B6B4F. Neutrals: green-tinted grays. Mint #B8F0D6 only on dark.
   Type: Geist (UI/display) + Geist Mono (license numbers, dates). Scale: 0.875 / 1 / 1.125 / 1.375 / 2 / 3.25rem */
:root {
  --brand: #0B6B4F;        /* 6.5:1 on white */
  --brand-600: #08573F;
  --brand-50: #E9F5EF;
  --mint: #B8F0D6;
  --ink: #0D1714;
  --ink-2: #44514C;        /* 8.2:1 on white */
  --ink-3: #56635E;        /* 6.2:1 on white */
  --line: #E1E7E4;
  --line-2: #CFD8D4;
  --bg: #FFFFFF;
  --tint: #F5F8F6;
  --dark: #0A1C16;
  --amber: #8A5A00; --amber-bg: #FFF4DB;
  --red: #A23A1C;   --red-bg: #FCEBE5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(13,23,20,.06), 0 12px 32px -8px rgba(13,23,20,.14), 0 40px 80px -24px rgba(11,107,79,.18);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--brand); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--brand); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-word { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-word span { color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.875rem; padding: 0 1.25rem; border-radius: 10px; font: 500 1rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 1px 2px rgba(13,23,20,.2); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { height: 2.375rem; padding: 0 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 4rem; }
.nav-links { display: flex; gap: 1.75rem; margin-right: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 5rem 0 5.5rem; background: radial-gradient(60rem 28rem at 50% -6rem, var(--brand-50), transparent 70%); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; padding: .3rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; max-width: 20ch; margin: 0 auto 1.25rem; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 40rem; margin: 0 auto 2rem; }
.hero-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* App mockup */
.app { margin: 0; text-align: left; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.app-dots { display: flex; gap: 6px; } .app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-title { margin: 0; font-size: .875rem; font-weight: 600; }
.app-file { margin-left: auto; font: 500 .875rem var(--mono); color: var(--ink-3); }
.app-body { display: grid; grid-template-columns: minmax(0,1fr) 17.5rem; }
.app-main { min-width: 0; }
.app-tools { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chip { font-size: .875rem; padding: .2rem .65rem; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); background: #fff; }
.chip-on { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.app-count { margin-left: auto; font-size: .875rem; color: var(--ink-3); }
.app-export { font-size: .875rem; font-weight: 500; padding: .2rem .7rem; border-radius: 8px; background: var(--ink); color: #fff; }
.table-scroll { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: .875rem; white-space: nowrap; }
.grid th { text-align: left; font-weight: 500; color: var(--ink-3); padding: .6rem .85rem; border-bottom: 1px solid var(--line); background: #fff; }
.grid td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover { background: var(--tint); }
.mono { font-family: var(--mono); font-size: .875rem; color: var(--ink-2); }
.pill { display: inline-block; font-size: .875rem; font-weight: 500; padding: .05rem .55rem; border-radius: 999px; }
.pill.ok { background: var(--brand-50); color: var(--brand-600); }
.pill.lapsed { background: var(--red-bg); color: var(--red); }
.app-side { border-left: 1px solid var(--line); padding: 1rem; background: #fcfdfc; }
.side-head { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.side-title { margin: 0; font-weight: 600; font-size: 1rem; }
.badge { display: inline-block; align-self: flex-start; font-size: .875rem; font-weight: 500; padding: .05rem .55rem; border-radius: 999px; background: var(--amber-bg); color: var(--amber); vertical-align: middle; letter-spacing: 0; }
.stats { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.stats li { display: flex; align-items: baseline; gap: .65rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.stat-n { font: 600 1.375rem/1 var(--font); letter-spacing: -0.02em; min-width: 2.6rem; color: var(--ink); }
.stat-l { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.feed li { display: grid; gap: .2rem; justify-items: start; font-size: .875rem; color: var(--ink-2); line-height: 1.4; }
.feed b { display: block; color: var(--ink); font-weight: 500; }
.tag { font-size: .875rem; font-weight: 500; padding: 0 .45rem; border-radius: 6px; white-space: nowrap; }
.tag-new { background: var(--brand-50); color: var(--brand-600); }
.tag-due { background: var(--amber-bg); color: var(--amber); }
.tag-lapsed { background: var(--red-bg); color: var(--red); }
.app-caption { margin: 1rem auto 0; font-size: .875rem; color: var(--ink-3); max-width: 46rem; }

/* Segments */
.segments { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.segments-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.segments-title { margin: 0; font-size: .9375rem; color: var(--ink-3); text-align: center; }
.segment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; }
.segment-list li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: 1.0625rem; color: var(--ink); }
.segment-list svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 6rem 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3.25rem; }
.section-head h2, .cta h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; margin-bottom: .85rem; }
.section-head p { margin: 0; font-size: 1.125rem; color: var(--ink-2); }
.section-head-left { text-align: left; margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ficon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--brand-50); margin-bottom: 1rem; }
.ficon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.feature p { margin: 0; color: var(--ink-2); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps li { padding: 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; font-size: .9375rem; margin-bottom: 1rem; }
.steps h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 26rem; gap: 4rem; align-items: center; }
.pricing .section-head-left p + p { margin-top: 1rem; }
.coverage { font-size: 1rem !important; }
.coverage b { color: var(--ink); font-weight: 600; }
.price-card { padding: 2rem; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: var(--shadow); position: relative; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 16px 16px 0 0; background: var(--brand); }
.price-name { margin: 0 0 .75rem; font-weight: 600; }
.price { margin: 0; font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price span { display: block; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-bottom: .35rem; }
.price small { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.price-note { margin: .6rem 0 1.5rem; color: var(--brand); font-weight: 500; }
.checks { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 1.75rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230B6B4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 18rem 1fr; gap: 4rem; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 500; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-2); max-width: 44rem; }

/* CTA */
.cta { background: var(--dark); color: #fff; padding: 6rem 0; background-image: radial-gradient(40rem 24rem at 15% 0%, rgba(11,107,79,.55), transparent 70%); }
.cta-inner { display: grid; grid-template-columns: 1fr 28rem; gap: 4rem; align-items: start; }
.cta p { color: #C9D6D0; font-size: 1.125rem; margin: 0 0 1.5rem; max-width: 30rem; }
.cta-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cta-points li { padding-left: 1.6rem; position: relative; color: #E4ECE8; }
.cta-points li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); }
.form { background: #fff; color: var(--ink); padding: 1.75rem; border-radius: 16px; display: grid; gap: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.nowrap { white-space: nowrap; }
.field label { font-size: .9375rem; font-weight: 500; }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); outline: none; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 0; font-size: .9375rem; color: var(--brand-600); }
.form-status:empty { display: none; }
.form-status.error { color: var(--red); }

/* Footer */
.footer { background: var(--dark); color: #C9D6D0; border-top: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: var(--brand); }
.footer .brand-word { color: #fff; } .footer .brand-word span { color: var(--mint); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; flex-wrap: wrap; }
.disclaimer { margin: 1rem 0 0; max-width: 26rem; font-size: .9375rem; color: #C9D6D0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: flex-start; }
.footer-links a { color: #E4ECE8; text-decoration: none; font-size: .9375rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; padding-bottom: 2rem; }
.footer-base p { margin: 0; font-size: .875rem; color: #A9BAB2; }

/* Responsive */
@media (max-width: 960px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { border-left: 0; border-top: 1px solid var(--line); }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .pricing, .faq-wrap, .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .price-card { max-width: 30rem; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: 3rem 0 3.5rem; }
  .eyebrow-more { display: none; }
  .lede { font-size: 1.0625rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions { margin-bottom: 2.5rem; }
  .app-file { display: none; }
  .app-title { font-size: .875rem; }
  .app-count { margin-left: 0; }
  .app-export { display: none; }
  .grid th:nth-child(3), .grid td:nth-child(3), .grid th:nth-child(4), .grid td:nth-child(4),
  .grid th:nth-child(6), .grid td:nth-child(6), .grid th:nth-child(7), .grid td:nth-child(7) { display: none; }
  .grid { white-space: normal; }
  .grid td:nth-child(2) { width: 100%; }
  .features, .steps { grid-template-columns: 1fr; }
  .section, .cta { padding: 4rem 0; }
  .section-head { margin-bottom: 2rem; text-align: left; }
  .segment-list { justify-content: flex-start; flex-direction: column; gap: .7rem; }
  .segments-inner { align-items: flex-start; }
  .segments-title { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 1.25rem; }
}
