/* Journya — auto-insurance LP. Mobile-first, conversion-tuned. */
:root {
  --accent: #1457e6;
  --ink: #10172a;
  --muted: #5b6478;
  --line: #e4e8f0;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --green: #0f9d58;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 23, 42, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); }
.page { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); }

/* trust strip */
.trustbar {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  padding: 8px 12px; letter-spacing: .2px;
}
.trustbar .tb-item { white-space: nowrap; opacity: .92; }

/* header */
.site-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 20px 4px;
}
.logo { font-size: 22px; font-weight: 800; color: var(--accent); text-decoration: none; letter-spacing: -.5px; }
.head-note { font-size: 12px; color: var(--muted); }

/* hero */
.hero { padding: 8px 20px 28px; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white);
  padding: 5px 10px; border-radius: 999px; margin: 8px 0 12px;
}
.h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.6px; margin: 0 0 12px; }
.h1 .hl { color: var(--accent); }
.sub { font-size: 16px; color: var(--muted); margin: 0 0 20px; }

/* progress */
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 4px 0 18px; }
.progress-fill { height: 100%; width: 8%; background: var(--accent); border-radius: 999px; transition: width .35s ease; }

/* steps */
.step { display: none; border: 0; padding: 0; margin: 0; animation: fade .25s ease; }
.step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-q { font-size: 19px; font-weight: 700; margin: 0 0 14px; display: block; }
.micro { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* zip */
.zip-row { display: flex; gap: 10px; }
.zip-input {
  flex: 1; font-size: 20px; font-weight: 700; letter-spacing: 3px; text-align: center;
  padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.zip-input:focus { outline: none; border-color: var(--accent); }

/* inputs */
.text, .select {
  width: 100%; font-size: 16px; padding: 15px 14px; border: 2px solid var(--line);
  border-radius: var(--radius); background: var(--panel); color: var(--ink);
}
.text:focus, .select:focus { outline: none; border-color: var(--accent); }
.text.invalid, .select.invalid, .zip-input.invalid { border-color: #e0364f; background: #fff5f6; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* choices */
.choices { display: grid; gap: 10px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choices-3 { grid-template-columns: 1fr 1fr 1fr; }
.choice {
  font-size: 16px; font-weight: 700; padding: 18px 12px; border: 2px solid var(--line);
  border-radius: var(--radius); background: var(--panel); color: var(--ink); cursor: pointer;
  transition: border-color .12s, background .12s, transform .05s;
}
.choice.sm { font-size: 15px; padding: 13px 10px; }
.choice:hover { border-color: var(--accent); }
.choice:active { transform: scale(.98); }
.choice.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); color: var(--accent); }

/* card-style choice with an icon above the label */
.choice.card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; }
.choice.card .ic { font-size: 24px; line-height: 1; }
.choice.card.sm { padding: 13px 8px; font-size: 14px; }
.choice.card.sm .ic { font-size: 20px; }
/* horizontal row choice (e.g. coverage tiers) */
.choices .choice.row { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; padding: 14px 16px; }
.choice.row .ic { font-size: 22px; flex: none; }
.choice.row .lbl { display: flex; flex-direction: column; }
.choice.row .lbl strong { font-size: 15px; }
.choice.row .lbl small { font-size: 12px; color: var(--muted); font-weight: 500; }
.choice.row.selected .lbl small { color: var(--accent); }
.field-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 16px 0 8px; }
.select-lg { font-size: 18px; padding: 18px 14px; }

/* vehicle make grid */
.make-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.make-card {
  display: flex; align-items: center; justify-content: center; min-height: 70px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--panel);
  cursor: pointer; padding: 10px; transition: border-color .12s, transform .05s, box-shadow .12s;
}
.make-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.make-card:active { transform: scale(.97); }
.make-card.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, white); }
.make-logo { max-height: 38px; max-width: 90%; object-fit: contain; filter: grayscale(100%); opacity: .8; }
.make-card:hover .make-logo { filter: grayscale(0); opacity: 1; }
.make-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.make-other .make-name { color: var(--muted); }
.reveal-wrap { margin-top: 12px; }

/* buttons */
.btn {
  font-size: 17px; font-weight: 800; border: 0; border-radius: var(--radius); cursor: pointer;
  padding: 16px 20px; transition: filter .12s, transform .05s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-block { width: 100%; display: block; }
.btn-final { margin-top: 18px; font-size: 18px; padding: 18px; }
.hero-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* consent */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 4px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.consent-text { font-size: 11px; line-height: 1.5; color: var(--muted); }
.consent-text a { color: var(--muted); text-decoration: underline; }
.err { color: #e0364f; font-size: 14px; font-weight: 600; min-height: 18px; margin: 8px 0 0; }
.secure-note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.back-link { background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 8px 0; margin-top: 6px; }

/* credibility */
.cred { padding: 22px 20px; border-top: 1px solid var(--line); background: var(--panel); }
.cred-stars { color: #f5a623; font-size: 16px; font-weight: 700; }
.cred-stars span { color: var(--muted); font-size: 13px; font-weight: 500; margin-left: 6px; }
.cred-quote { font-size: 14px; color: var(--ink); font-style: italic; margin: 10px 0 18px; }
.carrier-label { font-size: 12px; color: var(--muted); }
/* Logo strip: real <img> logos where authorized files exist, text chips otherwise.
   Logos are normalized to a uniform height and softened so the row reads as a
   clean "trusted carriers" band rather than a clash of brand colors. */
.carrier-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 12px;
}
.carrier-logo {
  height: 26px; width: auto; max-width: 120px; object-fit: contain;
  filter: grayscale(100%); opacity: .65; transition: opacity .15s, filter .15s;
}
.carrier-logo:hover { filter: grayscale(0); opacity: 1; }
.carrier-chip {
  font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
}

/* footer */
.site-foot { padding: 22px 20px 40px; }
.disclaimer { font-size: 11px; color: var(--muted); line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 10px; }
.foot-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copyright { font-size: 11px; color: var(--muted); }

/* content pages (policy / thanks) */
.doc { max-width: 720px; margin: 0 auto; padding: 32px 22px 60px; background: var(--panel); min-height: 100vh; }
.doc h1 { font-size: 26px; letter-spacing: -.4px; }
.doc h2 { font-size: 18px; margin-top: 28px; }
.doc p, .doc li { font-size: 14px; color: #2a3142; line-height: 1.7; }
.doc a.home { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }
.doc .updated { color: var(--muted); font-size: 12px; }
.thanks-wrap { text-align: center; padding: 60px 24px; max-width: 520px; margin: 0 auto; }
.thanks-check { font-size: 56px; }
.thanks-wrap h1 { font-size: 26px; margin: 12px 0; }
.thanks-wrap p { color: var(--muted); font-size: 15px; }

@media (min-width: 600px) {
  .h1 { font-size: 34px; }
  .page { box-shadow: var(--shadow); margin-top: 0; }
}
