﻿/* AIMS Archive — site styles */
:root {
    /* Brand: from the AIMS logo */
    --navy: #031F81;        /* logo "AUTOMATED INTAKE" royal navy */
    --navy-2: #0B2A9A;
    --navy-deep: #020F45;
    --teal: #1A6FDB;        /* logo sky blue, deepened for readable white text */
    --teal-dark: #1459B8;
    --teal-soft: #E8F2FE;
    --sky: #6FB4FD;         /* logo "MANAGEMENT SYSTEM" blue, for use on dark */
    --amber: #F4A93B;
    --ink: #0B1437;
    --text: #334155;
    --muted: #5B6887;
    --line: #E1E7F2;
    --bg: #FFFFFF;
    --bg-soft: #F4F7FD;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(3, 31, 129, .08);
    --shadow-lg: 0 24px 60px rgba(3, 31, 129, .16);
    --container: 1160px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(26, 111, 219, .3); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav > a:not(.btn):hover { color: var(--teal-dark); }
.nav-phone { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 16px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .site-nav.open { display: flex; }
    .site-nav > a:not(.btn) { padding: 10px 0; }
    .site-nav .btn { margin-top: 6px; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #C9D3F0; }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.section-navy .eyebrow { color: var(--sky); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-navy .section-head p { color: #A9B6DA; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: radial-gradient(1200px 500px at 85% -10%, var(--teal-soft), transparent 60%), linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead, .hero .lead { font-size: 1.2rem; color: var(--text); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.hero-badge strong { display: block; color: var(--navy); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: .85rem; color: var(--muted); }
.check { flex: none; width: 20px; height: 20px; color: var(--teal); }

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-badge { left: 12px; bottom: 12px; }
}

/* Industries */
.industries { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.industries p { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.industry-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-list li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy); background: var(--bg-soft); }

/* Problem / Outcomes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: 18px; box-shadow: var(--shadow); }
.pain-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; }
.pain-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.pain-list .x { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #FEE2E2; color: #B91C1C; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.callout { border-left: 4px solid var(--amber); padding: 6px 0 6px 16px; color: var(--ink); font-weight: 600; }

.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.outcome { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.outcome .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 14px; }
.outcome .icon svg { width: 22px; height: 22px; }
.outcome h3 { font-size: 1.05rem; margin: 0; }
.outcome-foot { text-align: center; margin-top: 40px; }
.outcome-foot p { font-size: 1.15rem; color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .outcomes { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: #B8C4E6; }
.steps-foot { text-align: center; margin-top: 36px; color: #fff; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink); flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--teal); font-weight: 800; margin-bottom: 6px; }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption span { font-size: .9rem; color: var(--muted); }
.quote.featured { background: var(--navy); border-color: var(--navy); }
.quote.featured blockquote { color: #fff; }
.quote.featured figcaption strong { color: #fff; }
.quote.featured figcaption span { color: #A9B6DA; }
.stat-row { display: flex; gap: 28px; margin: 0 0 16px; }
.stat-row div strong { display: block; font-size: 2rem; color: var(--sky); line-height: 1; }
.stat-row div span { font-size: .8rem; color: #A9B6DA; }
@media (max-width: 920px) { .quotes { grid-template-columns: 1fr; } }

/* Why */
.why-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
.plan h3 { font-size: 1.6rem; margin: 4px 0 6px; }
.plan-best { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { margin: 12px 0 18px; color: var(--ink); }
.plan-price strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.plan-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 18px; }
.plan-split h4 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.plan-split ul { margin: 0; gap: 4px; }
.plan-split li { font-size: .88rem; }
.plan-tag { font-weight: 700; color: var(--navy); margin: auto 0 16px; font-style: italic; }
.plan-note { font-size: .82rem; color: var(--muted); margin: -6px 0 16px; }
.plans-foot { text-align: center; margin-top: 30px; color: var(--muted); }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-best { min-height: 0; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1A6FDB 100%); color: #C9D3F0; text-align: center; padding: 80px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.1rem; max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Demo page */
.demo-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.demo-copy ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.demo-copy li { display: flex; gap: 12px; font-weight: 500; color: var(--ink); }
.demo-contact { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.demo-contact a { font-weight: 700; text-decoration: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 30px; }
.scheduler { width: 100%; min-height: 680px; border: 0; border-radius: 12px; }
@media (max-width: 920px) { .demo-grid { grid-template-columns: 1fr; } }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: #B91C1C; }
.input { width: 100%; padding: .75rem .9rem; border: 1px solid #C9D3F0; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
.input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(26, 111, 219, .18); }
textarea.input { min-height: 110px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.success { text-align: center; padding: 20px 10px; }
.success .big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin: 0 auto 16px; }
.success .big-check svg { width: 32px; height: 32px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #A9B6DA; padding: 56px 0 0; font-size: .95rem; }
.site-footer a { color: #C9D3F0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { display: inline-block; max-width: 200px; height: 40px; width: auto; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn { transition: none; }
}

/* ===== v2 additions ===== */
.hl { background: linear-gradient(180deg, transparent 62%, rgba(26,111,219,.22) 62%); padding: 0 .08em; }
.section-tight { padding: 72px 0; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(3,31,129,.08); }

/* Hero product illustration */
.hero-app { position: relative; padding: 24px 0 36px 24px; }
.app-window { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); color: #A9B6DA; font-size: .78rem; font-weight: 600; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A44A8; }
.app-bar i:first-child { background: #F87171; } .app-bar i:nth-child(2) { background: #FBBF24; } .app-bar i:nth-child(3) { background: #34D399; }
.app-bar span { margin-left: 10px; }
.app-body { padding: 18px; }
.app-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--teal); border-radius: 12px; box-shadow: 0 0 0 4px rgba(26,111,219,.12); color: var(--ink); font-weight: 600; font-size: .95rem; }
.app-search svg { width: 18px; height: 18px; color: var(--teal-dark); flex: none; }
.caret { width: 2px; height: 18px; background: var(--teal-dark); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.app-count { margin-left: auto; font-size: .75rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.app-chips { display: flex; gap: 6px; margin: 14px 0 10px; flex-wrap: wrap; }
.app-chips span { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.app-chips .on { background: var(--teal-soft); color: var(--teal-dark); border-color: transparent; }
.app-rows { list-style: none; margin: 0; padding: 0; }
.app-rows li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line); opacity: 0; animation: rowIn .5s ease forwards; }
.app-rows li:nth-child(1) { animation-delay: .2s; } .app-rows li:nth-child(2) { animation-delay: .35s; } .app-rows li:nth-child(3) { animation-delay: .5s; } .app-rows li:nth-child(4) { animation-delay: .65s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.app-rows .doc { flex: none; width: 34px; height: 40px; border-radius: 6px; background: #FEF2F2; color: #B91C1C; font-size: .6rem; font-weight: 800; display: grid; place-items: end center; padding-bottom: 5px; border: 1px solid #FECACA; }
.app-rows div { min-width: 0; flex: 1; }
.app-rows strong { display: block; font-size: .88rem; color: var(--ink); }
.app-rows small { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-style: normal; font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: #DCFCE7; color: #166534; }
.pill.warn { background: #FEF3C7; color: #92400E; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.fc-icon.amber { background: #FEF3C7; color: #B45309; }
.fc-icon svg { width: 20px; height: 20px; }
.fc-audit { left: -8px; bottom: 0; }
.fc-time { right: -12px; top: 0; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) {
    .hero-app { padding: 20px 0 40px; }
    .app-window { transform: none; }
    .fc-audit { left: 8px; } .fc-time { right: 8px; top: 0; }
}
@media (max-width: 480px) {
    .app-count, .app-rows li:nth-child(4) { display: none; }
    .fc-time { display: none; }
}

/* Industry cards */
.industry-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); box-shadow: var(--shadow); }
.ind h3 { font-size: 1.1rem; }
.ind p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 920px) { .industry-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industry-cards { grid-template-columns: 1fr; } }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare-col { border-radius: 18px; padding: 30px; }
.compare-col h3 { font-size: 1.3rem; margin-bottom: 18px; }
.compare-col .tag { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.compare .before { background: #fff; border: 1px dashed #C9D3F0; }
.compare .before .tag { color: #B91C1C; }
.compare .before li { color: var(--muted); }
.compare .x { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #FEE2E2; color: #B91C1C; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.compare .after { background: var(--navy); box-shadow: var(--shadow-lg); }
.compare .after h3 { color: #fff; }
.compare .after .tag { color: var(--sky); }
.compare .after li { color: #E2E8F0; }
.compare .after .check { color: var(--sky); }
.compare-arrow { align-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; box-shadow: 0 8px 20px rgba(26,111,219,.3); }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } .compare-arrow { justify-self: center; transform: rotate(90deg); } }

/* Estimator */
.estimator { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.est-input h3 { font-size: 1.4rem; }
.est-input label { display: block; font-weight: 700; color: var(--ink); margin: 18px 0 8px; }
.est-row { display: flex; align-items: center; gap: 16px; }
.est-row input[type=range] { flex: 1; accent-color: var(--teal); height: 6px; }
.est-row output { min-width: 56px; text-align: center; font-weight: 800; font-size: 1.2rem; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.est-pages { margin: 14px 0 0; color: var(--muted); }
.est-pages strong { color: var(--ink); }
.est-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.est-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.est-card span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.est-card strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.est-card small { color: var(--muted); }
.est-note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }
.est-out .btn { grid-column: 1 / -1; }
@media (max-width: 820px) { .estimator { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 420px) { .est-out { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-dark); font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
    .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(3,31,129,.08); transform: translateY(110%); transition: transform .25s ease; }
    .mobile-cta.show { transform: none; }
    .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    .caret, .float-card, .app-rows li { animation: none; opacity: 1; }
    .app-window { transform: none; }
}

/* Keep hero columns from growing past the viewport */
.hero-grid > * { min-width: 0; }
.app-search .typed { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .app-rows .pill { display: none; } }

/* ===== v3: photography ===== */
/* Hero photo + product overlay */
.hero-visual { position: relative; padding: 0 0 70px 0; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px 52px 40px; border-radius: 28px; background: linear-gradient(135deg, var(--teal-soft), #DCE6FF); z-index: -1; }
.hero-visual .app-window { position: absolute; left: -40px; bottom: 0; width: min(420px, 86%); transform: none; }
.hero-visual .app-body { padding: 14px; }
.hero-visual .fc-time { right: -14px; top: 22px; left: auto; }
@media (max-width: 920px) {
    .hero-visual { padding-bottom: 150px; }
    .hero-visual .app-window { left: 12px; right: 12px; width: auto; }
    .hero-visual::before { inset: -12px -8px 120px 24px; }
}
@media (max-width: 480px) { .hero-visual { padding-bottom: 130px; } .hero-visual .fc-time { display: none; } }

/* Industry photo cards */
a.ind { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; border-top: 0; transition: transform .2s ease, box-shadow .2s ease; }
a.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a.ind img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
a.ind:hover img { transform: scale(1.04); }
.ind-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--teal); }
.ind-body p { flex: 1; margin-bottom: 14px; }
.ind-link { font-weight: 700; color: var(--teal-dark); font-size: .92rem; }

/* Before/after photos */
.compare-col { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.compare-photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.compare .before .compare-photo { filter: grayscale(.85) contrast(.95); }
.compare-body { padding: 26px 30px 30px; }

/* Steps with photos */
.step { padding: 0; overflow: hidden; }
.step img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; opacity: .92; }
.step-body { padding: 22px 24px 26px; position: relative; }
.step::before { position: absolute; top: 16px; left: 16px; z-index: 1; margin: 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* Onsite band */
.onsite { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.onsite-media { position: relative; }
.onsite-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.onsite-badge { position: absolute; right: -14px; bottom: 24px; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); }
.onsite-badge strong { display: block; font-size: 1.15rem; letter-spacing: .04em; }
.onsite-badge span { font-size: .8rem; color: var(--sky); }
@media (max-width: 920px) { .onsite { grid-template-columns: 1fr; gap: 36px; } .onsite-badge { right: 12px; } }

/* CTA with photo */
.cta-band { position: relative; isolation: isolate; background: var(--navy); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--cta-bg) center / cover no-repeat; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(3,31,129,.94), rgba(11,42,154,.86) 55%, rgba(26,111,219,.78)); }

/* Page hero for inner pages */
.page-hero { position: relative; isolation: isolate; padding: 88px 0 80px; color: #DCE4FA; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-bg) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3,31,129,.95) 0%, rgba(3,31,129,.85) 45%, rgba(3,31,129,.35) 100%); }
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lead { color: #DCE4FA; max-width: 36em; }
.page-hero .eyebrow { color: var(--sky); }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs span { color: #A9B6DA; }
.records-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.records-grid li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.records-grid { padding: 0; margin: 0; }
.records-grid .doc-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.records-grid .doc-ico svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .records-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .records-grid { grid-template-columns: 1fr; } }
.plan-rec { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: #fff; border: 2px solid var(--teal); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 820px) { .plan-rec { grid-template-columns: 1fr; } }

/* Demo page photo */
.demo-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin: 26px 0 0; box-shadow: var(--shadow); }
/* Let more of the hero photo show */
@media (min-width: 921px) {
    .hero-visual { padding-bottom: 120px; }
    .hero-visual .app-window { width: 360px; left: -56px; bottom: 0; }
    .hero-visual .app-rows li:nth-child(3) { display: none; }
    .hero-visual::before { inset: -18px -18px 100px 40px; }
}

/* reCAPTCHA */
.captcha-wrap { margin-top: 20px; min-height: 78px; }
.captcha-msg { margin: 8px 0 0; color: #B91C1C; font-size: .88rem; font-weight: 600; }
@media (max-width: 370px) { .g-recaptcha { transform: scale(.9); transform-origin: 0 0; } }
