/* WeMow — public website
 * ---------------------------------------------------------------------------
 * One stylesheet for every page. No frameworks, no build step, no external
 * requests except the two Google fonts, so it drops into WordPress as-is.
 *
 * The palette is lifted from the apps' own design tokens, so the website and
 * the thing it sells look like one company rather than two.
 */

:root {
  /* Greens, from the app's lawn scale. */
  --lawn-50:  #f1faf3;
  --lawn-100: #ddf3e3;
  --lawn-200: #bde7c9;
  --lawn-400: #57b878;
  --lawn-500: #339c58;
  --lawn-600: #237e44;
  --lawn-700: #1d6438;
  --lawn-800: #1a4f2f;
  --lawn-900: #123324;

  /* Warm neutrals. Pure grey next to green reads cold and clinical. */
  --sand-50:  #faf9f7;
  --sand-100: #f4f2ee;
  --sand-200: #e8e5df;
  --sand-300: #d6d1c7;
  --sand-400: #a9a396;
  --sand-500: #7d7669;
  --sand-600: #5c564b;
  --sand-700: #443f37;
  --sand-900: #1a1815;

  --amber-100: #fef3c7;
  --amber-600: #b45309;

  --white: #ffffff;

  --ink: var(--sand-900);
  /* Body copy sat on sand-600 at 4.9:1. Fine by the letter of the guideline,
     tiring over a paragraph. Darkened until it is comfortable. */
  --body: #4d483d;
  /* Small print — captions, unit labels. Never body copy. */
  --muted: #6b6559;

  /* The page is never pure white. A barely-there green keeps the whole site
     feeling like it belongs to the brand instead of a blank document, and it
     is softer to read against. Cards sit in real white so they lift off it. */
  --paper: #f7f9f5;
  --paper-alt: #edf2ea;
  --surface: var(--white);
  --rule: #e2e6dd;
  --hairline: rgba(26, 24, 21, .07);

  --measure: 34rem;
  --wide: 72rem;

  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(26, 24, 21, .05);
  --shadow: 0 2px 4px rgba(26, 24, 21, .04), 0 12px 32px -16px rgba(26, 24, 21, .18);
  --shadow-lg: 0 4px 8px rgba(26, 24, 21, .05), 0 24px 60px -24px rgba(26, 24, 21, .25);

  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -.012em; }
h4 { font-size: 1.02rem; letter-spacing: -.006em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--lawn-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lawn-800); }

:focus-visible {
  outline: 3px solid var(--lawn-500);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lawn-700);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: var(--white); }

/* --- layout ------------------------------------------------------------ */

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.narrow { width: min(100%, var(--measure) + 8rem); }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.alt { background: var(--paper-alt); }
.dark { background: var(--lawn-900); color: var(--lawn-100); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark a:not(.btn) { color: var(--lawn-200); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lawn-600);
  margin: 0 0 .85rem;
}
.dark .eyebrow { color: var(--lawn-400); }

.lead { font-size: 1.16rem; color: var(--sand-600); max-width: var(--measure); }
.dark .lead { color: var(--lawn-100); }

/* --- the mowing stripes -------------------------------------------------
 * A mown lawn is striped because the roller bends the grass in alternating
 * directions. It is the one visual every customer already recognises, so it
 * is the motif rather than a generic gradient.
 */
.stripes {
  background-color: var(--lawn-900);
  background-image: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, .035) 0 64px,
    transparent 64px 128px
  );
}
.stripes-soft {
  background-image: repeating-linear-gradient(
    100deg,
    rgba(35, 126, 68, .045) 0 34px,
    transparent 34px 68px
  );
}
.stripe-rule {
  height: 7px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    100deg,
    var(--lawn-500) 0 22px,
    var(--lawn-300, var(--lawn-200)) 22px 44px
  );
}

