/* Land Care Advisor — Week 1 local static site
   Navy + sand, field-green accent. Fraunces + DM Sans. */

:root {
  --navy-950: #0b1424;
  --navy-900: #121f36;
  --navy-800: #1a2b48;
  --navy-700: #243a5c;
  --sand-50: #f7f1e6;
  --sand-100: #efe5d4;
  --sand-200: #e2d3b8;
  --cream: #fbf7f0;
  --ink: #142033;
  --muted: #5c6b82;
  --field: #1e5c3a;
  --field-deep: #143f28;
  --field-bright: #8fbf9a;
  --field-wash: #e7f2ea;
  --white: #ffffff;
  --danger: #9b2c2c;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 20, 36, 0.18);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--field);
}

:focus-visible {
  outline: 3px solid var(--field-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--navy-950);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 36, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 191, 154, 0.18);
  color: var(--sand-50);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--sand-50);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 0;
}

.logo:hover {
  color: var(--sand-100);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #3d8a5c, var(--field-deep));
  color: var(--sand-50);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  line-height: 1.15;
  min-width: 0;
}

.logo-text {
  white-space: nowrap;
}

.logo-text span {
  font-weight: 500;
  opacity: 0.85;
}

.logo-domain {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.72;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--sand-100);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--field);
  color: var(--sand-50) !important;
}

.nav-cta:hover {
  background: #27724a;
  color: var(--white) !important;
}

.nav-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(247, 241, 230, 0.25);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0.55rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--sand-50);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--field);
  color: var(--sand-50);
}

.btn-primary:hover {
  background: #27724a;
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(247, 241, 230, 0.35);
  color: var(--sand-50);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--field-bright);
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy-700);
  color: var(--navy-900);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--field);
  color: var(--field);
  background: var(--field-wash);
}

.btn-block {
  width: 100%;
}

.hero {
  background:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(30, 92, 58, 0.45), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, #122033 48%, #163024 100%);
  color: var(--sand-50);
  padding: 4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--field-bright);
}

.hero h1,
.page-hero h1,
.section-head h2,
.form-card h1,
.thanks-card h1,
.town-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
}

.lede {
  font-size: 1.12rem;
  max-width: 38rem;
  color: var(--sand-200);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.offer-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(143, 191, 154, 0.22);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.offer-list strong {
  display: block;
  color: var(--cream);
  margin-bottom: 0.2rem;
}

.offer-list span {
  color: var(--sand-200);
  font-size: 0.95rem;
}

.pro-strip {
  background: var(--field-wash);
  border-block: 1px solid rgba(30, 92, 58, 0.12);
  padding: 1.75rem 0;
}

.pro-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pro-strip p {
  margin: 0;
  color: var(--navy-800);
  max-width: 36rem;
}

.pro-strip strong {
  color: var(--field-deep);
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy-950);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.how-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(11, 20, 36, 0.05);
}

.how-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--field-wash);
  color: var(--field-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.how-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.towns {
  background: var(--white);
  border-block: 1px solid var(--sand-200);
}

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.town-list a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--sand-200);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-800);
  background: var(--cream);
}

.town-list a:hover {
  border-color: var(--field);
  color: var(--field);
  background: var(--field-wash);
}

.page-hero,
.town-hero {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(30, 92, 58, 0.35), transparent 55%),
    linear-gradient(165deg, var(--navy-950), #122033 60%, #163024);
  color: var(--sand-50);
  padding: 2.75rem 0 2.5rem;
}

.page-hero h1,
.town-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  color: var(--cream);
  max-width: 28rem;
}

.page-hero .lede,
.town-hero .lede {
  margin-bottom: 0;
  max-width: 36rem;
}

.form-section {
  padding: 2.5rem 0 4rem;
}

.form-card,
.thanks-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: -2.5rem auto 0;
  position: relative;
}

.form-card h1,
.thanks-card h1 {
  font-size: 1.65rem;
  color: var(--navy-950);
}

.form-card .intro,
.thanks-card .intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--sand-200);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(30, 92, 58, 0.18);
  background: var(--white);
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.9rem 1rem;
  background: var(--field-wash);
  border: 1px solid rgba(30, 92, 58, 0.2);
  border-radius: 12px;
}

.consent input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--field);
}

.consent label {
  font-size: 0.88rem;
  color: var(--navy-800);
  line-height: 1.45;
  font-weight: 500;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--field-deep);
  text-align: center;
  min-height: 1.25rem;
}

.form-status.error {
  color: var(--danger);
}

.thanks-card {
  text-align: center;
  max-width: 520px;
}

.thanks-card .lede-ink {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.thanks-phone {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.thanks-phone a {
  color: var(--field);
  font-weight: 700;
  text-decoration: none;
}

.thanks-phone a:hover {
  text-decoration: underline;
}

.demo-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--sand-50);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.town-content {
  padding: 2.5rem 0 4rem;
}

.town-panel {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 20, 36, 0.06);
  max-width: 720px;
  margin: -2rem auto 0;
  position: relative;
}

.town-panel p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.town-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  background: var(--navy-950);
  color: var(--sand-200);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-copy {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--sand-200);
}

.footer-powered {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.footer-powered a {
  color: var(--field-bright);
  font-weight: 600;
  text-decoration: none;
}

.footer-powered a:hover {
  text-decoration: underline;
  color: var(--sand-50);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
}

.footer-contact a {
  color: var(--sand-100);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--field-bright);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid rgba(143, 191, 154, 0.18);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(247, 241, 230, 0.08);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Legal pages and footer links added for the Nov 28 2026 release */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}
.draft-banner {
  margin: 0;
  padding: 0.75rem 0;
  background: #f4efe6;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 0.95rem;
}
.draft-banner .wrap { color: #2a2a2a; }
.legal-page {
  max-width: 42rem;
  padding-bottom: 3rem;
}
.legal-page h2 { margin-top: 1.75rem; }
.legal-page p, .legal-page li { line-height: 1.6; }
.legal-page address { font-style: normal; }
