/* Fresh Cut: lawn green and cream, softer corners, a serif for headings. Readable in sun, friendly enough to hand to a homeowner.
   Polished (Zach picked look A of three, 2026-11-15): soft shadows instead of outlines, springy presses, a floating tab bar. */
:root {
  --paper: #f5f2ea;
  --card: #fffdf8;
  --ink: #143020;
  --muted: #64746a;
  --line: #e6e2d6;
  --chip: #edf2e6;
  --flag: #1d6e47;
  --flag-ink: #f6f3ea;
  --flag-2: #2f8f5e;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --soft: 0 1px 2px rgba(20, 48, 32, 0.06), 0 6px 18px rgba(20, 48, 32, 0.07);
  --flag-soft: #dcebdf;
  --ok: #1e7f4f;
  --ok-soft: #dcefe4;
  --bad: #b8321f;
  --bad-soft: #f7ddd7;
  --radius: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.4 "DM Sans",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--flag);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
svg.i {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-weight: 600;
  transition:
    transform 120ms ease-out,
    background-color 120ms ease-out;
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}
.btn.primary {
  background: var(--flag);
  border-color: var(--flag);
  color: var(--flag-ink);
}
.btn.danger {
  color: var(--bad);
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.small {
  min-height: 40px;
  padding: 0 12px;
  font-size: 15px;
}
.btn.grow {
  flex: 1;
}
.btn[disabled] {
  opacity: 0.45;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.row + .row {
  margin-top: 8px;
}
.stack > * + * {
  margin-top: 10px;
}

/* jobs screen */
.home {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(18px + var(--safe-t)) 16px calc(24px + var(--safe-b));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
}
.brand h1,
.sheet h2,
.home h2 {
  font-family: Fraunces, Georgia, serif;
}
.brand h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.brand .mark {
  width: auto;
  height: 40px;
}
.home .brand {
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.home .brand #co {
  position: absolute;
  right: 0;
  top: 0;
}
.co-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}
.home p.lede {
  margin: 0 0 18px;
  color: var(--muted);
}
.job {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}
.job:active {
  transform: scale(0.99);
}
.job b {
  display: block;
  font-size: 17px;
}
.job span {
  color: var(--muted);
  font-size: 14px;
}
.job .grow {
  flex: 1;
  min-width: 0;
}
.job .meta {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}

/* forms */
label.f {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
input.t,
select.t {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  padding: 0 14px;
  font-size: 17px;
}
.seg {
  display: flex;
  gap: 6px;
}
.seg button {
  flex: 1;
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-weight: 600;
  font-size: 15px;
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper button {
  width: 48px;
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 22px;
  font-weight: 600;
}
.stepper output {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}
.toggle input {
  width: 52px;
  height: 30px;
  accent-color: var(--flag);
}
.results button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 15px;
}

/* sheet (modal from bottom) */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(29, 35, 32, 0.35);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(18px + var(--safe-b));
  animation: up 200ms ease-out;
}
.sheet h2 {
  margin: 0 0 14px;
  font-size: 20px;
}
@keyframes up {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet {
    animation: none;
  }
  .btn,
  .job {
    transition: none;
  }
}

/* job screen */
.jobview {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: calc(6px + var(--safe-t)) 8px 6px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 500;
}
.topbar .title {
  flex: 1;
  min-width: 0;
}
.topbar .title b {
  display: block;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .title span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.iconbtn:active {
  background: var(--chip);
}
#map {
  flex: 1;
  min-height: 0;
  background: #34402f;
}
.panel {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 12px 8px;
  max-height: 46vh;
  overflow: auto;
  z-index: 500;
}
.hint {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--muted);
}
.hint b {
  color: var(--ink);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b);
  z-index: 500;
}
.tab {
  border: 0;
  background: none;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.tab[aria-selected="true"] {
  color: var(--flag);
}
.tab svg.i {
  width: 22px;
  height: 22px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}
.badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.badge.bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.badge.warn {
  background: #fbeccb;
  color: #7a4d00;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
}
.chip[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  font-size: 15px;
  margin: 0 0 10px;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  font-weight: 600;
}
.toast {
  position: fixed;
  left: 50%;
  top: calc(64px + var(--safe-t));
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--card);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  z-index: 2000;
  max-width: calc(100% - 32px);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease-out;
}
.toast.on {
  opacity: 1;
}
.busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 241, 234, 0.6);
  z-index: 600;
  font-weight: 700;
}

/* map bits */
.vh {
  width: 22px !important;
  height: 22px !important;
  margin: -11px 0 0 -11px !important;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--flag);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.shapemove,
