/* APPR Check — placeholder brand. Rebrand via the CSS variables below. */
:root {
  --brand: #b31942;        /* Canadian red, used sparingly */
  --brand-dark: #8c1233;
  --ink: #1a202c;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --wash: #f6f7f9;
  --wash-blue: #eef3f8;
  --line: #d9dee5;
  --good: #14663a;
  --good-bg: #e7f5ec;
  --maybe: #8a5a00;
  --maybe-bg: #fdf3dd;
  --no: #7a2e2e;
  --no-bg: #fbeeee;
  --radius: 10px;
  --maxw: 1060px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--paper); line-height: 1.6; font-size: 17px;
}
a { color: var(--brand-dark); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo .dot { color: var(--brand); }
.logo small { display: block; font-weight: 500; font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.main-nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-dark); text-decoration: underline; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: none; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.secondary { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Hero + sections */
.hero { background: var(--wash-blue); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 2.3rem; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin: 0 0 24px; }
section { padding: 44px 0; }
section.alt { background: var(--wash); }
h2 { font-size: 1.6rem; letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 22px 0 8px; }
p { margin: 0 0 14px; }
.small { font-size: 0.88rem; color: var(--ink-soft); }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 1.8rem; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
table.amounts { width: 100%; border-collapse: collapse; margin: 12px 0 18px; background: var(--paper); }
table.amounts th, table.amounts td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
table.amounts th { background: var(--wash-blue); }
.notice { border-left: 4px solid var(--brand); background: var(--wash); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0; }
ul.tight li { margin-bottom: 6px; }

/* Checker */
.checker-shell { max-width: 760px; margin: 0 auto; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress > div { height: 100%; background: var(--brand); width: 0%; transition: width 0.25s ease; }
.step { display: none; }
.step.active { display: block; }
.step h2 { margin-bottom: 6px; }
fieldset { border: none; padding: 0; margin: 0 0 8px; }
legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.option {
  display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px; cursor: pointer; background: var(--paper);
}
.option:hover { border-color: var(--brand); }
.option input { margin-top: 4px; }
.option:has(input:checked) { border-color: var(--brand); background: #fdf1f4; }
.step-nav { display: flex; gap: 12px; margin-top: 20px; }
select, input[type="date"], input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff;
}
label.field { display: block; font-weight: 600; margin: 16px 0 6px; }
label.field .req { color: var(--brand); }
.help { font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; display: block; margin-top: 2px; }

/* Result */
.result { border-radius: var(--radius); padding: 24px; margin-top: 10px; border: 1px solid var(--line); }
.result.likely { background: var(--good-bg); border-color: var(--good); }
.result.possibly { background: var(--maybe-bg); border-color: var(--maybe); }
.result.unlikely { background: var(--no-bg); border-color: var(--no); }
.result .verdict { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.result .est { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.result blockquote.rule { margin: 14px 0; padding: 10px 14px; background: rgba(255,255,255,0.65); border-left: 4px solid var(--ink-soft); font-size: 0.95rem; }

/* Forms */
.form-card { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
.checkbox-row input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.demo-banner { background: #fff8e1; border: 1px dashed #c9a227; border-radius: var(--radius); padding: 12px 16px; font-size: 0.92rem; margin-bottom: 18px; }
.error { color: var(--no); font-size: 0.9rem; font-weight: 600; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; background: var(--paper); }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--wash); padding: 34px 0; margin-top: 20px; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* Visual upgrade 2026-11-27: hero image, chips, amount cards, icons, timeline */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.hero-img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: 0.9rem; }
.amt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; }
@media (max-width: 800px) { .amt-cards { grid-template-columns: 1fr; } }
.amt-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--wash-blue); }
.amt-card .when { font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); }
.amt-card .big { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.amt-card .per { font-size: 0.88rem; color: var(--ink-soft); }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--wash-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.icon-badge svg { width: 24px; height: 24px; stroke: var(--brand-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tsteps { margin-top: 10px; }
.tstep { display: flex; gap: 16px; margin-bottom: 18px; }
.tnum { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.tbody { background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; flex: 1; }
.tbody h3 { margin-top: 0; }
.tbody p:last-child { margin-bottom: 0; }
.banner-img { width: 100%; height: 230px; object-fit: cover; object-position: center 30%; display: block; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 22px; }
@media (max-width: 800px) { .banner-img { height: 160px; } }
