/* Noovo RV Loan Calculator page. Tokens read from noovolife.com on 21 Oct 2026. */
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --black: #131211;
  --ink: #333333;
  --muted: #6F6E6C;
  --muted-on-dark: #B5B3AF;
  --cream: #F9F7F4;
  --cream-2: #F7F5F0;
  --line: #E4E1DA;
  --amber: #FFAC00;
  --amber-2: #FFB31A;
  --dark: #1A1A1A;
  --brown: #8B6B45;
  --white: #FFFFFF;
  --radius-card: 24px;
  --radius-input: 14px;
  --max: 1240px;
  --prose: 760px;
  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber); }
strong { font-weight: 600; color: var(--black); }
h1, h2, h3 { font-weight: 400; color: var(--black); margin: 0; }
h1 { font-size: 60px; line-height: 1.05; letter-spacing: -2.5px; }
h2 { font-size: 35px; line-height: 1.15; letter-spacing: -1.75px; }
h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.8px; }
p { margin: 0 0 20px; }
ul, ol { margin: 0 0 24px; padding-left: 26px; }
li { margin-bottom: 10px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--prose); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: Noovo pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 25px; border-radius: 9999px;
  font: 500 14px/1 var(--font); color: var(--black); text-decoration: none;
  background: var(--white); border: 1px solid var(--line); cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: var(--black); }
