/* VeriMile marketing site
   Palette pulled from the app icon and store feature graphic:
   ink #181c21, panel #272e36, accent #34c759, text #ffffff, muted #c8cdd2 */

:root {
    --ink: #181c21;
    --ink-2: #1e242b;
    --panel: #232a32;
    --line: #333c46;
    --accent: #34c759;
    --accent-dark: #23a247;
    --text: #ffffff;
    --muted: #aab3bd;
    --muted-2: #8b949f;
    --radius: 14px;
    --maxw: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 12px; top: 12px; z-index: 100;
    background: var(--accent); color: #06210f;
    padding: 10px 16px; border-radius: 8px;
}

/* ---------- header ---------- */

.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(24, 28, 33, .92);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    display: flex; align-items: center; gap: 18px;
    min-height: 62px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 800; font-size: 1.12rem;
    letter-spacing: -0.02em; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav {
    margin-left: auto;
    display: flex; align-items: center; gap: 22px;
    font-size: .95rem;
}
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta {
    color: #06210f; background: var(--accent);
    padding: 8px 16px; border-radius: 999px; font-weight: 700;
}
.site-nav .nav-cta:hover { background: #45d76a; color: #06210f; }
@media (max-width: 760px) {
    .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 20px;
    background:
        radial-gradient(900px 460px at 78% -6%, rgba(52, 199, 89, .18), transparent 62%),
        linear-gradient(180deg, #1b2128 0%, var(--ink) 78%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(52, 199, 89, .38);
    background: rgba(52, 199, 89, .10);
    padding: 5px 12px; border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.lede {
    font-size: clamp(1.06rem, 1.6vw, 1.24rem);
    color: var(--muted);
    max-width: 34em;
}
.lede strong { color: var(--text); font-weight: 650; }

.store-buttons {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin: 26px 0 18px;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1rem;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #06210f; }
.btn-primary:hover { background: #45d76a; color: #06210f; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted-2); background: rgba(255,255,255,.04); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn small { display: block; font-size: .72rem; font-weight: 600; opacity: .72; line-height: 1.1; }
.btn b { display: block; font-size: 1rem; line-height: 1.2; }

.trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-size: .92rem; color: var(--muted-2);
}
.trust li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    margin-right: 7px;
}

/* phone mockup */
.phone {
    position: relative;
    margin: 0 auto;
    max-width: 300px;
    padding: 11px;
    background: linear-gradient(160deg, #3a434e, #191d22);
    border-radius: 42px;
    box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 32px; width: 100%; }
.phone-tilt { transform: rotate(-2deg); }

@media (max-width: 900px) {
    .hero { padding-top: 46px; }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .phone { max-width: 260px; }
    .phone-tilt { transform: none; }
}

/* ---------- sections ---------- */

section { padding: 72px 0; }
section.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.kicker {
    font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent); margin: 0 0 10px;
}

/* steps */
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    counter-reset: step;
}
.step {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 24px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(52,199,89,.14); color: var(--accent);
    font-weight: 800;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* feature grid */
.features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.feature .ico { font-size: 1.5rem; line-height: 1; margin-bottom: 12px; }
.feature h3 { margin-bottom: .35em; font-size: 1.06rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 900px) {
    .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    section { padding: 56px 0; }
    .steps, .features { grid-template-columns: 1fr; }
}

/* split rows */
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 52px; align-items: center;
}
.split + .split { margin-top: 76px; }
.split.flip .split-media { order: -1; }
.split ul { color: var(--muted); padding-left: 1.15em; margin: 0; }
.split li { margin-bottom: .5em; }
.split li strong { color: var(--text); font-weight: 650; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.flip .split-media { order: 0; }
}

/* shot pair */
.shots {
    display: flex; gap: 18px; justify-content: center; align-items: flex-start;
}
.shots .phone { max-width: 240px; margin: 0; }
.shots .phone:nth-child(2) { margin-top: 34px; }
@media (max-width: 620px) {
    .shots .phone:nth-child(2) { display: none; }
}

/* privacy callout */
.privacy-cols {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.pcard {
    border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
    background: var(--panel);
}
.pcard.good { border-color: rgba(52,199,89,.42); background: rgba(52,199,89,.07); }
.pcard h3 { display: flex; align-items: center; gap: 9px; }
.pcard ul { margin: 0; padding-left: 1.15em; color: var(--muted); font-size: .96rem; }
.pcard li { margin-bottom: .45em; }
@media (max-width: 760px) { .privacy-cols { grid-template-columns: 1fr; } }

/* audience chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li {
    border: 1px solid var(--line); background: var(--panel);
    border-radius: 999px; padding: 9px 17px; font-size: .95rem; color: var(--muted);
}
.chips li strong { color: var(--text); font-weight: 650; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 26px;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; position: relative; }
.plan .tag {
    position: absolute; top: -12px; left: 26px;
    background: var(--accent); color: #06210f;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 999px;
}
.plan .price { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 8px 0 2px; }
.plan .per { color: var(--muted-2); font-size: .9rem; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: .96rem; }
.plan li { padding-left: 1.5em; position: relative; margin-bottom: .5em; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .foot { margin-top: auto; font-size: .86rem; color: var(--muted-2); }
.price-note { color: var(--muted-2); font-size: .9rem; margin-top: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* honest section */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honest .feature h3 { color: var(--text); }
@media (max-width: 900px) { .honest { grid-template-columns: 1fr; } }

/* faq */
.faq details {
    border: 1px solid var(--line); background: var(--panel);
    border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
    cursor: pointer; font-weight: 700; font-size: 1.03rem;
    padding: 18px 0; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; color: var(--accent); font-weight: 800; font-size: 1.35rem; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { color: var(--muted); padding-bottom: 18px; font-size: .98rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* final cta */
.cta-band {
    text-align: center;
    background:
        radial-gradient(760px 380px at 50% 110%, rgba(52,199,89,.20), transparent 60%),
        var(--ink-2);
    border-top: 1px solid var(--line);
}
.cta-band .store-buttons { justify-content: center; }
.cta-band .trust { justify-content: center; }

/* footer */
.site-foot {
    border-top: 1px solid var(--line);
    padding: 42px 0 54px;
    color: var(--muted-2); font-size: .92rem;
    background: var(--ink);
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 26px 48px; align-items: flex-start; }
.site-foot h4 { margin: 0 0 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45em; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.foot-brand { max-width: 300px; }
.foot-brand p { margin: 0; }
.legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; }

/* article pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.updated { color: var(--muted-2); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover { transform: none; }
}
