/* AdRunAI site styles. Brand: navy #1a1f71, green #04bc57, white. See vault card.md "Look".
   Contrast rule: never small white text on green. Green buttons get navy text. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a1f71;
  --navy-deep: #12164f;
  --green: #04bc57;
  --green-dark: #037a39;   /* green for text on white: 5.4:1 */
  --white: #ffffff;
  --ink: #1d2033;
  --muted: #4d5168;
  --line: #dfe2ee;
  --tint: #f4f6fb;
  --radius: 14px;
  --heading: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .footer-h { font-family: var(--heading); color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.eyebrow { font-family: var(--heading); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .75rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; color: var(--white); }

/* Buttons */
.btn { display: inline-block; font-family: var(--heading); font-weight: 700; font-size: 1.02rem; text-decoration: none; background: var(--green); color: var(--navy); padding: 15px 26px; border-radius: 999px; border: 2px solid var(--green); line-height: 1.2; min-height: 48px; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: #05d262; color: var(--navy); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; min-height: 44px; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-family: var(--heading); font-weight: 700; text-decoration: none; }
.text-link::after { content: " \2192"; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 36px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { font-family: var(--heading); font-weight: 600; text-decoration: none; color: var(--navy); padding: 10px 0; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--green-dark); box-shadow: inset 0 -2px 0 var(--green); }
.menu-toggle { display: none; font: 600 .95rem var(--heading); color: var(--navy); background: none; border: 2px solid var(--line); border-radius: 10px; padding: 9px 14px; min-height: 44px; align-items: center; gap: 10px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; content: ""; }
.menu-bars::before { position: absolute; top: -6px; }
.menu-bars::after { position: absolute; top: 6px; }
@media (max-width: 860px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(26,31,113,.08); }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .js .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .js .nav-cta { margin-top: 16px; }
  .js .nav-cta .btn { display: block; text-align: center; }
  html:not(.js) .header-row { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 14px; }
  .brand img { height: 32px; }
}

/* Sections */
section { padding: 84px 0; }
@media (max-width: 700px) { section { padding: 60px 0; } }
.tint { background: var(--tint); }
.on-dark { background: var(--navy); color: rgba(255,255,255,.88); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }
.on-dark .lead { color: rgba(255,255,255,.85); }
.on-dark .eyebrow { color: var(--green); }
.accent { color: var(--green); }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(4,188,87,.22), rgba(4,188,87,0) 65%); pointer-events: none; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--green); }
.hero h1 .line { display: block; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .sample-card { display: none; } }
.sample-card { margin: 0; background: var(--white); color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.sample-card figcaption { display: flex; justify-content: space-between; align-items: center; font-family: var(--heading); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.sample-tag { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.sample-card ul { list-style: none; margin: 0; padding: 0; }
.sample-card li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.hero .lead { color: rgba(255,255,255,.88); font-size: 1.3rem; max-width: 34em; margin-bottom: 1.8rem; }
.hero-note { margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.75); }
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { max-width: 20ch; }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(4,188,87,.12); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.section-head { margin-bottom: 40px; }

/* Pain list */
.pain-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.pain-list li { background: var(--white); border-left: 4px solid var(--green); border-radius: 10px; padding: 18px 20px; box-shadow: 0 1px 0 var(--line); font-size: 1.08rem; }
.punch { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--heading); font-weight: 800; font-size: 1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); }
.on-dark .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.on-dark .steps li::before { background: var(--green); color: var(--navy); }
.on-dark .steps p { color: rgba(255,255,255,.82); }

/* Split + proof */
.split { display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.proof-card { background: var(--navy); color: var(--white); border-radius: 20px; padding: 36px; }
.proof-card .quote { font-family: var(--heading); font-size: 1.45rem; font-weight: 700; line-height: 1.3; margin: 0 0 14px; }
.proof-card .quote .accent { color: var(--green); }
.proof-card p { color: rgba(255,255,255,.82); }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(26,31,113,.14); overflow: hidden; background: var(--white); }
.shot img { width: 100%; height: auto; }

/* Story */
.story { border-left: 4px solid var(--green); padding-left: 24px; }
.story p { font-size: 1.15rem; }
.sig { font-family: var(--heading); font-weight: 700; color: var(--navy); }

/* Services */
.service-group { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 300px 1fr; gap: 36px; }
.service-group:first-of-type { border-top: 0; }
@media (max-width: 860px) { .service-group { grid-template-columns: 1fr; gap: 16px; } }
.service-group .num { font-family: var(--heading); font-weight: 800; color: var(--green-dark); font-size: .9rem; letter-spacing: .1em; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.service-list li { padding: 20px 22px; border-radius: 12px; background: var(--tint); }
.service-list strong { display: block; font-family: var(--heading); color: var(--navy); font-size: 1.08rem; margin-bottom: 2px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { font-family: var(--heading); font-weight: 700; color: var(--navy); cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--muted); }

/* Check table */
.check-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.check-table th, .check-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.check-table thead th { background: var(--navy); color: var(--white); font-family: var(--heading); font-size: .9rem; letter-spacing: .04em; }
.check-table tbody th { font-family: var(--heading); color: var(--navy); width: 34%; }
.check-table tr:last-child th, .check-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .check-table thead { display: none; }
  .check-table tr, .check-table th, .check-table td { display: block; width: 100%; }
  .check-table tbody th { padding-bottom: 4px; border-bottom: 0; width: auto; }
  .check-table td { padding-top: 0; }
}
.get-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.get-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; }
.get-list li::before { content: ""; flex: 0 0 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a1f71' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.scorecard { display: flex; gap: 10px; margin-top: 8px; }
.dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.dot-g { color: #037a39; } .dot-y { color: #8a6500; } .dot-r { color: #b3261e; }

/* Form */
.form-card { background: var(--white); border-radius: 20px; padding: 36px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(26,31,113,.10); }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--heading); font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .98rem; }
.opt { font-weight: 500; color: var(--muted); font-family: var(--body); font-size: .9rem; }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #c9cee0; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(4,188,87,.35); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .92rem; margin-top: 6px; font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.err { background: #fdecea; color: #8c1d18; }
.form-status.ok { background: #e6f7ee; color: #035c2b; }
.fine { font-size: .92rem; color: var(--muted); }
.form-card .btn { width: 100%; }

/* Placeholder note (used only where real content is still coming) */
.soon { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); }

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band .lead { margin: 0 auto 1.8rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 56px 0 28px; font-size: .98rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-h { color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; font-size: .9rem; }
.footer-legal p { margin: 0; }

/* Spacing helpers (no inline styles: CSP blocks them) */
.mt { margin-top: 28px; }
.mt-sm { margin-top: 16px; }
.m0 { margin: 0; }

/* Work page proof screenshots */
.proof-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 24px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }
figure figcaption { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.small { font-size: .9375rem; color: var(--muted); }
