/* AuditPro marketing site. Plain CSS, no build step beyond cache-busting. */

:root {
    --green: #9ccb52;          /* logo green */
    --green-ink: #4f7a16;      /* text/button green, 5:1 on white */
    --green-ink-hover: #416512;
    --green-soft: #f2f8e8;
    --sky: #abddf1;            /* logo blue */
    --sky-soft: #eef8fc;
    --ink: #17181c;
    --ink-2: #2b2e35;
    --muted: #5b616e;
    --line: #e4e7ec;
    --bg: #ffffff;
    --bg-tint: #f6f8f4;
    --dark: #121619;
    --dark-2: #1b2126;
    --dark-line: #2c343b;
    --dark-muted: #a9b2ba;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -8px rgba(16, 24, 40, .14);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 32px 64px -16px rgba(16, 24, 40, .28);
    --header-h: 68px;
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-primary { background: var(--green-ink); color: #fff; }
.btn-primary:hover { background: var(--green-ink-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9ced6; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.06rem; }

.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand img { width: 140px; height: auto; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:hover { background: var(--bg-tint); color: var(--ink); }
.site-nav .nav-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.link-quiet { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.link-quiet:hover { color: var(--green-ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .header-login { display: none; }
    .header-actions { margin-left: auto; }
    .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(16, 24, 40, .2); display: none; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 8px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .site-nav a:last-child { border-bottom: 0; }
    .site-nav .nav-login { display: block; color: var(--green-ink); font-weight: 600; }
}
@media (max-width: 400px) { .brand img { width: 118px; } .header-actions .btn-sm { padding: 0 12px; } }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; background:
    radial-gradient(1100px 520px at 85% -10%, var(--sky-soft), transparent 70%),
    radial-gradient(800px 480px at -10% 20%, var(--green-soft), transparent 70%); }
.hero-inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 961px) { .hero { padding: 80px 0 96px; } .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; } }
.hero-copy h1 { max-width: 15ch; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .94rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; flex: none; 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.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-visual { position: relative; padding: 0 0 40px 0; }
@media (min-width: 961px) { .hero-visual { padding: 0 0 48px 56px; } }
.browser-hero { margin: 0; }
.phone-hero { position: absolute; left: 0; bottom: 0; width: 26%; min-width: 108px; max-width: 190px; }
@media (max-width: 960px) { .phone-hero { left: auto; right: 4%; width: 24%; } }

/* Device frames */
.browser { margin: 0; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4d7dd; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: .76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; }
.browser[data-zoom], [data-zoom-src] { cursor: zoom-in; }
.phone { margin: 0; padding: 7px; border-radius: 34px; background: #111; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 27px; width: 100%; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip-inner div { padding: 22px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner div:nth-child(2n) { border-right: 0; }
.strip-inner div:nth-child(n+3) { border-bottom: 0; }
.strip strong { font-size: 1.12rem; letter-spacing: -0.01em; }
.strip span { color: var(--muted); font-size: .93rem; line-height: 1.4; }
@media (min-width: 861px) {
    .strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .strip-inner div { padding: 28px 24px; border-bottom: 0; border-right: 1px solid var(--line); }
    .strip-inner div:nth-child(2n) { border-right: 1px solid var(--line); }
    .strip-inner div:last-child { border-right: 0; }
}

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 961px) { .section { padding: 112px 0; } }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-lead { font-size: 1.12rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 861px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.steps li { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); font-weight: 800; }

/* Field app */
.phones { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; margin: 0 -4px 40px; }
.phones::-webkit-scrollbar { height: 6px; }
.phones::-webkit-scrollbar-thumb { background: #d6dbd0; border-radius: 3px; }
.phone-card { margin: 0; scroll-snap-align: start; }
.phone-card .phone { max-width: 260px; margin: 0 auto 18px; }
.phone-card figcaption { max-width: 260px; margin: 0 auto; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.phone-card figcaption strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
@media (min-width: 1000px) { .phones { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
.split + .split { margin-top: 80px; }
@media (min-width: 961px) {
    .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
    .split-reverse .split-copy { order: 2; }
}
.split-copy h3 { margin-top: 1.6em; }
.split-copy h3:first-child { margin-top: 0; }
.split-copy p { color: var(--muted); }
.split-copy .eyebrow + h2 { margin-bottom: .4em; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-ink) 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.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Reports (dark) */
.section-dark { background: var(--dark); color: #e9edf0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--green); }
.section-dark .section-lead, .section-dark p { color: var(--dark-muted); }
.section-dark .browser { border-color: var(--dark-line); box-shadow: 0 32px 64px -24px rgba(0, 0, 0, .7); }
.report-hero { display: grid; gap: 36px; align-items: center; margin-bottom: 56px; }
@media (min-width: 961px) { .report-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; } }
.report-hero-copy .btn { margin-top: 8px; }
.report-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .report-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.report-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); padding: 14px 14px 22px; }
.report-card img { border-radius: 10px; margin-bottom: 18px; border: 1px solid var(--dark-line); }
.report-card h3, .report-card p { padding: 0 8px; }
.report-card p { margin: 0; font-size: .95rem; }
.report-more { margin: 32px auto 0; max-width: 760px; text-align: center; font-size: .97rem; }

/* About */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 961px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.about-copy p { color: var(--muted); }
.quote { margin: 0; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 24px; font-size: 1.14rem; line-height: 1.6; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .94rem; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }

/* CTA */
.cta { background: linear-gradient(160deg, var(--green-soft), var(--sky-soft)); }
.cta-inner { max-width: 760px; text-align: center; }
.cta-inner > p { color: var(--muted); font-size: 1.12rem; }
.cta-actions { margin: 28px 0 40px; }
.signup { max-width: 560px; margin: 0 auto; text-align: left; }
.signup label { display: block; font-weight: 600; margin-bottom: 10px; color: var(--ink-2); text-align: center; }
.signup-row { display: flex; gap: 10px; }
.signup input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid #cfd5dc; border-radius: 999px; font: 400 1rem var(--font); background: #fff; color: var(--ink); }
.signup-thanks { margin: 12px 0 0; text-align: center; color: var(--green-ink); font-weight: 600; }
@media (max-width: 520px) { .signup-row { flex-direction: column; } .signup-row .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 56px 0 28px; font-size: .94rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--dark-line); }
.footer-brand img { filter: brightness(0) invert(1); opacity: .92; margin-bottom: 12px; }
.footer-brand p { margin: 0; max-width: 30ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.site-footer a { color: #e3e8ec; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .86rem; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 96vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 14, 18, .82); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 640px) { .lightbox-close { top: 8px; right: 8px; } }

/* Legal and 404 pages */
.page { padding: 56px 0 96px; }
.page .container { max-width: 820px; }
.legal { color: var(--ink-2); font-size: 1rem; }
.legal h2 { font-size: 1.9rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal #ppHeader { font: 800 1.9rem/1.2 var(--font) !important; letter-spacing: -0.02em; margin-bottom: 24px; }
.legal #ppBody { font-size: 1rem !important; text-align: left !important; }
.legal .grayText, .legal .blueText { margin-top: 1.2em; color: var(--ink); }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found p { color: var(--muted); }
