/* Curbkeeper. Palette from the street: asphalt, concrete, painted-curb yellow, cart-lid blue and green. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fonts/bricolagegrotesque-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(/fonts/bricolagegrotesque-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/publicsans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/publicsans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --frost: #edf1f2;
  --paper: #ffffff;
  --ink: #1b2126;
  --muted: #4a555c;
  --line: #d6dde0;
  --blue: #1d5fd1;
  --blue-dark: #174daa;
  --blue-soft: #e4edfb;
  --yellow: #f4c430;
  --yellow-soft: #fdf3cc;
  --concrete: #c9d1d4;
  --concrete-dark: #aeb8bc;
  --green: #2d7a4b;
  --green-soft: #e1f1e7;
  --red: #b3261e;
  --red-soft: #fbe5e3;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(27, 33, 38, 0.06), 0 8px 24px rgba(27, 33, 38, 0.06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--frost); color: var(--ink); font: 1.0625rem/1.6 var(--body); }
img, svg { max-width: 100%; display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--blue-dark); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* Type */
h1, h2, h3 { margin: 0; }
.display { font: 800 clamp(2.6rem, 7vw, 5.2rem)/0.98 var(--display); letter-spacing: -0.03em; }
.page-title { font: 800 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--display); letter-spacing: -0.02em; margin: 1.5rem 0 1rem; }
.section-title { font: 800 clamp(1.8rem, 3.6vw, 2.5rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.kicker { font: 700 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 0.75rem; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.75rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.narrow h2 { font: 700 1.3rem/1.3 var(--body); margin: 2rem 0 0.4rem; }
.narrow p, .narrow li { color: var(--ink); }

/* Header */
.site { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font: 800 1.45rem/1 var(--display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand .mark { width: 2rem; height: 2rem; }
.nav { display: flex; align-items: center; gap: 0.25rem 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0.1rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav .btn { white-space: nowrap; }
.lang { font: 600 0.92rem/1 var(--body); color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 0.5rem 0.75rem; cursor: pointer; }
.lang:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 0.45rem 0.6rem; font: 600 0.92rem/1 var(--body); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: 700 1.05rem/1 var(--body); color: #fff; background: var(--blue); border: 2px solid var(--blue); border-radius: var(--radius); padding: 0.85rem 1.4rem; min-height: 3.1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-yellow:hover { background: #e9b81a; border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--blue-dark); border-color: transparent; padding-left: 0.4rem; padding-right: 0.4rem; }
.btn-ghost:hover { background: var(--blue-soft); border-color: transparent; }
.btn-sm { min-height: 2.4rem; padding: 0.5rem 0.9rem; font-size: 0.95rem; }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-danger:hover { background: #8f1d17; border-color: #8f1d17; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: 1.25rem; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.hero-proof li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 0.4rem; }

/* Postal plate: the page's one memorable object, a painted curb address. */
.plate { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.plate-field { background: var(--yellow); border: 3px solid var(--ink); border-radius: 6px; padding: 0.45rem 1rem 0.55rem; min-width: 15rem; flex: 1 1 15rem; max-width: 20rem; }
.plate-field:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.plate-field label { display: block; font: 600 0.85rem/1.3 var(--body); margin-bottom: 0.05rem; }
.plate-field input { width: 100%; border: 0; background: transparent; color: var(--ink); font: 800 2rem/1.15 var(--display); letter-spacing: 0.06em; text-transform: uppercase; outline: none; }
.plate-field input::placeholder { color: rgba(27, 33, 38, 0.4); }
.error { color: var(--red); font-weight: 600; min-height: 1.6em; margin: 0.5rem 0 0; }
.result { margin-top: 1rem; max-width: 36rem; font-size: 1.1rem; padding: 0.75rem 1rem; border-left: 6px solid var(--yellow); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.result[data-state="active"] { border-left-color: var(--green); }
.result .btn { margin-top: 0.75rem; }
.is-new { animation: settle 0.35s ease-out; }
@keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Trust band */
.band { background: var(--ink); color: #fff; padding: 1rem 0; }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; font-weight: 600; font-size: 0.95rem; }
.band li::before { content: "●"; color: var(--yellow); margin-right: 0.5rem; font-size: 0.7em; vertical-align: middle; }

/* Curb separator */
.curb { height: 1.25rem; background: linear-gradient(var(--concrete) 0 60%, var(--concrete-dark) 60% 100%); border-top: 3px solid #e2e8ea; }

/* Sections */
.section { padding: 3.5rem 0 1.5rem; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card h3 { font: 700 1.15rem/1.3 var(--body); margin: 0 0 0.4rem; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 50%; margin-bottom: 0.9rem; font-size: 1.2rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps li { padding: 0 1.5rem 0 0; counter-increment: step; }
.steps li + li { padding-left: 1.5rem; border-left: 2px solid var(--concrete); }
.steps h3 { font: 700 1.2rem/1.3 var(--body); margin: 0 0 0.4rem; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: 0.6rem; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; font: 800 1rem/1 var(--display); }
.steps p { margin: 0; color: var(--muted); max-width: 24rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan.is-popular { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -0.9rem; left: 1.4rem; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 0.2rem 0.7rem; font: 700 0.78rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.06em; }
.plan h3 { font: 800 1.4rem/1.1 var(--display); margin: 0 0 0.2rem; }
.plan .price { font: 800 2.8rem/1 var(--display); letter-spacing: -0.03em; margin: 0.6rem 0 0.1rem; }
.plan .price small { font: 600 0.95rem/1 var(--body); color: var(--muted); letter-spacing: 0; }
.plan .tax-note { color: var(--muted); font-size: 0.9rem; min-height: 1.4em; margin: 0 0 1rem; }
.plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.45rem; flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "–"; color: var(--concrete-dark); }
.plan .btn { width: 100%; }
.plan-enterprise { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center; background: var(--blue-soft); border-color: transparent; }
.plan-enterprise h3 { margin-bottom: 0.3rem; }
.plan-enterprise p { margin: 0; color: var(--ink); }
.pricing-notes { margin: 1.25rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; color: var(--muted); font-size: 0.95rem; }
.pricing-notes li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 0.4rem; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 700; background: var(--frost); }
.compare td:nth-child(2) { font-weight: 600; }
.compare .yes::before { content: "✓ "; color: var(--green); font-weight: 800; }
.compare .no { color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq details { border-top: 2px solid var(--concrete); padding: 0.9rem 0; }
.faq details:last-of-type { border-bottom: 2px solid var(--concrete); }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.faq details p { margin: 0.6rem 0 0; color: var(--muted); }

/* CTA panel */
.cta { background: var(--ink); color: #fff; border-radius: 12px; padding: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; margin: 1.5rem 0; }
.cta h2 { font: 800 clamp(1.7rem, 3.2vw, 2.4rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.cta p { margin: 0; color: #cfd6da; }
.cta .btn-yellow { border-color: var(--yellow); }
.cta.cta-yellow { background: var(--yellow); color: var(--ink); }
.cta.cta-yellow p { color: var(--ink); }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 0.7rem 0.8rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: 0.2rem; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 0.9rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; background: var(--paper); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.success { max-width: 40rem; font-size: 1.1rem; padding: 1rem 1.25rem; border-left: 6px solid var(--green); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.notice { padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid #e7cf6e; }
.notice.ok { background: var(--green-soft); border-color: #a9d3b8; }
.notice.bad { background: var(--red-soft); border-color: #e7a9a4; }

/* Signup stepper */
.stepper { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: s; flex-wrap: wrap; }
.stepper li { counter-increment: s; display: flex; align-items: center; gap: 0.45rem; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.stepper li::before { content: counter(s); display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--concrete-dark); font: 800 0.85rem/1 var(--display); }
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"]::before { background: var(--yellow); border-color: var(--ink); }
.stepper li.done::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.stepper li + li { margin-left: 0.5rem; }
.step-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 0.5rem; }
.plan-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan-pick .plan { cursor: pointer; }
.plan-pick .plan input { position: absolute; opacity: 0; }
.plan-pick .plan:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.6rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; }
.summary .total { border-top: 2px solid var(--line); padding-top: 0.6rem; font-weight: 700; }

/* App shells (account, keeper, admin) */
.app { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem 3rem; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; }
.app h1 { font: 800 1.9rem/1.1 var(--display); letter-spacing: -0.02em; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.panel h2 { font: 700 1.2rem/1.3 var(--body); margin: 0 0 0.75rem; }
.panel h3 { font: 700 1.02rem/1.3 var(--body); margin: 1rem 0 0.4rem; }
.row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.row-between { justify-content: space-between; }
.tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--frost); border: 1px solid var(--line); }
.tag.ok { background: var(--green-soft); border-color: #a9d3b8; color: var(--green); }
.tag.warn { background: var(--yellow-soft); border-color: #e7cf6e; }
.tag.bad { background: var(--red-soft); border-color: #e7a9a4; color: var(--red); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); align-items: start; }
.timeline img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.timeline .ph { width: 4.5rem; height: 4.5rem; border-radius: 6px; background: var(--frost); display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; }
.stat { display: grid; gap: 0.2rem; }
.stat b { font: 800 1.8rem/1 var(--display); }
.stat span { color: var(--muted); font-size: 0.9rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-bottom: 1rem; border-bottom: 2px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0.6rem 0.9rem; font: 600 0.98rem/1 var(--body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--yellow); }

/* Keeper app */
.run-stop { border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 0.9rem; background: var(--paper); }
.run-stop[data-status="done"] { border-color: var(--green); background: var(--green-soft); }
.run-stop[data-status="exception"] { border-color: var(--red); background: var(--red-soft); }
.run-stop[data-status="skipped"] { opacity: 0.6; }
.run-stop .addr { font: 800 1.25rem/1.2 var(--display); }
.run-stop .meta { color: var(--muted); margin: 0.2rem 0 0.6rem; }
.run-stop .secret { font: 700 1.1rem/1.4 var(--body); background: var(--yellow-soft); border: 1px dashed var(--ink); border-radius: 6px; padding: 0.4rem 0.7rem; display: inline-block; }
.run-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.75rem; }
.run-actions .btn { min-height: 3.4rem; font-size: 1.1rem; }
.offline-bar { background: var(--yellow); border-bottom: 2px solid var(--ink); padding: 0.5rem 1.25rem; font-weight: 600; text-align: center; }

/* Footer */
.site-footer { border-top: 2px solid var(--concrete); margin-top: 3rem; padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font: 700 0.85rem/1 var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art { order: -1; max-width: 22rem; }
  .grid-3, .grid-4, .plans, .plan-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 1.25rem; right: 1.25rem; top: 4.4rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem; flex-direction: column; align-items: stretch; gap: 0.25rem; z-index: 20; }
  .nav.open { display: flex; }
  .site { position: relative; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .plans, .plan-pick, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li, .steps li + li { padding: 1rem 0 0; border-left: 0; border-top: 2px solid var(--concrete); }
  .plate-field { flex: 1 1 100%; max-width: none; }
  .plate .btn { flex: 1 1 100%; }
  .cta, .plan-enterprise { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 3.5rem 1fr; }
  .run-actions { grid-template-columns: 1fr; }
  .hero-proof { display: grid; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media print { .site, .site-footer, .btn, .lang { display: none !important; } body { background: #fff; } }

/* Touch: every control is at least 44px tall on coarse pointers (phones, tablets). */
@media (pointer: coarse) {
  .btn-sm, .lang, .nav-toggle, .chip span, .tabs button { min-height: 2.75rem; }
  .field input, .field select, .field textarea, .plate-field input { min-height: 2.75rem; }
  .check input { width: 1.6rem; height: 1.6rem; }
}

/* Keeper app at 6 a.m.: dark scheme when the device asks for it, so the screen does not glare in the lane. */
@media (prefers-color-scheme: dark) {
  body[data-app="keeper"] { --frost: #14181b; --paper: #1e2429; --ink: #edf1f2; --muted: #aeb8bc; --line: #2f383e; --blue-soft: #1a2a45; --yellow-soft: #3a3214; --green-soft: #16311f; --red-soft: #3a1c19; --concrete: #2f383e; --concrete-dark: #3b454c; }
  body[data-app="keeper"] .btn-secondary { color: var(--ink); border-color: var(--ink); }
  body[data-app="keeper"] .run-stop .secret { color: #1b2126; background: var(--yellow); border-color: var(--yellow); }
  body[data-app="keeper"] .offline-bar { color: #1b2126; }
  body[data-app="keeper"] .tag.ok { color: #7fd09a; }
  body[data-app="keeper"] .tag.bad { color: #ff9a92; }
}
