/* Home page only (site/index.html), loaded after site.css. Layout follows the pattern landscaping owners know from
   Jobber, LMN, Aspire and Housecall Pro: dark hero with the product, feature tabs, price, call to action.
   Bump the ?v= in index.html when editing this file. */

.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 16px; }

/* Hero */
.hp-hero { background: radial-gradient(1200px 500px at 85% 10%, var(--g800), transparent 60%), var(--g900); color: #fff; overflow: hidden; }
.hp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding: 72px 0 84px; }
.hp-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.06; margin: 0 0 20px; font-weight: 800; }
.hp-hero .hp-sub { font-size: 1.2rem; line-height: 1.55; color: #d6e5da; margin: 0 0 28px; max-width: 34em; }
.hp-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: #d6e5da; font-size: .95rem; }
.hp-checks li { display: flex; align-items: center; gap: 8px; }
.hp-checks li.hp-check-row { flex-basis: 100%; }
.hp-checks svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 3; flex: none; }

.hp-visual { min-width: 0; }
.hp-stage { position: relative; padding: 24px 0 40px 28px; }
.hp-frame { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }
.hp-frame-bar { height: 26px; background: #eef1ee; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.hp-shot { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; position: relative; }
.hp-shot:focus-visible, .hp-shot-nav:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.hp-zoom {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: rgba(13,38,24,.86); color: #fff; font-weight: 700; font-size: .9rem;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.hp-zoom svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.hp-shot:hover .hp-zoom, .hp-shot:focus-visible .hp-zoom { opacity: 1; }
.hp-shot-nav {
  position: absolute; top: calc(50% + 13px); transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; padding: 0;
  border: 0; background: rgba(13,38,24,.82); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.hp-shot-nav:hover { background: var(--g600); }
.hp-shot-nav svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-shot-nav.prev { left: 10px; }
.hp-shot-nav.next { right: 10px; }
.hp-shot-caption { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 0 28px; color: #eef5f0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.hp-shot-caption span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hp-shot-caption b { flex: none; color: var(--lime); font-size: .9rem; font-variant-numeric: tabular-nums; }

.hp-lb-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.hp-lb-btn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Screenshot viewer */
.hp-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,22,14,.97); color: #fff; }
.hp-lb::backdrop { background: rgba(8,22,14,.6); }
.hp-lb[open] { display: flex; align-items: center; justify-content: center; }
.hp-lb figure { margin: 0; padding: 56px 72px 24px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hp-lb img { display: block; max-width: min(1440px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.hp-lb figcaption { display: flex; gap: 16px; justify-content: space-between; width: 100%; max-width: 1440px; color: #d6e5da; font-size: .95rem; }
.hp-lb .num { flex: none; color: var(--lime); font-weight: 700; }
.hp-lb-btn { position: absolute; width: 46px; height: 46px; }
.hp-lb-btn:hover { background: rgba(255,255,255,.2); }
.hp-lb-btn.close { top: 12px; right: 14px; }
.hp-lb-btn.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.hp-lb-btn.next { right: 14px; top: 50%; transform: translateY(-50%); }
.hp-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6d0; }
.hp-frame img { display: block; width: 100%; height: auto; }
.hp-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 16px 36px rgba(0,0,0,.28); font-size: .85rem; line-height: 1.35; min-width: 210px;
}
.hp-float .k { font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hp-float .t { font-weight: 700; margin-top: 2px; }
.hp-float .v { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.hp-float .amt { font-size: 1.15rem; font-weight: 800; }
.hp-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: #e3f3e6; color: var(--g700); }
.hp-pill.warn { background: #fdf0d8; color: #8a5a00; }
.hp-pill.muted { background: #eef1ee; color: #4d5b52; }
.hp-float { max-width: 290px; }
.hp-float[hidden] { display: none; }
.hp-float.swap { animation: hp-card-in .3s ease-out; }
@keyframes hp-card-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hp-float.swap { animation: none; } }
.hp-float.f1 { left: -8px; bottom: 0; }
.hp-float.f2 { right: -14px; top: 0; }
.hp-float.f3 { right: 18px; bottom: -6px; }

/* Facts band */
.hp-facts { background: #fff; border-bottom: 1px solid var(--line); }
.hp-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-fact { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.hp-fact:first-child { border-left: 0; }
.hp-fact b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--g700); letter-spacing: -0.02em; }
.hp-fact span { color: var(--muted); font-size: .95rem; }

/* Sections */
.hp-section { padding: 88px 0; }
.hp-section.cream { background: var(--cream); }
.hp-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.hp-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.hp-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.hp-head .hp-eyebrow { color: var(--g600); }

/* Workflow strip */
.hp-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.hp-flow li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; position: relative; }
.hp-flow .ic { width: 44px; height: 44px; border-radius: 10px; background: #e7f3ea; display: grid; place-items: center; margin-bottom: 12px; }
.hp-flow .ic svg { width: 22px; height: 22px; stroke: var(--g600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-flow h3 { margin: 0 0 4px; font-size: 1.05rem; }
.hp-flow p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* Feature tabs */
.hp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.hp-tab {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  border: 1px solid #c9d3cb; background: #fff; color: var(--ink);
}
.hp-tab:hover { border-color: var(--g600); }
.hp-tab[aria-selected="true"] { background: var(--g900); border-color: var(--g900); color: #fff; }
.hp-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(13,38,24,.07); }
.hp-panel[hidden] { display: none; }
.hp-panel-copy { padding: 40px 36px; background: var(--g900); color: #fff; display: flex; flex-direction: column; }
.hp-panel-copy h3 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; }
.hp-panel-copy p { color: #d6e5da; margin: 0 0 18px; }
.hp-panel-copy ul { list-style: none; padding: 0; margin: 0 0 24px; }
.hp-panel-copy li { display: flex; gap: 10px; margin: 0 0 10px; color: #eef5f0; }
.hp-panel-copy li svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 3; flex: none; margin-top: 3px; }
.hp-panel-copy a.more { margin-top: auto; color: var(--lime); font-weight: 700; text-decoration: none; }
.hp-panel-copy a.more:hover { text-decoration: underline; }
.hp-panel-shot { background: #eef1ee; padding: 22px; display: flex; align-items: center; }
.hp-panel-shot img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 8px 24px rgba(13,38,24,.14); }

/* Why cards */
.hp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: #fff; }
.hp-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }
.hp-card .ic svg { width: 24px; height: 24px; stroke: var(--g950); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.hp-card p { margin: 0; color: var(--muted); }

/* Pricing band */
.hp-price { background: var(--g950); color: #fff; }
.hp-price .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hp-price h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
.hp-price p { color: #c9dccf; font-size: 1.1rem; margin: 0 0 24px; }
.hp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-plan { background: #fff; color: var(--ink); border-radius: 14px; padding: 26px 24px; }
.hp-plan.alt { background: var(--g800); color: #fff; }
.hp-plan .name { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); }
.hp-plan.alt .name { color: var(--lime); }
.hp-plan .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 2px; }
.hp-plan .amt small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.hp-plan.alt .amt small { color: #c9dccf; }
.hp-plan p { margin: 8px 0 0; font-size: .95rem; color: var(--muted); }
.hp-plan.alt p { color: #c9dccf; }
.hp-price .hp-examples { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; color: #c9dccf; font-size: 1rem; font-weight: 600; }

/* More areas */
.hp-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0 0 28px; }
.hp-more a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; height: 100%;
}
.hp-more a:hover { border-color: var(--g600); color: var(--g700); }
.hp-more a::after { content: "→"; color: var(--g600); }
.hp-center { text-align: center; }

/* Final CTA */
.hp-cta { padding: 88px 0; }
.hp-cta-box { background: var(--lime); border-radius: 20px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.hp-cta-box h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; color: var(--g950); font-weight: 800; }
.hp-cta-box p { margin: 0; color: #2c4a35; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 960px) {
  .hp-hero .wrap, .hp-price .wrap { grid-template-columns: 1fr; }
  .hp-hero .wrap { padding: 48px 0 56px; gap: 28px; }
  .hp-stage { padding: 0 0 70px; }
  .hp-shot-caption { margin-left: 0; }
  .hp-float.f2 { display: none; }
  .hp-flow { grid-template-columns: repeat(2, 1fr); }
  .hp-panel { grid-template-columns: 1fr; }
  .hp-panel-copy { order: 2; }
  .hp-why { grid-template-columns: 1fr; }
  .hp-more { grid-template-columns: repeat(2, 1fr); }
  .hp-facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .hp-fact:nth-child(3) { border-left: 0; }
  .hp-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hp-section { padding: 60px 0; }
  .hp-hero .hp-sub { font-size: 1.08rem; }
  .hp-float { min-width: 0; font-size: .8rem; padding: 10px 12px; }
  .hp-float.f1 { display: none; }
  .hp-stage { padding-bottom: 56px; }
  .hp-zoom { display: none; }
  .hp-shot-caption { min-height: 2.8em; font-size: .9rem; gap: 10px; }
  .hp-shot-caption span { white-space: normal; }
  .hp-shot-nav { width: 34px; height: 34px; }
  .hp-shot-nav.prev { left: 6px; }
  .hp-shot-nav.next { right: 6px; }
  .hp-lb figure { padding: 60px 12px 76px; }
  .hp-lb img { max-height: calc(100vh - 180px); }
  .hp-lb-btn.prev, .hp-lb-btn.next { top: auto; bottom: 16px; transform: none; }
  .hp-float.f3 { right: 0; bottom: 0; }
  .hp-flow { grid-template-columns: 1fr; }
  .hp-plans { grid-template-columns: 1fr; }
  .hp-more { grid-template-columns: 1fr; }
  .hp-panel-copy { padding: 28px 22px; }
  .hp-panel-shot { padding: 12px; }
  .hp-cta { padding: 60px 0; }
  .hp-cta-box { padding: 36px 24px; }
  .hp-fact b { font-size: 1.5rem; }
}

@media (max-width: 560px) {
  .hp-actions .hp-btn, .hp-cta-box .hp-btn { flex: 1 1 100%; }
}
