/* Automotive Growth Software: site styles.
   Colors come from the business card (measured 25 Nov 2026).
   Green is for accents and large type only: it is ~4.1:1 on white,
   under the 4.5:1 needed for body text. */

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0050F7;
  --blue-dark: #003BC0;
  --green: #1C9101;
  --navy: #010C1C;
  --ink: #1F2A3A;
  --muted: #4A5566;
  --line: #DDE3EC;
  --soft: #F3F6FB;
  --white: #FFFFFF;
  --radius: 10px;
  --wrap: 1120px;
  --head: "Work Sans", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a.btn { color: var(--white); }

/* buttons */
.btn {
  display: inline-block; background: var(--blue); color: var(--white); text-decoration: none;
  font: 600 1.05rem/1 var(--body); padding: 14px 22px; border-radius: 8px; border: 2px solid var(--blue);
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--soft); color: var(--blue-dark); border-color: var(--blue-dark); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font: 600 .95rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hero h1 .accent { color: var(--green); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 36em; }
.hero-mark { max-width: 360px; justify-self: center; width: 100%; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
.section-intro { max-width: 46em; margin-bottom: 32px; }
.section-intro p { color: var(--muted); }
.tag { display: inline-block; font: 600 .85rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); border-left: 4px solid var(--green); padding: 4px 0 4px 10px; margin-bottom: 14px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; }
.steps li .card { height: 100%; }
.steps .num { font: 700 1.6rem/1 var(--head); color: var(--green); display: block; margin-bottom: 10px; }

