/* site-sections.css
   Shared section layouts used across /, /owners, /fleets
   (hero, grid, badges, lists, footers, notices)
*/

/* HERO */
.hero{
    padding: 58px 0 26px;
}

.hero-grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items:start;
}
@media (max-width: 920px){
    .hero-grid{ grid-template-columns:1fr; }
}

/* Inline badge/pill used in hero intros */
.badge{
    display:inline-flex;
    gap:10px;
    align-items:center;
    padding: 8px 12px;
    border-radius:999px;
    border:1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--muted);
    font-weight:800;
    font-size:13px;
}
.badge b{ color: var(--text); }
html[data-theme="light"] .badge{
    background: rgba(10,18,34,.04);
}

h1{
    font-size: clamp(34px, 4vw, 52px);
    margin: 16px 0 12px;
    letter-spacing:-.7px;
    line-height:1.05;
}

.sub{
    color: var(--muted);
    font-size: 18px;
    max-width: 56ch;
    margin: 0 0 18px;
}

/* Content grids */
.grid3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap: 14px;
}
@media (max-width: 920px){
    .grid3{ grid-template-columns:1fr; }
}

.h2{
    margin:0 0 10px;
    font-size: 22px;
    letter-spacing: -.2px;
}

.list{
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}
.list li{ margin: 6px 0; }

/* Notices (used by home form etc.) */
.notice{
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
}
html[data-theme="light"] .notice{
    background: rgba(10,18,34,.03);
}

/* NOTE: .ok and .err are added dynamically via JS based on ?thanks=1 / ?error=1 */
.notice.ok{
    border-color: rgba(124,255,214,.35);
    background: rgba(124,255,214,.10);
}
.notice.err{
    border-color: rgba(255,122,122,.35);
    background: rgba(255,122,122,.10);
}

/* Footer */
footer{
    padding: 26px 0 36px;
    color: var(--muted);
    font-size: 14px;
}
.footlinks{
    display:flex;
    gap: 14px;
    flex-wrap:wrap;
}
.footlinks a{ color: var(--muted); }
.footlinks a:hover{ color: var(--text); }


/* ===== Added for shared home/owners/fleets layouts ===== */

/* CTA row used on home */
.cta-row{display:flex; gap: 12px; flex-wrap:wrap; align-items:center}

/* KPI boxes used on home */
.kpi{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.12);
}
@media (prefers-color-scheme: light){
    .kpi{background: rgba(10,18,34,.03);}
}
.kpi b{font-size: 18px}

/* Split layout used on home FAQ + feature columns */
.split{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
}
@media (max-width: 920px){ .split{grid-template-columns: 1fr} }

/* Section wrapper used on home */
.section{padding: 18px 0}

/* a11y helper used by lead form */
.sr-only{
    position:absolute !important;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* Lead form layout used on home */
.form{
    display:grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items:center;
    margin-top: 12px;
}
@media (max-width: 720px){ .form{grid-template-columns: 1fr} }

input[type="email"]{
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
    outline: none;
}
input[type="email"]::placeholder{ color: rgba(168,179,204,.75); }
html[data-theme="light"] input[type="email"]{
    background: rgba(10,18,34,.02);
}


/* ===== Home conversion positioning ===== */
.hero-card-copy{ margin-top:0; }
.hero-metrics{ margin-top:12px; }
.hero-card-foot{ font-size:14px; }
.section-intro{ margin-top:0; }
.micro{ margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ===== Owners page moved from inline <style> ===== */
/* Owners page: keep normal site width (no --max override to avoid layout "jump") */
/* Screenshot full-width under the hero copy */
.owners-shot-card{
    margin-top: 16px;
    padding: 10px;
}
.owners-shot{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 18px 44px rgba(0,0,0,.14);
}
.owners-shot-full{
    margin-top: 18px;
}

/* Tap-to-zoom hint on mobile */
@media (max-width: 768px) {
    .owners-shot-card { cursor: zoom-in; }
    .owners-shot-full { padding: 10px; }
    .owners-shot { border-radius: 10px; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.85);
    display: none;
    z-index: 9999;
    padding: 14px;
}
.lightbox.open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    background: #fff;
}
@media (max-width: 768px) {
    .lightbox-img { max-width: 98vw; max-height: 92vh; }
}
.lightbox-close {
    position: fixed;
    top: 12px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}

/* Conversion additions */
.hero-bullets{
    margin: 12px 0 0;
    padding-left: 18px;
}
.hero-bullets li{
    margin: 6px 0;
}

.steps-strip{
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 900px){
    .steps-strip{ grid-template-columns: 1fr; }
}
.step{
    padding: 12px 12px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.step .k{
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 4px;
}
.step .t{
    font-weight: 700;
    margin-bottom: 4px;
}
.step .d{
    font-size: 13px;
    opacity: .85;
    line-height: 1.35;
}

.trust-grid{
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
    align-items: start;
}
@media (max-width: 900px){
    .trust-grid{ grid-template-columns: 1fr; }
}
.trust{
    padding: 12px 12px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.65);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.trust ul{
    margin: 8px 0 0;
    padding-left: 18px;
}
.trust li{ margin: 6px 0; }
.beta-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    opacity:.9;
    background: rgba(255,255,255,.75);
    margin-top: 10px;
}

/* Honeypot (spam trap): visually hidden */
.hp{
    position:absolute;
    left:-9999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
}