/* inspectorjay.com. Plain CSS, no build step. */

:root {
  --green: #1d7a49;
  --green-dark: #155c37;
  --green-soft: #e9f4ee;
  --ink: #15201a;
  --muted: #56625b;
  --line: #e1e7e3;
  --bg: #ffffff;
  --bg-alt: #f6f8f6;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; text-wrap: pretty; }
h2, h3 { text-wrap: balance; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 720; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-mark { color: var(--green); flex: none; }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 680px) { .top nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 620;
  border: 1.5px solid var(--green); transition: background 0.15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-sm { padding: 7px 16px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-light { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-light:hover { background: var(--green-soft); border-color: var(--green-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.eyebrow { color: var(--green); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8em; }
.accent { color: var(--green); }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.17rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 7px; }

/* The office view sits behind, the inspector's phone in front. */
.hero-shots { position: relative; padding: 0 0 64px 64px; }
.hero-shots .browser { width: 150%; max-width: none; }
.hero-shots .phone { position: absolute; left: 0; bottom: 0; width: 42%; max-width: 230px; z-index: 2; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-shots { padding: 0 0 48px 48px; }
  .hero-shots .browser { width: 100%; }
  .hero-shots .phone { width: 36%; }
}
@media (max-width: 480px) {
  .hero-shots { padding: 0 0 72px 32px; }
  .hero-shots .phone { width: 46%; }
}

/* Screens */
figure { margin: 0; }
.phone {
  border-radius: 30px; padding: 7px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 40, 30, 0.06), 0 18px 40px -18px rgba(20, 40, 30, 0.28);
}
.phone img { border-radius: 24px; }
.browser {
  border-radius: var(--radius); background: #fff; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 40, 30, 0.06), 0 22px 48px -24px rgba(20, 40, 30, 0.3);
}
.browser::before {
  content: ""; display: block; height: 26px; border-bottom: 1px solid var(--line); background:
    radial-gradient(circle, #d6ddd8 4px, transparent 4.5px) 12px 50% / 16px 16px no-repeat,
    radial-gradient(circle, #d6ddd8 4px, transparent 4.5px) 28px 50% / 16px 16px no-repeat,
    radial-gradient(circle, #d6ddd8 4px, transparent 4.5px) 44px 50% / 16px 16px no-repeat,
    #fafbfa;
}

/* Work types strip */
.work { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.work p { margin: 0; padding: 18px 0; text-align: center; color: var(--muted); font-size: 0.98rem; }
.work strong { color: var(--ink); font-weight: 620; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card .phone { max-width: 260px; margin: 0 auto 24px; }
.card p, .row-text p, .grid p { color: var(--muted); }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin: 0 auto; }
}

.callout {
  display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center;
  margin-top: 72px; padding: 36px; border-radius: var(--radius);
  background: var(--green-soft); border: 1px solid #d3e7db;
}
.callout p { color: #39463f; max-width: 40em; }
.callout p:last-child { margin-bottom: 0; }
.phone-sm { border-radius: 22px; padding: 5px; }
.phone-sm img { border-radius: 18px; }
@media (max-width: 640px) {
  .callout { grid-template-columns: 1fr; padding: 24px; }
  .callout .phone { width: 160px; }
}

.row { display: grid; grid-template-columns: 1fr 1.65fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 88px; }
.row-flip { grid-template-columns: 1.65fr 1fr; }
.row-flip .row-text { order: 2; }
@media (max-width: 900px) {
  .row, .row-flip { grid-template-columns: 1fr; gap: 24px; }
  .row-flip .row-text { order: 0; }
  .row + .row { margin-top: 64px; }
}

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: #39463f; position: relative; }
.list li:first-child { padding-top: 0; }
.list li:first-child::before { top: 3px; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.grid > div { padding: 28px 28px 20px 0; border-bottom: 1px solid var(--line); }
.grid h3 { font-size: 1.05rem; }
.grid h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--green); border-radius: 2px; margin-bottom: 14px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .grid > div { padding-right: 0; } }

/* Pricing */
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 620; }
.price-hero { padding: 72px 0 80px; }
.price-hero .lede { margin-bottom: 40px; }
.prices { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.price h2 { font-size: 1rem; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.price .amount { font-size: 2.6rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.price .amount span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price p:last-child { color: var(--muted); margin: 0; }
.price-setup { background: var(--green-soft); border-color: #d3e7db; }
.terms { margin: 24px 0 0; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; max-width: 420px; } }

.table-wrap { overflow-x: auto; }
.costs { width: 100%; max-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.costs th, .costs td { padding: 14px 20px; text-align: right; border-bottom: 1px solid var(--line); }
.costs th[scope="row"] { text-align: left; font-weight: 500; color: var(--muted); }
.costs thead th { font-size: 0.9rem; font-weight: 650; color: var(--ink); background: var(--bg-alt); }
.costs tr:last-child th, .costs tr:last-child td { border-bottom: 0; }
.costs .total th, .costs .total td { font-weight: 700; color: var(--ink); background: var(--green-soft); }
@media (max-width: 480px) { .costs th, .costs td { padding: 12px 12px; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two-col h2 { font-size: 1.6rem; margin-bottom: 24px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 56px; } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 20px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 48px; color: #39463f; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.95rem;
}
.steps strong { color: var(--ink); }
.muted { color: var(--muted); }

.summary { max-width: 720px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 28px 32px; }
.summary p { color: #39463f; }
.summary .btn { margin-top: 8px; }
.note { max-width: 720px; margin-top: 20px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 480px) { .summary { padding: 22px 20px; } }

/* Call to action */
.cta { background: var(--green); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #d7ecdf; font-size: 1.1rem; margin-bottom: 28px; }
.actions-center { justify-content: center; margin: 0; }

.foot { padding: 28px 0; color: var(--muted); font-size: 0.88rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; }
.foot p { margin: 0; }