/* --- header ------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 245, .9);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.logo:hover { color: var(--ink); }
.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--lawn-600);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: .95rem;
  flex: none;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--sand-700);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--lawn-700); }
.nav a[aria-current="page"] { font-weight: 600; }

@media (max-width: 900px) {
  .nav { display: none; }
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }

.btn-primary {
  background: var(--lawn-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(18, 51, 36, .18), 0 6px 16px -8px rgba(18, 51, 36, .45);
}
.btn-primary:hover {
  background: var(--lawn-700);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(18, 51, 36, .2), 0 12px 24px -10px rgba(18, 51, 36, .5);
}

.btn-ghost { background: transparent; border-color: var(--sand-300); color: var(--sand-700); }
.btn-ghost:hover { border-color: var(--lawn-500); color: var(--lawn-700); background: var(--surface); }

/* On a dark section the primary action is a bright, solid green rather than a
   flat white rectangle. It reads as the brand acting, not as a hole cut in the
   background — and white on lawn-500 clears 4.5:1 at this weight. */
.btn-light {
  background: var(--lawn-400);
  /* Near-black green rather than white. White on this green measures 3.5:1,
     which fails at button text size; this measures 6.7:1 and reads brighter
     and more like a brand besides. */
  color: #0c2418;
  box-shadow: 0 1px 2px rgba(7, 26, 18, .35), 0 10px 26px -12px rgba(87, 184, 120, .75);
}
.btn-light:hover { background: #6cc78a; color: #08130c; }

/* The quiet partner to it, on dark. */
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.38); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

.btn-lg { padding: 1.15rem 2rem; font-size: 1.04rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  color: var(--lawn-100);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(18, 51, 36, .55), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { color: var(--lawn-100); margin-top: 1.25rem; font-size: 1.22rem; }
.hero .btn-row { margin-top: 2.25rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: var(--lawn-200);
}
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { flex: none; }

/* --- cards & grids ------------------------------------------------------ */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; }
.alt .card { box-shadow: var(--shadow); }

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card-link:hover {
  border-color: var(--lawn-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--lawn-50);
  color: var(--lawn-700);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}

/* --- steps -------------------------------------------------------------- */

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; }
.steps > li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--lawn-600);
  color: var(--white);
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { font-size: .98rem; }

/* --- pricing ------------------------------------------------------------ */

.price-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--lawn-600); box-shadow: var(--shadow); }
.price-tag {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--lawn-700);
  letter-spacing: -.03em;
  line-height: 1;
  margin: .9rem 0 .2rem;
  font-variant-numeric: tabular-nums;
}
.price-from { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.price-card ul { list-style: none; margin: 1.4rem 0 1.75rem; padding: 0; display: grid; gap: .6rem; font-size: .97rem; }
.price-card ul li { display: flex; gap: .6rem; align-items: flex-start; }
.price-card ul svg { flex: none; margin-top: .3rem; color: var(--lawn-600); }
.price-card .btn { margin-top: auto; }

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 5px;
  background: var(--lawn-100);
  color: var(--lawn-800);
}

