:root {
  --primary: #17324d;
  --primary-deep: #0c1f33;
  --primary-light: #2d5a88;
  --accent: #d5a84f;
  --accent-deep: #9c7425;
  --bg: #f6f8fb;
  --bg-2: #e8eef5;
  --surface: #fff;
  --ink: #16202b;
  --ink-soft: #3c4b5b;
  --muted: #667688;
  --border: #d4dde8;
  --max-w: 820px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--primary); line-height: 1.22; font-weight: 750; letter-spacing: 0; }
h1 { font-size: 2.65rem; margin: 0 0 1rem; }
h2 { font-size: 1.58rem; margin: 2.35rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.35rem 0 0.45rem; color: var(--primary-light); }
p { margin: 0 0 1rem; }
a { color: var(--primary-light); text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.38rem 0; }
strong { color: var(--ink); }
.re-container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.35rem; }
header.re-site { background: var(--primary-deep); color: #fff; border-bottom: 3px solid var(--accent); padding: 0.9rem 0; }
header.re-site .re-container { max-width: 1180px; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.re-brand { color: #fff; text-decoration: none; font-weight: 750; font-size: 1.1rem; white-space: nowrap; }
.re-brand:before { content: "$ "; color: var(--accent); }
.re-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.re-nav a { color: #e8eef5; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.re-nav a:hover { color: var(--accent); }
main.re-main { padding: 2rem 0 4rem; }
.re-hero { padding: 3.2rem 0 1.4rem; }
.re-tag { max-width: 680px; color: var(--muted); font-size: 1.17rem; }
.re-cta-button, .re-submit {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-deep);
  padding: 0.82rem 1.45rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.re-cta-button:hover, .re-submit:hover { background: var(--accent-deep); color: #fff; }
.re-card, .re-calc, .re-callout, .re-lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1.1rem 0;
  box-shadow: 0 1px 3px rgba(12, 31, 51, 0.06);
}
.re-callout { background: var(--bg-2); border-left: 4px solid var(--accent); }
.re-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.re-steps { counter-reset: step; list-style: none; padding-left: 0; }
.re-steps li { position: relative; padding-left: 2.6rem; margin: 1rem 0; }
.re-steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary-deep);
  font-weight: 750;
}
.re-calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.re-field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.re-field label { font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); font-size: 0.94rem; }
.re-field input, .re-field select, .re-field textarea {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.re-field input:focus, .re-field select:focus, .re-field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45, 90, 136, 0.15);
}
.re-required { color: var(--accent-deep); }
.re-result { margin-top: 1rem; padding: 1.1rem; border-radius: 6px; background: var(--primary); color: #fff; }
.re-result h3 { color: var(--accent); margin-top: 0; }
.re-result strong { color: #fff; }
.re-big { color: var(--accent); font-size: 2rem; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.re-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.re-table th, .re-table td { padding: 0.62rem 0.75rem; border: 1px solid var(--border); text-align: left; }
.re-table th { background: var(--primary); color: #fff; }
.re-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.re-sources, .re-note { font-size: 0.88rem; color: var(--ink-soft); }
.re-trust-bar { color: var(--muted); font-size: 0.9rem; font-style: italic; }
.re-status { margin-top: 1rem; min-height: 1.5rem; }
.re-status-ok { color: var(--primary); background: var(--bg-2); padding: 0.85rem 1rem; border-radius: 4px; }
footer.re-footer { background: var(--primary-deep); color: #e8eef5; padding: 2rem 0; margin-top: 4rem; font-size: 0.86rem; }
footer.re-footer a { color: var(--accent); }
#disclaimers p { margin: 0 0 0.5rem; color: #dbe5ef; }
@media (max-width: 760px) {
  header.re-site .re-container { flex-direction: column; align-items: flex-start; }
  .re-grid, .re-calc-inputs { grid-template-columns: 1fr; }
  .re-hero { padding: 2rem 0 1rem; }
  .re-hero h1, h1 { font-size: 1.9rem; }
  h2 { font-size: 1.32rem; }
  body { font-size: 15.5px; }
  .re-container { padding: 0 1rem; }
  .re-big { font-size: 1.65rem; }
}
