/* Landscaper Go marketing site. Colors and fonts are the app's (app repo: src/styles/demo.css),
   so the site and the app look like one product. Phone first; readable in bright sun. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --bg: #f4f3f0; --surface: #ffffff; --surface-2: #efeee9; --line: #e0ded7; --ink: #1d1f1e; --muted: #5d6061;
  --brand: #3f6b5a; --brand-ink: #ffffff; --brand-soft: #e3ece7; --good: #1d7337; --warn: #9a5609; --warn-soft: #fbecd5;
  --shadow: 0 1px 2px rgba(29,31,30,.06), 0 4px 14px rgba(29,31,30,.07);
  --display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --r: 12px; --wide: 1120px;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #141515; --surface: #1c1d1d; --surface-2: #242626; --line: #333535; --ink: #ecebe7; --muted: #b0b2af;
  --brand: #7fb09a; --brand-ink: #0f1513; --brand-soft: #23302b; --good: #49b46a; --warn: #e3a040; --warn-soft: #3a2c15;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.3); color-scheme: dark; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 56px); }
h2 { font-size: clamp(26px, 4.5vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid #2b64c4; outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: var(--body); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tbd { background: var(--warn-soft); color: var(--warn); border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* Ribbons and banners */
.preview-ribbon { margin: 0; background: var(--warn-soft); color: var(--warn); text-align: center; font-size: 14px; font-weight: 600; padding: 6px 12px; }
.draft { background: var(--warn-soft); color: var(--warn); border-radius: var(--r); padding: 14px 16px; font-weight: 600; margin: 0 0 24px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.logo b { color: var(--brand); }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; stroke: var(--brand-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { margin-left: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; flex-direction: column; gap: 4px; }
.site-nav.open { display: flex; }
.site-nav a { padding: 12px 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 8px; }
.site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
.site-nav .btn { margin-top: 6px; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; margin-left: auto; padding: 0; border: 0; gap: 6px; }
  .site-nav .login { margin-left: 10px; }
  .site-nav .btn { margin: 0 0 0 6px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 700 17px var(--body); text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Sections */
main { display: block; }
.section { padding: 48px max(16px, calc((100% - var(--wide)) / 2)); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.hero { padding-top: 40px; }
.lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--muted); max-width: 720px; }
.eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.grid2 { display: grid; gap: 28px; align-items: center; }
.grid3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } .grid2.flip > :first-child { order: 2; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: baseline; }
.steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.ticks, .strip { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li, .strip li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ico, .strip .ico { color: var(--good); margin-top: 3px; }
.ticks li:not(:has(svg))::before { content: "✓"; color: var(--good); font-weight: 700; }
.strip { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }

/* Screenshots, placeholders and clip slots */
.shot { margin: 0; }
.shot img { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); margin-inline: auto; max-height: 640px; width: auto; }
.shot figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.placeholder, .clip { border: 2px dashed var(--line); border-radius: 18px; background: var(--surface-2); display: grid; place-content: center; text-align: center; gap: 4px; padding: 24px; min-height: 260px; }
.placeholder span, .clip span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.placeholder b, .clip b { font-family: var(--display); font-size: 22px; }
.placeholder small { color: var(--muted); }
.placeholder.soon { background: var(--warn-soft); border-color: var(--warn); }
.placeholder.soon span { color: var(--warn); }
.clip { min-height: 180px; margin-top: 16px; }

/* Pricing */
.toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 4px; margin: 8px 0 24px; }
.toggle button { border: 0; background: none; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 700 16px var(--body); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.toggle em { font-style: normal; color: var(--good); font-weight: 700; }
.plans { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 8px; margin-inline: -4px; }
.plan { position: relative; flex: 0 0 84%; scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--brand); order: -1; }
.plan .badge { position: absolute; top: -12px; left: 18px; background: var(--brand); color: var(--brand-ink); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.plan .who { color: var(--muted); margin: 0 0 10px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan .price b { font-family: var(--display); font-size: 44px; }
.plan .per-truck { font-size: 14px; color: var(--good); font-weight: 600; margin-top: 2px; }
.plan .ticks { margin: 16px 0; flex: 1; font-size: 16px; }
@media (min-width: 900px) { .plans { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); } .plan { flex: auto; } .plan.popular { order: 0; } }
.enterprise { text-align: center; margin-top: 14px; }
.banner { background: var(--brand-soft); border-radius: var(--r); padding: 18px 20px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-family: var(--display); font-size: 18px; }
.compare tbody th { font-weight: 600; }
.compare .yes .ico { color: var(--good); }
.compare .no { color: var(--muted); }
details.more { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0 16px; }
details.more > summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; }

/* Calculator */
.calc { display: grid; gap: 18px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.2fr; } }
.calc label { display: grid; gap: 6px; font-weight: 600; }
.calc input { font: 600 20px var(--body); min-height: 52px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: var(--surface); color: var(--ink); width: 100%; }
.calc .fields { display: grid; gap: 14px; }
.result { display: grid; gap: 10px; }
.result .row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.result .save { font-family: var(--display); font-size: 30px; color: var(--good); }

/* FAQ and forms */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 48px; }
form.card { display: grid; gap: 14px; max-width: 560px; }
form label { display: grid; gap: 6px; font-weight: 600; }
form input, form select, form textarea { font: 17px var(--body); min-height: 50px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface); color: var(--ink); }
.hidden-field { display: none; }

/* Legal */
.prose { max-width: 760px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; margin: 0 0 1em; }
address { font-style: normal; }
.business { line-height: 1.6; margin-top: 10px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 36px 16px 20px; }
.foot-in { max-width: var(--wide); margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot nav { display: grid; gap: 6px; align-content: start; }
.foot nav a { color: var(--ink); min-height: 32px; }
.foot-note { max-width: var(--wide); margin: 24px auto 0; }