.shaperot {
  width: 40px !important;
  height: 40px !important;
  margin: -20px 0 0 -20px !important;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.shapemove svg,
.shaperot svg {
  width: 24px;
  height: 24px;
}
.shaperot {
  background: #fff;
  color: var(--ink);
}
.vh.first {
  background: var(--flag);
}
.vh.sel {
  background: var(--ink);
  border-color: #fff;
}
.mh {
  width: 18px !important;
  height: 18px !important;
  margin: -9px 0 0 -9px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed var(--flag);
}
.elabel {
  background: rgba(29, 35, 32, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
.hlabel {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-shadow:
    0 0 3px #000,
    0 0 2px #000;
  white-space: nowrap;
  transform: translate(-50%, -150%);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  pointer-events: none;
}
.leaflet-container.far .hlabel,
.leaflet-container.far .elabel {
  display: none;
}
.mk {
  width: 26px !important;
  height: 26px !important;
  margin: -13px 0 0 -13px !important;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #111;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.leaflet-control-attribution {
  font-size: 10px;
}

/* plan + parts overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 900;
  display: flex;
  flex-direction: column;
}
.overlay .body {
  flex: 1;
  overflow: auto;
  padding: 12px;
}
.overlay canvas {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: block;
}
table.parts {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}
table.parts th,
table.parts td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}
table.parts th.g {
  background: var(--chip);
  font-size: 13px;
  text-transform: none;
  color: var(--muted);
}
table.parts td.q {
  text-align: right;
  font-weight: 700;
  width: 64px;
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 2px;
}

#print-area {
  display: none;
}
@media print {
  body > *:not(#print-area) {
    display: none !important;
  }
  #print-area {
    display: block !important;
  }
  #print-area img {
    width: 100%;
  }
  #print-area table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font:
      12px Inter,
      sans-serif;
  }
  #print-area td,
  #print-area th {
    border-bottom: 1px solid #ccc;
    padding: 4px 6px;
    text-align: left;
  }
  @page {
    margin: 12mm;
  }
}
.hshape { background: none; border: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45)); }

/* parts list editing */
.pe {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
}
.pe .t {
  flex: 1;
  min-width: 0;
}
.pe .t.q {
  flex: none;
  width: 64px;
  text-align: right;
}
.pe .x {
  flex: none;
}
.pe-g {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 2px;
}
.parts th.g .gn {
  font-weight: 600;
}
.fx {
  width: 14px !important;
  height: 14px !important;
  margin: -7px 0 0 -7px !important;
  background: none;
  border: 0;
}

/* polished look (look A) */
.btn {
  border: 0;
  box-shadow: var(--soft);
  border-radius: 14px;
  transition: transform 260ms var(--spring), box-shadow 200ms ease-out, background-color 160ms ease-out;
}
.btn:active { transform: scale(0.96); transition: transform 110ms ease-out; box-shadow: 0 1px 2px rgba(20,48,32,.08); }
.btn.primary {
  background: linear-gradient(180deg, var(--flag-2), var(--flag));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px rgba(29,110,71,.28);
}
.btn.ghost { box-shadow: none; }
.job { border: 0; box-shadow: var(--soft); transition: transform 260ms var(--spring); }
.job:active { transform: scale(0.98); transition-duration: 110ms; }
.empty { border: 0; background: linear-gradient(180deg, #fbf9f3, #f1eee4); box-shadow: inset 0 0 0 1px var(--line); }
.chip { border: 0; box-shadow: var(--soft); transition: transform 220ms var(--spring); min-height: 38px; padding: 0 12px; }
.chip:active { transform: scale(0.95); }
.badge.ok { background: linear-gradient(90deg, #d9efe2, #e8f4ec); }
.topbar { background: rgba(245,242,234,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 0; box-shadow: 0 1px 0 var(--line); }
.panel { border: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px rgba(20,48,32,.08); margin-top: -14px; padding-top: 16px; position: relative; }
.tabs { background: transparent; border: 0; padding: 6px 10px calc(8px + var(--safe-b)); background: var(--paper); }
.tab { border-radius: 14px; transition: background-color 200ms ease-out, color 200ms ease-out; }
.tab[aria-selected="true"] { background: var(--card); box-shadow: var(--soft); color: var(--flag); }
.seg button { border: 0; box-shadow: var(--soft); transition: background-color 180ms ease-out, color 180ms ease-out, transform 220ms var(--spring); }
.seg button[aria-pressed="true"] { background: var(--flag); color: #fff; }
.sheet { animation: sheetIn 420ms var(--spring); border-radius: 26px 26px 0 0; }
@keyframes sheetIn { from { transform: translateY(60%); } to { transform: none; } }
.jobview { animation: viewIn 320ms cubic-bezier(.2,.8,.2,1); }
@keyframes viewIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.home.enter > * { animation: rise 420ms cubic-bezier(.2,.8,.2,1) both; }
.home.enter > *:nth-child(2) { animation-delay: 60ms; } .home.enter > *:nth-child(3) { animation-delay: 120ms; }
.home.enter > *:nth-child(4) { animation-delay: 180ms; } .home.enter > *:nth-child(n+5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* opening animation: three drops fall and the logo grows in where they land */
.splash { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--paper); transition: opacity 450ms ease, transform 450ms ease; }
.splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.sp-in { text-align: center; position: relative; width: 150px; }
.sp-mark { display: block; width: 150px; height: auto; margin: 0 auto; animation: grow 600ms cubic-bezier(0.34, 1.5, 0.64, 1) 620ms both; }
.sp-drop { position: absolute; left: 50%; width: 14px; height: 20px; margin-left: -7px; background: var(--flag-2); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0; animation: raindrop 520ms cubic-bezier(0.5, 0, 1, 1) both; }
.sp-drop.r1 { margin-left: -46px; }
.sp-drop.r2 { margin-left: 30px; animation-delay: 160ms; }
.sp-drop.r3 { animation-delay: 320ms; }
.sp-sub { color: var(--muted); margin-top: 18px; animation: rise 500ms ease-out 900ms both; }
@keyframes raindrop { from { top: -260px; opacity: 1; } to { top: 120px; opacity: 0; } }
@keyframes grow { from { transform: scale(0.15); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home.enter > *, .jobview, .sheet { animation: none; } }

/* homeowner mode: the layout is blurred until the yard is unlocked */
.leaflet-container.locked .leaflet-overlay-pane,
.leaflet-container.locked .leaflet-marker-pane {
  filter: blur(9px);
  pointer-events: none;
}
.leaflet-container.locked::after {
  content: "Unlock to see your heads";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 700;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--soft);
  pointer-events: none;
}
.installers {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--soft);
}
.inst {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.inst b {
  display: block;
}
.inst span {
  color: var(--muted);
  font-size: 13px;
}
.inst .stars {
  text-align: right;
  font-weight: 700;
  color: #b7791f;
  white-space: nowrap;
}
.inst .stars span {
  display: block;
  font-weight: 500;
}

/* Computer screens (website, 2026-11-16): the map takes the whole left side and the panel and tabs
   sit in a column on the right, so tracing with a mouse gets the room. Sheets open in the middle. */
@media (min-width: 900px) {
  .jobview {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "top top" "map panel" "map tabs";
  }
  .topbar { grid-area: top; }
  #map { grid-area: map; }
  .panel {
    grid-area: panel;
    max-height: none;
    margin-top: 0;
    border-radius: 0;
    box-shadow: -1px 0 0 var(--line);
    padding: 16px 18px;
  }
  .tabs {
    grid-area: tabs;
    box-shadow: -1px 0 0 var(--line);
    padding: 8px 10px 10px;
  }
  .tab { min-height: 52px; }
  .scrim { align-items: center; padding: 24px; }
  .sheet { border-radius: 22px; max-height: 84vh; padding: 22px 22px 20px; }
  @keyframes sheetIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { filter: brightness(0.97); }
  .tab:hover { color: var(--ink); }
  .job:hover { transform: translateY(-1px); }
}

/* Website front page (2026-11-16). Same cream and green as the app; the real app shot is the
   picture, so nothing decorative competes with it. */
.landing { max-width: 1080px; margin: 0 auto; padding: calc(10px + var(--safe-t)) 16px 40px; }
.l-top { display: flex; align-items: center; gap: 10px; padding: 6px 0 18px; }
.l-top img { width: 34px; height: auto; }
.l-top b { flex: 1; font-family: Fraunces, Georgia, serif; font-size: 20px; }
.l-top a { text-decoration: none; color: var(--flag); }
.l-hero { display: grid; gap: 28px; align-items: center; }
.l-hero h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(34px, 6vw, 54px); line-height: 1.05; letter-spacing: -0.01em; margin: 6px 0 14px; text-wrap: balance; }
.l-sub { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.l-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--soft); padding: 18px; max-width: 440px; }
.l-form-h { font-size: 18px; margin: 0 0 4px; }
.l-card .note { margin-top: 0; }
.l-card .lede { margin: 0 0 12px; color: var(--muted); }
.l-card .lede b { color: var(--ink); }
.l-shot { margin: 0; justify-self: center; }
.l-shot img { display: block; width: min(300px, 78vw); height: auto; border-radius: 34px; border: 8px solid #143020; box-shadow: 0 24px 60px rgba(20, 48, 32, 0.22); }
.l-sec { margin-top: 56px; }
.l-sec h2 { font-family: Fraunces, Georgia, serif; font-size: 28px; margin: 0 0 16px; }
.l-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.l-steps li { background: var(--card); border-radius: 16px; box-shadow: var(--soft); padding: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; }
.l-steps li span:last-child { grid-column: 2; color: var(--muted); }
.l-n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--flag-soft); color: var(--flag); font-weight: 800; display: grid; place-items: center; }
.l-app { display: flex; gap: 16px; align-items: flex-start; background: var(--flag-soft); border-radius: var(--radius); padding: 20px; }
.l-app svg.i { width: 34px; height: 34px; color: var(--flag); margin-top: 2px; }
.l-app h2 { font-size: 22px; margin-bottom: 6px; }
.l-app p { margin: 0; color: var(--ink); }
.l-prices { display: grid; gap: 14px; }
.l-price { background: var(--card); border-radius: var(--radius); box-shadow: var(--soft); padding: 20px; display: flex; flex-direction: column; }
.l-price p { margin: 0 0 8px; color: var(--muted); }
.l-price p b { color: var(--ink); }
.l-price .btn { margin-top: auto; text-decoration: none; }
.l-amt { font-family: Fraunces, Georgia, serif; font-size: 40px; font-weight: 700; margin: 4px 0 10px; }
.l-amt span { font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 500; color: var(--muted); }
.l-foot { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (min-width: 820px) {
  .landing { padding: 18px 32px 56px; }
  .l-hero { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .l-shot img { width: 320px; }
  .l-steps { grid-template-columns: repeat(3, 1fr); }
  .l-steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .l-steps li span:last-child { grid-column: 1; }
  .l-n { grid-row: auto; }
  .l-prices { grid-template-columns: repeat(3, 1fr); }
}

/* Walk tab on the website: where to get the camera walk */
.appnote { display: flex; gap: 12px; align-items: flex-start; background: var(--flag-soft); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.appnote svg.i { width: 26px; height: 26px; color: var(--flag); }
.appnote b { display: block; margin-bottom: 4px; }
.appnote span { color: var(--ink); font-size: 15px; }

/* company sheet: plan */
.plan { background: var(--card); border-radius: 14px; box-shadow: var(--soft); padding: 12px 14px; }
.plan p { margin: 0 0 6px; }
.plan .btn { text-decoration: none; }

/* Front page, walk-first version (Zach 2026-11-16: market the camera walk and that it's built by
   a landscaper). The walk animation loops every 9 s: the trail draws in as the phone goes around
   (0-45%), the lawn's heads pop in (50-62%), spray fills (55-75%), holds, then fades for the next lap. */
.l-kicker { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; background: var(--flag-soft); color: var(--flag); font-weight: 700; font-size: 14px; }
.l-demo { margin: 0; justify-self: center; text-align: center; }
.l-demo figcaption { color: var(--muted); font-size: 14px; max-width: 320px; margin: 10px auto 0; }
.walk-demo { display: block; width: min(340px, 86vw); height: auto; filter: drop-shadow(0 20px 40px rgba(20, 48, 32, 0.16)); }
.wd-ground { fill: #e9e4d6; }
.wd-lawn { fill: #cfe5c2; stroke: none; }
.wd-trail { fill: none; stroke: var(--flag); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: wd-trail 9s linear infinite; }
.wd-walker { offset-rotate: 0deg; animation: wd-walk 9s linear infinite; }
.wd-walker circle { fill: #fff; stroke: var(--flag); stroke-width: 3; }
.wd-walker .wd-dot { fill: var(--flag); stroke: none; }
.wd-head { fill: #fff; stroke: #143020; stroke-width: 2.5; opacity: 0; animation: wd-head 9s ease-out infinite; animation-delay: calc(var(--i) * 60ms); }
.wd-spray circle { fill: rgba(47, 143, 94, 0.16); stroke: rgba(29, 110, 71, 0.45); stroke-width: 1; opacity: 0; animation: wd-spray 9s ease-out infinite; animation-delay: calc(var(--i) * 60ms); }
.wd-cap { font: 700 17px "DM Sans", sans-serif; fill: var(--ink); text-anchor: middle; }
.wd-cap1 { animation: wd-cap1 9s linear infinite; }
.wd-cap2 { opacity: 0; animation: wd-cap2 9s linear infinite; }
@keyframes wd-trail { 0% { stroke-dashoffset: 100; opacity: 1; } 45% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wd-walk { 0% { offset-distance: 0%; opacity: 1; } 45% { offset-distance: 100%; opacity: 1; } 50%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes wd-head { 0%, 50% { opacity: 0; transform: scale(0.4); } 56% { opacity: 1; transform: scale(1); } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes wd-spray { 0%, 55% { opacity: 0; } 70% { opacity: 1; } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes wd-cap1 { 0%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes wd-cap2 { 0%, 52% { opacity: 0; } 58%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.wd-head { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  /* the finished layout, still */
  .wd-trail { animation: none; stroke-dashoffset: 0; }
  .wd-walker, .wd-cap1 { display: none; }
  .wd-head, .wd-spray circle, .wd-cap2 { animation: none; opacity: 1; }
}
.l-founder { background: var(--card); border-radius: var(--radius); box-shadow: var(--soft); padding: 22px; max-width: 760px; }
.l-founder p { font-size: 17px; margin: 0 0 12px; }
.l-sign { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 19px !important; margin: 4px 0 0 !important; }
.l-vs { display: grid; gap: 14px; }
.l-vs > div { border-radius: var(--radius); padding: 18px 20px; }
.l-vs ul { margin: 10px 0 0; padding-left: 20px; }
.l-vs li { margin: 6px 0; }
.l-old { background: #ece7da; color: var(--muted); }
.l-old li { text-decoration: line-through; text-decoration-color: rgba(100, 116, 106, 0.6); }
.l-new { background: var(--flag-soft); }
.l-new b { color: var(--flag); }
.l-split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) {
  .l-vs { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .l-split { grid-template-columns: 1.3fr 0.7fr; }
  .l-split .l-steps { grid-template-columns: 1fr; }
  .l-split .l-steps li { grid-template-columns: auto 1fr; }
  .l-split .l-steps li span:last-child { grid-column: 2; }
  .l-split .l-n { grid-row: span 2; }
  .walk-demo { width: 380px; }
}

/* first-time tour: one tip at a time, an X to close it */
.tour {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 420px;
  margin: 0 auto;
  z-index: 1500;
  background: var(--card);
  border-radius: 18px;
  padding: 16px 44px 12px 16px;
  box-shadow: 0 12px 36px rgba(20, 48, 32, 0.22);
  animation: tourIn 260ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.tour.at-tab {
  top: auto;
  transform: none;
}
.tour.at-tab::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: var(--arrow, 50%);
  width: 16px;
  height: 16px;
  margin-left: -8px;
  background: var(--card);
  transform: rotate(45deg);
  border-radius: 3px;
}
.tour b {
  display: block;
  font: 700 18px Fraunces, Georgia, serif;
  margin-bottom: 6px;
}
.tour p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.tour-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--chip);
  display: grid;
  place-items: center;
}
.tour-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.tour-skip {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  padding: 6px 0;
}
.tab.tour-hl {
  color: var(--flag);
  box-shadow: 0 0 0 2px var(--flag) inset;
  border-radius: 14px;
}
@keyframes tourIn {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tour { animation: none; }
}
.l-price a.btn:not(.primary) { color: var(--ink); }
.vbox {
  background: #6b4f2a;
  color: #fff;
  font: 700 10px "DM Sans", sans-serif;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1.5px solid #fff;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.parts-foot {
  margin: 14px 0 6px;
  font-weight: 700;
  text-align: center;
  color: var(--flag);
}

/* water pressure gauge (Zach 2026-11-17) */
.psi-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.psi-g { width: 180px; height: auto; }
.psi-arc { fill: none; stroke: var(--line); stroke-width: 9; stroke-linecap: round; }
.psi-ticks line { stroke: var(--muted); stroke-width: 1.4; }
.psi-g text { font: 600 8px "DM Sans", sans-serif; fill: var(--muted); }
.psi-needle { stroke: var(--flag); stroke-width: 3.2; stroke-linecap: round; }
.psi-hub { fill: var(--flag); }
.psi-wrap .stepper { width: 100%; max-width: 260px; }

/* links inside notes (Terms of Use) in the app's green, not browser blue */
.note a,
.parts-terms a {
  color: var(--flag);
  font-weight: 600;
}

/* computer screens: the plan and parts list stay a readable width instead of stretching edge to
   edge (2026-11-17 test: the plan preview filled 1440 px and the yard needed scrolling) */
@media (min-width: 900px) {
  .overlay .body { max-width: 860px; margin-left: auto; margin-right: auto; }
}
.sod {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--soft);
}
.sod > b {
  display: block;
  font: 700 17px Fraunces, Georgia, serif;
  margin-bottom: 6px;
}