.btn-amber { background: var(--amber); border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-2); }
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2826; color: var(--white); }
.btn-cream { background: var(--cream); border-color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Preview strip (remove on integration) */
.preview-strip {
  background: var(--dark); color: var(--muted-on-dark); font-size: 12px; line-height: 18px;
  text-align: center; padding: 6px 16px;
}
.preview-strip a { color: var(--white); }

/* Header */
.site-header { padding: 16px 20px 0; position: sticky; top: 0; z-index: 50; background: linear-gradient(var(--white) 70%, rgba(255,255,255,0)); }
.header-bar {
  max-width: 1400px; margin: 0 auto; background: var(--white); border-radius: 20px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.18), 0 1px 0 var(--line) inset;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px;
}
.logo { display: inline-flex; align-items: center; color: var(--black); text-decoration: none; }
.logo svg { height: 20px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: 28px; margin-right: auto; }
.main-nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--black); }
.main-nav a:hover { color: var(--amber); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--black); margin: 6px 0; border-radius: 2px; }
.mobile-nav { display: none; }
.mobile-nav.open { display: block; max-width: 1400px; margin: 8px auto 0; background: var(--white); border-radius: 20px; padding: 16px 24px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.18); }
.mobile-nav a { display: block; padding: 10px 0; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero .lede { max-width: var(--prose); font-size: 22px; line-height: 34px; color: var(--ink); margin: 0; }
.hero .meta-line { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 16px; }

/* Calculator */
.calc-section { padding: 24px 0 64px; }
.calc {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: start;
}
.calc > * { min-width: 0; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px;
}
.card .card-title { font-size: 24px; letter-spacing: -0.8px; margin-bottom: 20px; line-height: 1.2; }
.field { margin-bottom: 22px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.field label, .field .label { font-size: 15px; font-weight: 500; color: var(--black); line-height: 22px; }
.field .hint { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 6px; }
.input-wrap {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-input);
  background: var(--white); height: 56px; padding: 0 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.input-wrap:focus-within { border-color: var(--black); box-shadow: 0 0 0 3px rgba(255,172,0,.25); }
.input-wrap .affix { font-size: 18px; color: var(--muted); font-weight: 500; }
.input-wrap input {
  flex: 1 1 0; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 22px/1 var(--font);
  color: var(--black); padding: 0 8px; text-align: left;
}
.input-wrap input::-webkit-outer-spin-button, .input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 9999px;
  border: 1px solid var(--line); background: var(--white); font: 500 14px/1 var(--font); color: var(--black); cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chip .chip-sub { font-weight: 400; opacity: .7; }
.model-chips .chip { height: 48px; padding: 0 16px 0 8px; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 9999px; padding: 3px; }
.toggle button { border: 0; background: none; font: 500 13px/1 var(--font); padding: 7px 12px; border-radius: 9999px; cursor: pointer; color: var(--black); }
.toggle button[aria-pressed="true"] { background: var(--black); color: var(--white); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--line); border-radius: 2px; margin: 14px 0 4px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(255,172,0,.35); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
details.advanced { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
details.advanced summary { cursor: pointer; font-size: 15px; font-weight: 500; color: var(--black); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.advanced summary::-webkit-details-marker { display: none; }
details.advanced summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
details.advanced[open] summary::after { content: "\2212"; }
details.advanced .field { margin-top: 18px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.switch input:checked + .track { background: var(--amber); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 3px rgba(255,172,0,.35); }
.credit-help { margin-top: 10px; }
.credit-help .label-small { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.link-btn { background: none; border: 0; font: 500 14px/1 var(--font); color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; }

/* Results */
.results { background: var(--black); color: var(--white); border-radius: var(--radius-card); padding: 32px; position: sticky; top: 100px; }
.results .eyebrow { font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 6px; }
.results .big { font-size: 64px; line-height: 1; letter-spacing: -2.5px; font-weight: 500; color: var(--white); }
.results .big small { font-size: 20px; letter-spacing: 0; color: var(--muted-on-dark); font-weight: 400; margin-left: 6px; }
.results .sub { font-size: 14px; line-height: 22px; color: var(--muted-on-dark); margin-top: 10px; min-height: 22px; }
.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; margin: 26px 0 8px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.stat .k { font-size: 13px; color: var(--muted-on-dark); line-height: 18px; }
.stat .v { font-size: 24px; font-weight: 500; letter-spacing: -0.6px; line-height: 1.2; margin-top: 2px; }
.stat .v.amber { color: var(--amber); }
.extra-line { margin-top: 10px; font-size: 14px; line-height: 22px; color: var(--amber); display: none; }
.extra-line.show { display: block; }
.chart { margin-top: 24px; }
.chart .chart-title { font-size: 13px; color: var(--muted-on-dark); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted-on-dark); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.results .disclaimer { font-size: 12px; line-height: 18px; color: var(--muted-on-dark); margin: 22px 0 0; }
.results .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.results .btn-ghost { background: transparent; border-color: rgba(255,255,255,.3); color: var(--white); }
.results .btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* Compare table and schedule */
.compare { margin-top: 24px; }
.compare .card-title { margin-bottom: 6px; }
.compare .lead { font-size: 15px; line-height: 24px; color: var(--muted); margin-bottom: 18px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
th { background: var(--dark); color: var(--white); text-align: left; font-weight: 500; padding: 14px 16px; }
th:first-child { border-radius: 12px 0 0 0; } th:last-child { border-radius: 0 12px 0 0; }
td { border: 1px solid var(--line); padding: 14px 16px; vertical-align: top; color: var(--ink); }
td strong { font-weight: 600; }
tr.highlight td { background: var(--cream); }
.compare td.num, .compare th.num { text-align: right; font-variant-numeric: tabular-nums; }
details.schedule summary { cursor: pointer; font-size: 15px; font-weight: 500; color: var(--black); padding: 12px 0; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.schedule summary::-webkit-details-marker { display: none; }
details.schedule summary::before { content: "+"; font-size: 20px; color: var(--muted); }
details.schedule[open] summary::before { content: "\2212"; }
.schedule table { font-size: 15px; }
.source { font-size: 14px; line-height: 22px; color: var(--muted); margin: -4px 0 28px; }

/* Photo band */
.band { margin: 24px 0 64px; }
.band figure { margin: 0; border-radius: var(--radius-card); overflow: hidden; }
.band img { width: 100%; height: 520px; object-fit: cover; }
.band figcaption { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 12px; }

/* Content */
.content { padding: 0 0 48px; }
.content section { margin-bottom: 64px; }
.content h2 { margin-bottom: 22px; }
.content h3 { margin: 28px 0 12px; }
.callout {
  background: var(--cream); border-left: 4px solid var(--brown); border-radius: 0 14px 14px 0;
  padding: 22px 26px; margin: 8px 0 30px;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 12px; }
ol.steps { counter-reset: step; list-style: none; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 18px; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber); color: var(--black); font: 500 15px/34px var(--font); text-align: center;
}
.content .table-wrap { margin: 8px 0 12px; }

/* FAQ */
.faq { background: var(--cream); padding: 72px 0; }
.faq h2 { font-size: 48px; letter-spacing: -2px; margin-bottom: 32px; max-width: 760px; }
.faq-list { max-width: 860px; }
.faq-item { background: var(--white); border-radius: 18px; margin-bottom: 12px; border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; line-height: 26px; font-weight: 500; letter-spacing: 0; margin: 0; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--black); flex: none; width: 24px; text-align: center; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .answer { padding: 0 24px 22px; font-size: 17px; line-height: 28px; }
.faq-item .answer p { margin: 0; }

/* Footer */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid a { display: block; text-decoration: none; margin-bottom: 8px; color: var(--black); }
.footer-grid a:hover { color: var(--amber); }
.footer-brand .logo svg { height: 24px; }
.footer-brand p { margin: 16px 0 0; color: var(--ink); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-legal a { color: var(--muted); text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .results { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .header-actions .btn-cream { display: none; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 28px; }
  h1 { font-size: 40px; letter-spacing: -1.6px; }
  h2 { font-size: 28px; letter-spacing: -1.1px; }
  h3 { font-size: 22px; }
  .hero { padding: 40px 0 24px; }
  .hero .lede { font-size: 18px; line-height: 28px; }
  .site-header { padding: 10px 12px 0; }
  .header-bar { padding: 12px 16px; border-radius: 16px; }
  .main-nav, .header-actions .btn-cream { display: none; }
  .menu-btn { display: block; }
  .card, .results { padding: 22px; border-radius: 20px; }
  .results .big { font-size: 48px; letter-spacing: -1.8px; }
  .row-2 { grid-template-columns: 1fr; }
  .input-wrap input { font-size: 20px; }
  .band img { height: 260px; }
  .faq { padding: 48px 0; }
  .faq h2 { font-size: 32px; letter-spacing: -1.3px; }
  table { font-size: 15px; }
  th, td { padding: 10px 12px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