.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.callout { background: var(--navy); color: #D9E1EC; border-radius: var(--radius); padding: 36px; }
.callout h2, .callout h3 { color: var(--white); }
.callout p { color: #C9D2DE; }
.callout .btn { margin-top: 6px; }

.page-head { padding: 56px 0 24px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 44em; font-size: 1.2rem; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.note { border-left: 4px solid var(--blue); background: var(--soft); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--ink); }

/* form */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #B8C2D1; border-radius: 8px; padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0,80,247,.25); border-color: var(--blue); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .98rem; color: var(--muted); margin: 0; }
.status { padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.status[hidden] { display: none; }
.status.ok { background: #E8F6E4; color: #124A04; border: 1px solid #A9D99B; }
.status.err { background: #FDECEC; color: #7A1010; border: 1px solid #F1B2B2; }

/* footer */
.site-footer { background: var(--navy); color: #C9D2DE; padding: 44px 0 28px; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.site-footer img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer p { margin: 0 0 8px; font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #FFFFFF; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #22324A; padding-top: 18px; font-size: .95rem; color: #AAB6C6; }

/* responsive */
@media (max-width: 900px) {
  .hero .wrap, .product, .grid-3, .grid-2, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-mark { max-width: 170px; order: -1; justify-self: start; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 10px; gap: 8px; }
  .brand img { height: 46px; }
  .nav { justify-content: flex-start; margin-left: -12px; }
  .nav a { padding: 6px 10px; }
  .site-header { position: static; }
  .hero { padding: 40px 0 40px; }
  section { padding: 48px 0; }
  .form .row { grid-template-columns: 1fr; }
  .callout { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mt0 { margin-top: 0 !important; }

/* ---------- visual polish (Nov 2026) ----------
   Dark navy hero and page heads with brand-colour glows, icon chips,
   lifted cards, numbered step badges and a gradient call-out. */
:root {
  --green-on-dark: #3DBE1C;   /* brand green lifted for text on navy (7.6:1) */
  --shadow-sm: 0 1px 2px rgba(1,12,28,.06), 0 2px 8px rgba(1,12,28,.05);
  --shadow-md: 0 4px 12px rgba(1,12,28,.08), 0 16px 32px rgba(1,12,28,.08);
}
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); }

/* dark hero */
.hero, .page-head {
  position: relative; overflow: hidden; color: #C9D2DE; border-bottom: 0;
  background:
    radial-gradient(60% 80% at 82% 35%, rgba(0,80,247,.42) 0%, rgba(0,80,247,0) 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(28,145,1,.22) 0%, rgba(28,145,1,0) 70%),
    var(--navy);
}
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .wrap, .page-head .wrap { position: relative; }
.hero { padding: 96px 0 0; }
.hero h1, .page-head h1 { color: var(--white); }
.hero h1 .accent { color: var(--green-on-dark); }
.hero .eyebrow { color: #9FB0C8; }
.hero .lead, .page-head p { color: #C9D2DE; }
.hero .tag, .page-head .tag { color: var(--white); border-left-color: var(--green-on-dark); }
.page-head { padding: 72px 0 56px; }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.hero .btn:not(.btn-light) { box-shadow: 0 8px 24px rgba(0,80,247,.45); }

.hero-art { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 2% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(0,80,247,.18) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }

/* trust strip along the bottom of the hero */
.trust {
  list-style: none; margin: 72px 0 0; padding: 22px 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 12px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero .trust { grid-column: 1 / -1; }
.trust li { display: flex; align-items: center; gap: 10px; color: #DCE4EF; font-weight: 600; font-size: 1rem; }
.trust svg { flex: none; width: 22px; height: 22px; color: var(--green-on-dark); }

/* icon chips */
.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,80,247,.09); color: var(--blue); margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; }
.icon.green { background: rgba(28,145,1,.1); color: var(--green); }

/* cards */
.card { box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.grid-3 > .card:hover, .grid-2 > .card:hover, .steps .card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C6D2E4;
}
.card.accent-top { border-top: 4px solid var(--blue); }
.card.accent-top.green { border-top-color: var(--green); }

/* numbered steps */
.steps .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2B74FF); color: var(--white);
  font-size: 1.2rem; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(0,80,247,.35);
}
.steps li:last-child .num { background: linear-gradient(135deg, var(--green), #2FB30F); box-shadow: 0 6px 16px rgba(28,145,1,.35); }
.steps { position: relative; }
@media (min-width: 901px) {
  .steps::before {
    content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, #B9C8E0 0 10px, transparent 10px 18px);
  }
}

/* timeline card in the home product section */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 22px 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(t); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1rem/1 var(--head); color: var(--white);
  background: var(--blue);
}
.timeline li:last-child::before { background: var(--green); }
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: var(--line);
}
.timeline strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1.1rem; }
.timeline span { color: var(--muted); }
.card.feature { padding: 32px; border-radius: 16px; box-shadow: var(--shadow-md); }

/* gradient call-out with the mark as a watermark */
.callout {
  position: relative; overflow: hidden; padding: 48px; border-radius: 18px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(0,80,247,.55) 0%, rgba(0,80,247,0) 65%),
    radial-gradient(50% 90% at 0% 100%, rgba(28,145,1,.25) 0%, rgba(28,145,1,0) 70%),
    var(--navy);
}
.callout::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 300px; height: 316px;
  background: url("../img/mark.svg") no-repeat center / contain; opacity: .14; pointer-events: none;
}
.callout > * { position: relative; max-width: 40em; }
.callout h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

section.alt { background: linear-gradient(180deg, var(--soft), #EAF0F9); }

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .hero-art { max-width: 200px; order: -1; justify-self: start; }
  .callout::after { width: 200px; height: 210px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .trust { grid-template-columns: 1fr; margin-top: 40px; }
  .callout { padding: 30px 24px; }
  .callout::after { opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .grid-3 > .card:hover, .grid-2 > .card:hover, .steps .card:hover { transform: none; }
}

/* "What it doesn't do": an X, not a check */
.check.cross li::before, .check.cross li::after {
  content: ""; position: absolute; left: 3px; top: .72em; width: 16px; height: 3px;
  border: 0; border-radius: 2px; background: #B42318; transform: rotate(45deg);
}
.check.cross li::after { transform: rotate(-45deg); }

/* phones: one-row header (logo + Contact us), headline first */
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: row; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .brand img { height: 38px; }
  .nav { margin-left: 0; flex-wrap: nowrap; }
  .nav a:not(.btn) { display: none; }
  .nav a.btn { padding: 8px 14px; }
  .hero-art { display: none; }
}

/* "Log in" to AGS Recovery, beside Contact us (Kris, 27 Nov 2026) */
.nav a.login { border: 1.5px solid var(--line); margin-left: 6px; }
.nav a.login:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
@media (max-width: 640px) {
  .nav { gap: 8px; }
  .nav a.login { display: inline-block; padding: 7px 12px; margin-left: 0; }
  .brand img { height: 34px; }
}