table.rates { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.rates th, table.rates td { text-align: left; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rule); }
table.rates th { font-family: var(--font-display); font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
table.rates td:last-child, table.rates th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll-x { overflow-x: auto; }

/* --- suburbs ------------------------------------------------------------ */

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chips li {
  background: var(--lawn-50);
  border: 1px solid var(--lawn-100);
  color: var(--lawn-800);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
}

/* --- faq ---------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .35rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lawn-600);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 2.5rem 1.4rem 0; }

/* --- forms -------------------------------------------------------------- */

.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .93rem; color: var(--sand-700); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--lawn-500); outline-offset: 1px; }
.field .hint { font-size: .86rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* --- callout ------------------------------------------------------------ */

.callout {
  border-left: 4px solid var(--lawn-600);
  background: var(--lawn-50);
  padding: 1.35rem 1.6rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}
.callout p { font-size: 1rem; color: var(--lawn-900); }

/* --- cta band ----------------------------------------------------------- */

.cta { text-align: center; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: var(--lawn-100); max-width: 40ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 2rem; }

/* --- footer ------------------------------------------------------------- */

.footer { background: var(--sand-900); color: rgba(232, 229, 223, .82); padding: 4rem 0 2.25rem; font-size: .94rem; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: rgba(232, 229, 223, .82); text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .logo { color: var(--white); margin-bottom: .9rem; }
.footer .blurb { max-width: 30ch; color: rgba(232, 229, 223, .72); }

.stores { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.stores-soon { margin-top: 1.1rem; font-size: .92rem; opacity: .85; }
.form-note { border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.2rem; font-weight: 500; }
.form-note[hidden] { display: none; }
.form-ok { background: #e8f3ea; color: #1d5a2c; border: 1px solid #b7d9bf; }
.form-bad { background: #fbeaea; color: #8a1f1f; border: 1px solid #efc4c4; }
.store {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--sand-700);
  border-radius: var(--radius-sm);
  padding: .55rem .9rem;
  color: var(--sand-200);
  text-decoration: none;
  font-size: .85rem;
  line-height: 1.2;
}
.store:hover { border-color: var(--sand-400); color: var(--white); text-decoration: none; }
.store strong { display: block; font-size: .96rem; font-weight: 600; }
.store span { display: block; font-size: .72rem; color: rgba(232, 229, 223, .62); }

.colophon {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .87rem;
  color: rgba(232, 229, 223, .62);
}

/* --- misc --------------------------------------------------------------- */

.breadcrumb { font-size: .88rem; color: var(--muted); padding: 1.25rem 0 0; }
.breadcrumb a { color: var(--sand-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lead { margin-top: 1rem; }

.prose { max-width: var(--measure); }
.prose h2 { margin: 2.75rem 0 .9rem; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose > p:first-child { font-size: 1.08rem; }

/* --- mobile menu --------------------------------------------------------
 * A <details> disclosure rather than a script. It needs no JavaScript, it is
 * keyboard operable for free, and it cannot get stuck open in a broken state.
 */
.menu { display: none; position: relative; }

.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-300);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span {
  display: block;
  width: 18px; height: 2px;
  background: var(--sand-700);
  border-radius: 2px;
}
.menu[open] summary { border-color: var(--lawn-500); }

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .6rem);
  min-width: 15rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .6rem;
  display: grid;
  gap: .1rem;
  z-index: 60;
}
.menu-panel a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--sand-700);
  text-decoration: none;
  font-weight: 500;
}
.menu-panel a:hover { background: var(--lawn-50); color: var(--lawn-800); }

@media (max-width: 900px) {
  .menu { display: block; }
  .masthead .btn-primary { padding: .8rem 1.1rem; font-size: .93rem; }
}
@media (max-width: 420px) {
  .masthead .btn-primary { display: none; }
}

/* --- motion --------------------------------------------------------------
 * Restraint is the whole point. Content lifts in once as it enters the
 * viewport and is then left alone — nothing loops, nothing parallaxes, and
 * nothing moves while you are trying to read it.
 *
 * The starting state is applied by script, not by the stylesheet. If the
 * script never runs, the page is simply visible rather than permanently blank.
 */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1),
              transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
[data-reveal].shown {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Grid children arrive in sequence rather than all at once. Small enough that
   it reads as one movement, not a queue. */
[data-reveal-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* The hero is above the fold, so it animates on load instead of on scroll. */
.hero > .wrap > * {
  animation: rise .7s cubic-bezier(.22, .61, .36, 1) backwards;
}
.hero > .wrap > *:nth-child(1) { animation-delay: .05s; }
.hero > .wrap > *:nth-child(2) { animation-delay: .13s; }
.hero > .wrap > *:nth-child(3) { animation-delay: .21s; }
.hero > .wrap > *:nth-child(4) { animation-delay: .29s; }
.hero > .wrap > *:nth-child(5) { animation-delay: .37s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Everything above is a nicety. None of it happens for anyone who has asked
   their system not to animate. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero > .wrap > * { animation: none; }
  .btn:hover, .card-link:hover { transform: none; }
}
