/* MowRave styles.
   Colors: spruce #0F2E1C (text), turf #1F6B3A (brand), stripe #257A43, sign yellow #F6C514,
   mist #EEF3EC (soft background), line #D5DED2, white #FFFFFF, alert #B3261E.
   Type: Archivo. Headlines are narrow and heavy, like a yard sign. Body is regular width. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #FFFFFF; color: #0F2E1C;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: #1F6B3A; text-underline-offset: 3px; }
a:hover { color: #0F2E1C; }
:focus-visible { outline: 3px solid #F6C514; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-stretch: 75%; font-weight: 800; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 68ch; }
small, .small { font-size: 0.88rem; }
.muted { color: #4C5F52; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #FFFFFF; padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-block; border: 2px solid #0F2E1C; background: #FFFFFF; color: #0F2E1C;
  font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 8px; cursor: pointer;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { background: #EEF3EC; color: #0F2E1C; }
.btn-primary { background: #1F6B3A; border-color: #1F6B3A; color: #FFFFFF; }
.btn-primary:hover { background: #0F2E1C; border-color: #0F2E1C; color: #FFFFFF; }
.btn-sign { background: #F6C514; border-color: #F6C514; color: #0F2E1C; font-size: 1.1rem; padding: 14px 24px; }
.btn-sign:hover { background: #FFFFFF; border-color: #FFFFFF; }
.btn-small { padding: 6px 12px; font-size: 0.9rem; border-width: 1.5px; }
.btn-plain { border: 0; background: none; padding: 0; color: #1F6B3A; text-decoration: underline; font-weight: 400; cursor: pointer; font: inherit; }
.btn-danger { border-color: #B3261E; color: #B3261E; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Site header and footer */
.site-head { background: #FFFFFF; border-bottom: 1px solid #D5DED2; }
.site-head .wrap, .app-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { font-stretch: 75%; font-weight: 800; font-size: 1.5rem; color: #0F2E1C; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 26px; height: 26px; border-radius: 5px; background: repeating-linear-gradient(90deg, #1F6B3A 0 6px, #257A43 6px 12px); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; background: #F6C514; clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: #0F2E1C; text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav form { margin: 0; }
.site-foot { background: #0F2E1C; color: #D5DED2; margin-top: 96px; padding: 40px 0; }
.site-foot a { color: #FFFFFF; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* Hero: a mowed lawn with a yard sign planted in it */
.lawn {
  background: repeating-linear-gradient(100deg, #1F6B3A 0 84px, #257A43 84px 168px);
  color: #FFFFFF; padding: 72px 0 0; overflow: hidden;
}
.lawn .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; }
.lawn h1 { color: #FFFFFF; margin-bottom: 20px; }
.lawn .lede { font-size: 1.25rem; max-width: 34ch; margin-bottom: 28px; }
.lawn .fine { color: #E3EEE4; margin: 14px 0 64px; }
.yard-sign { justify-self: center; width: min(360px, 100%); }
.sign-face { background: #FFFFFF; color: #0F2E1C; border-radius: 10px; padding: 22px 22px 24px; box-shadow: 0 6px 0 #0F2E1C; }
.sign-face p { margin: 0 0 14px; font-size: 1.02rem; }
.sign-from { font-weight: 700; font-size: 0.9rem; color: #4C5F52; margin-bottom: 10px; }
.stars { color: #F6C514; font-size: 1.9rem; letter-spacing: 3px; line-height: 1; margin-bottom: 12px; text-shadow: 0 1px 0 #0F2E1C; }
.sign-btn { display: block; text-align: center; background: #1F6B3A; color: #FFFFFF; font-weight: 700; padding: 12px; border-radius: 8px; }
.sign-legs { display: flex; justify-content: space-between; padding: 0 64px; }
.sign-legs span { width: 10px; height: 72px; background: #D5DED2; border-radius: 0 0 2px 2px; box-shadow: inset -3px 0 0 #B8C4B6; }

/* Sections */
.section { padding: 80px 0 0; }
.section-mist { background: #EEF3EC; padding: 72px 0; margin-top: 80px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 4px solid #0F2E1C; padding-top: 16px; }
.steps li::before { content: counter(step); font-stretch: 75%; font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 8px; color: #1F6B3A; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; margin-top: 32px; }
.split h3 { margin-bottom: 6px; }
.stat { font-stretch: 75%; font-weight: 800; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.95; color: #1F6B3A; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.placeholder { border: 2px dashed #B3261E; background: #FFF6F5; color: #7A1A14; padding: 16px 18px; border-radius: 8px; font-size: 0.95rem; margin: 24px 0; }
.cta-band { background: #0F2E1C; color: #FFFFFF; padding: 56px 0; margin-top: 88px; }
.cta-band h2 { color: #FFFFFF; }
.cta-band + .site-foot { margin-top: 0; border-top: 1px solid #1F6B3A; }
.faq-list { margin-top: 24px; border-top: 2px solid #0F2E1C; }
.faq-list details { border-bottom: 1px solid #D5DED2; padding: 16px 0; }
.faq-list summary { font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.faq-list details p { margin: 10px 0 0; }
.page-head { background: #EEF3EC; padding: 56px 0 44px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head p { font-size: 1.15rem; margin: 0; }
.prose { padding-top: 40px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.plan { border: 2px solid #0F2E1C; border-radius: 12px; padding: 28px; background: #FFFFFF; }
.plan-pro { background: #0F2E1C; color: #FFFFFF; }
.plan-pro .muted { color: #C9D6CB; }
.plan-pro .btn { background: #F6C514; border-color: #F6C514; }
.price { font-stretch: 75%; font-weight: 800; font-size: 3.4rem; line-height: 1; margin: 8px 0 4px; }
.price span { font-size: 1.1rem; font-weight: 600; font-stretch: 100%; }
.plan ul { padding-left: 1.1em; margin: 18px 0 24px; }
.plan li { margin-bottom: 6px; }

/* Tables */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid #D5DED2; vertical-align: top; }
th { font-weight: 700; border-bottom: 2px solid #0F2E1C; white-space: nowrap; }
td.actions { white-space: nowrap; text-align: right; padding-right: 0; }
td.actions form { display: inline; }

/* App shell */
.app-head { border-bottom: 1px solid #D5DED2; }
.app-main { padding: 36px 0 80px; }
.app-main h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.banner { background: #EEF3EC; border-left: 5px solid #1F6B3A; padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 24px; }
.banner-warn { background: #FFF8DB; border-left-color: #F6C514; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.flash-ok { background: #E4F3E7; border: 1px solid #1F6B3A; }
.flash-error { background: #FFF6F5; border: 1px solid #B3261E; color: #7A1A14; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid #0F2E1C; border-radius: 12px; margin: 28px 0 40px; overflow: hidden; }
.tile { padding: 20px; border-right: 1px solid #D5DED2; }
.tile:last-child { border-right: 0; }
.tile-num { font-stretch: 75%; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.tile-label { font-size: 0.92rem; color: #4C5F52; margin-top: 6px; }
.panel { border: 1px solid #D5DED2; border-radius: 12px; padding: 24px; margin-bottom: 28px; }
.panel h2 { font-size: 1.5rem; }
.empty { border: 2px dashed #D5DED2; border-radius: 12px; padding: 36px 24px; text-align: center; }
.empty p { margin-inline: auto; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.82rem; font-weight: 700; background: #EEF3EC; }
.chip-clicked { background: #1F6B3A; color: #FFFFFF; }
.chip-asked { background: #FFF1B8; }
.chip-unsubscribed { background: #FFF6F5; color: #7A1A14; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border: 2px solid #0F2E1C; border-radius: 50%; }
.checklist li.done::before { background: #1F6B3A; border-color: #1F6B3A; }
.checklist li.done { color: #4C5F52; text-decoration: line-through; }
.progress { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-weight: 700; font-size: 0.92rem; }
.progress li { flex: 1; border-top: 5px solid #D5DED2; padding-top: 8px; color: #4C5F52; }
.progress li.on { border-top-color: #1F6B3A; color: #0F2E1C; }
.bubble { background: #EEF3EC; border-radius: 16px 16px 16px 4px; padding: 14px 16px; white-space: pre-wrap; max-width: 44ch; }
.mail { border: 1px solid #D5DED2; border-radius: 10px; padding: 18px; white-space: pre-wrap; background: #FFFFFF; }

/* Forms */
label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { font-weight: 400; color: #4C5F52; font-size: 0.9rem; display: block; margin-top: 2px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], textarea, select {
  width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid #6F8275; border-radius: 8px; background: #FFFFFF; color: #0F2E1C;
}
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inline { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.auth { padding: 56px 0 0; }
.hp { position: absolute; left: -9999px; }

/* QR card */
.qr-card { border: 2px solid #0F2E1C; border-radius: 14px; padding: 28px; width: min(380px, 100%); text-align: center; background: #FFFFFF; }
.qr-card svg { width: 220px; height: 220px; }
.qr-card h2 { font-size: 1.7rem; margin-bottom: 4px; }

@media (max-width: 820px) {
  .lawn .wrap, .split, .plans, .two-col, .steps, .fact { grid-template-columns: 1fr; }
  .lawn { padding-top: 48px; }
  .lawn .fine { margin-bottom: 32px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:nth-child(2) { border-right: 0; }
  .tile:nth-child(-n+2) { border-bottom: 1px solid #D5DED2; }
  .row { grid-template-columns: 1fr; }
  td.actions { white-space: normal; }
}
@media print {
  .app-head, .no-print, .site-foot { display: none !important; }
  .qr-card { border-width: 3px; margin: 40px auto; }
}
