/* Marketing site. One stylesheet, system fonts, no external requests. */
:root {
  --green: #1E3A2B;
  --paper: #F6F5F1;
  --lime: #D8F06A;
  --ink: #17191C;
  --muted: #4A4F55;
  --line: #D4D2C9;
  --grey: #8C918C;
  --tint: #E9EFE6;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { color: var(--green); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small, figcaption, .cap { font-size: 0.9rem; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.alt { background: #fff; border-block: 1.5px solid var(--line); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1.5px solid var(--green); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: 4px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--green); text-decoration: none; }
.brand svg { width: 22px; height: 22px; stroke: var(--green); stroke-width: 3; }
.site-header nav { order: 3; width: 100%; }
.nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }

/* Buttons and tags */
.btn, .pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 700 1rem/1 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; text-decoration: none; cursor: pointer; }
.btn { min-height: 52px; padding: 0 28px; }
.btn:hover, .pill:hover { background: #12261b; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn.ghost:hover { background: var(--tint); }
.btn.lime { background: var(--lime); color: var(--green); }
.btn.lime:hover { background: #e6f79a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.tag { display: inline-block; background: var(--lime); color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.eyebrow { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 16px; }
.lede { font-size: 1.1875rem; max-width: 34em; }

/* Hero with blueprint grid */
.grid-bg {
  background:
    linear-gradient(rgba(30, 58, 43, .13) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(30, 58, 43, .13) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(30, 58, 43, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(30, 58, 43, .06) 1px, transparent 1px) 0 0 / 24px 24px;
}
.hero { position: relative; padding: 36px 0 64px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 72px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 .ln { display: block; }
.hl { background: var(--lime); padding: 0 0.12em; margin-left: -0.12em; }
.hero .note { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Hero composition: plan + phone + bid sheet */
.comp { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.4; margin: 0 auto; }
.comp .plan { position: absolute; left: 0; top: 0; width: 100%; }
.comp .phone { position: absolute; right: 0; top: 38%; width: 37%; }
.comp .sheet { position: absolute; left: 0; bottom: 0; width: 61%; }
.plan { width: 100%; height: auto; }
.plan * { vector-effect: non-scaling-stroke; }
.plan .r { fill: #fff; }
.plan .w { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linejoin: miter; }
.plan .g { fill: none; stroke: var(--grey); stroke-width: 1.5; }
.plan .gap { stroke: #fff; stroke-width: 4; }
.plan .win { fill: #fff; stroke: var(--grey); stroke-width: 1.5; }
.plan .pin { fill: var(--lime); stroke: var(--green); stroke-width: 1.5; }
.plan text { font: 700 13px -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; fill: var(--green); }
.plan .d { font-size: 11px; font-weight: 600; fill: var(--muted); }
.plan .pn { font-size: 12px; font-weight: 800; text-anchor: middle; }
.plan .sm { font-size: 10px; letter-spacing: 0.14em; fill: var(--muted); }
.plan-fig { max-width: 520px; width: 100%; margin: 0 auto; }

.phone { margin: 0; border: 5px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px -12px rgba(23, 25, 28, .4); }
.phone img { width: 100%; }
.phone-wrap { max-width: 260px; margin: 0 auto; }
.phone-wrap figcaption { margin-top: 12px; }

.sheet { background: #fff; border: 1.5px solid var(--green); border-radius: 10px; padding: 14px 16px; box-shadow: 0 14px 30px -12px rgba(23, 25, 28, .35); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.sheet-head h3 { margin: 0; font-size: 0.95rem; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.3; }
.blank { flex: 0 0 48px; height: 1em; border-bottom: 1.5px solid var(--ink); }

/* Proof strip */
.strip { background: var(--lime); color: var(--green); padding: 0; counter-reset: s; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; }
.strip li { counter-increment: s; display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; border-top: 1.5px solid rgba(30, 58, 43, .25); }
.strip li:first-child { border-top: 0; }
.strip li::before, .steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--green); border-radius: 50%; font-size: 0.875rem; font-weight: 800; color: var(--green); }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { background: var(--lime); margin-top: 2px; }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 32px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.card .media { position: relative; height: 270px; overflow: hidden; border-bottom: 1.5px solid var(--line); background: var(--paper); }
.card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.card .mini { padding: 52px 20px 16px; }
.card .corner { position: absolute; top: 14px; right: 14px; }
.card .body { padding: 20px 22px 24px; }
.card .body p:last-child { margin-bottom: 0; }
.card .n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; background: var(--lime); border: 1.5px solid var(--green); border-radius: 50%; font-size: 0.875rem; font-weight: 800; color: var(--green); }
.card.pad { padding: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-weight: 700; }
thead th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-block; padding: 4px 12px; border: 1.5px solid var(--green); border-radius: 999px; font-size: 0.875rem; font-weight: 700; color: var(--green); }
.chip.on { background: var(--green); color: #fff; }
.chip.keep { border-color: var(--grey); color: var(--muted); }
.bids { list-style: none; margin: 0; padding: 0; }
.bids li { display: grid; grid-template-columns: 74px 1fr 58px; align-items: center; gap: 10px; margin: 0; padding: 9px 0; font-size: 0.9rem; border-top: 1px solid var(--line); }
.bids b { text-align: right; }
.bar { display: block; height: 10px; background: var(--tint); border: 1px solid var(--green); }
.bar i { display: block; height: 100%; background: var(--green); }
.card .fine { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); }

/* Dark band and split layouts */
.dark { background: var(--green); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #E4EBE6; }
.split { display: grid; gap: 40px; align-items: center; }
.split.top { align-items: start; }
.scope { background: #fff; color: var(--ink); border-radius: 12px; padding: 22px; border-top: 6px solid var(--lime); }
.scope .sheet-head { margin-bottom: 14px; }
.scope .eyebrow { margin: 0 0 4px; }
.scope h3 { color: var(--green); margin: 0; font-size: 1.5rem; }
.scope table { font-size: 0.8125rem; }
.scope td:last-child { width: 20%; }
.scope td .blank { display: block; width: 100%; }

/* Final call to action */
.cta { text-align: center; }
.cta .wrap > div { padding: 40px 20px; background: #fff; border: 1.5px solid var(--green); }
.cta p { max-width: 30em; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* Lists, quotes, notices */
.tick { list-style: none; padding: 0; }
.tick li { position: relative; padding-left: 32px; }
.tick li::before { content: "\2713"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green); font-size: 0.7rem; font-weight: 800; line-height: 1; }
.quote-box { background: #fff; border: 1.5px solid var(--line); border-left: 5px solid var(--green); border-radius: 8px; padding: 22px; }
.quote-box p:last-child { margin: 0; }
.notice { background: #fff; border: 1.5px solid var(--green); border-radius: 8px; padding: 12px 16px; font-size: 0.9375rem; }
.problem { display: grid; }
.problem > div { padding: 22px; }
.problem .fix { background: var(--tint); border-top: 1.5px solid var(--line); }
.problem .eyebrow { margin-bottom: 8px; color: var(--muted); }
.problem .fix .eyebrow { color: var(--green); }
.problem p:last-child { margin: 0; }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin: 32px 0 20px; }
.screens figure { margin: 0; }
.screens figcaption { margin-top: 10px; }

details { border-top: 1.5px solid var(--line); }
details:last-of-type { border-bottom: 1.5px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 600; color: var(--green); }
details[open] summary::after { content: "\2212"; }
.answer { padding-bottom: 12px; max-width: 42em; }

/* Forms */
.form-card { background: #fff; border: 1.5px solid var(--green); border-radius: 12px; padding: 22px; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; font-weight: 700; }
.hint { font-weight: 400; color: var(--muted); }
input, select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #6B716C; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
input:focus-visible, select:focus-visible { outline-offset: 1px; }

/* Footer */
.site-footer { border-top: 1.5px solid var(--green); padding: 28px 0 40px; font-size: 0.9rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; }
.foot .brand { min-height: 44px; font-size: 1.25rem; }
.foot .brand svg { width: 18px; height: 18px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer p { max-width: 52em; margin: 12px 0 0; }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li { border-top: 0; border-left: 1.5px solid rgba(30, 58, 43, .25); padding: 28px 24px; }
  .strip li:first-child { border-left: 0; padding-left: 0; }
  .problem { grid-template-columns: 1fr 1fr; }
  .problem .fix { border-top: 0; border-left: 1.5px solid var(--line); }
  .screens { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .screens.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .cta .wrap > div { padding: 64px 40px; }
}

@media (min-width: 900px) {
  section { padding: 88px 0; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
  .hero-grid.solo { grid-template-columns: minmax(0, 52rem); }
  .site-header .wrap { flex-wrap: nowrap; }
  .site-header nav { order: 0; width: auto; }
  .nav { gap: 0 32px; }
  .nav a { font-size: 1rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .scope td { font-size: 0.875rem; }
  .cta h2 { font-size: 3.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .pill { transition: background-color .15s; }
}

/* Hero loop: five screens crossfade, 13 s (5 x 2.6 s, 0.4 s fade). Frame 2 only if reduced motion. */
.phone { display: grid; }
.phone .f { grid-area: 1 / 1; opacity: 0; }
.phone .chip { grid-area: 1 / 1; align-self: end; justify-self: center; display: grid; margin: 0 0 6%; padding: 4px 10px; max-width: 88%; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--green); font: 700 0.7rem/1.25 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; text-align: center; }
.phone .chip .f { grid-area: 1 / 1; }
@media (prefers-reduced-motion: reduce) {
  .phone .f:nth-child(2) { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone .f { animation: loop 13s linear infinite; animation-delay: calc(var(--i) * 2.6s - 0.4s); }
  .plan .pg { transform-box: fill-box; transform-origin: center; animation: pin .4s ease-out backwards; animation-delay: calc(0.3s + var(--p) * 0.6s); }
}
@keyframes loop { 0% { opacity: 0; } 3.08%, 20% { opacity: 1; } 23.08%, 100% { opacity: 0; } }
@keyframes pin { from { opacity: 0; transform: scale(0.3); } }
