:root {
  --blue: #0a5cd8;
  --blue-dark: #0749ad;
  --navy: #082955;
  --ink: #101828;
  --muted: #667085;
  --line: #dfe6ee;
  --soft: #F4F6F8;
  --white: #fff;
  --green: #179c52;
  --red: #c93636;
  --shell: 1600px;
  --radius: 12px;
}

* { box-sizing: border-box; }
body *, body *::before, body *::after { box-shadow: none !important; text-shadow: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.shell { width: min(var(--shell), calc(100% - 60px)); margin-inline: auto; }
.shell--narrow { max-width: 1100px; }
.section-pad { padding: 92px 0; }
.skip-link { position: fixed; z-index: 100; top: -70px; left: 16px; padding: 11px 16px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid rgba(10,92,216,.34); outline-offset: 3px; }

.calculator-hero { padding: 26px 0 76px; background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.breadcrumb a:hover { color: var(--blue); }
.hero-copy { max-width: 980px; padding: 10px 0 36px; }
.hero-copy h1 { margin-bottom: 18px; color: var(--navy); font-size: clamp(42px,4.2vw,68px); line-height: 1.06; letter-spacing: -.045em; }
.hero-copy p { max-width: 850px; margin: 0; color: #475467; font-size: 18px; line-height: 1.75; }

.calculator-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.calculator-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.calculator-card__heading h2 { margin-bottom: 7px; color: var(--navy); font-size: 25px; }
.calculator-card__heading p { margin: 0; color: var(--muted); font-size: 14px; }
.calculator-card__heading > span { padding: 8px 12px; color: var(--green); background: #eef9f2; border: 1px solid #c9e9d5; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap; }

.finance-type { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 820px; padding: 27px 0; }
.finance-type legend, .term-field legend { margin-bottom: 11px; color: var(--navy); font-size: 14px; font-weight: 800; }
.finance-type label { position: relative; display: block; }
.finance-type input { position: absolute; opacity: 0; pointer-events: none; }
.finance-type label > span { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 13px 17px 13px 48px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.finance-type label > span::before { content: ""; position: absolute; top: 50%; left: 17px; width: 20px; height: 20px; border: 1px solid #b9c5d3; border-radius: 50%; transform: translateY(-50%); }
.finance-type input:checked + span { border-color: var(--blue); background: #f4f8ff; }
.finance-type input:checked + span::before { background: var(--blue); border: 0; }
.finance-type strong { color: var(--navy); font-size: 14px; }
.finance-type small { margin-top: 3px; color: var(--muted); font-size: 14px; }

.calculation-form-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; padding-top: 27px; border-top: 1px solid var(--line); }
.field { min-width: 0; }
.field > label { display: block; margin-bottom: 9px; color: var(--navy); font-size: 14px; font-weight: 800; }
.select-wrap { position: relative; }
.select-wrap.has-styled-select::after { display: none; }
.select-wrap > select { width: 100%; min-height: 56px; padding: 0 46px 0 16px; color: var(--ink); background: var(--white); border: 1px solid #cbd5e1; border-radius: 9px; appearance: none; }
.select-wrap::after { content: ""; position: absolute; top: 50%; right: 19px; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); pointer-events: none; transform: translateY(-70%) rotate(45deg); }
.field-error { display: none; margin-top: 7px; color: var(--red); font-size: 14px; }
.field.has-error .field-error { display: block; }
.field.has-error .styled-select__trigger, .field.has-error .money-input { border-color: var(--red); }
.field-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.styled-select__native { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.styled-select { position: relative; }
.styled-select__trigger { display: grid; width: 100%; min-height: 56px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 0 16px; color: var(--ink); background: var(--white); border: 1px solid #cbd5e1; border-radius: 9px; text-align: left; font-size: 14px; font-weight: 600; }
.styled-select__trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.styled-select__trigger i { width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.styled-select.is-open .styled-select__trigger { border-color: var(--blue); }
.styled-select.is-open .styled-select__trigger i { transform: translateY(2px) rotate(225deg); }
.styled-select.is-disabled .styled-select__trigger { color: #98a2b3; background: var(--soft); cursor: not-allowed; }
.styled-select__menu { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; left: 0; max-height: 310px; overflow-y: auto; padding: 7px; background: var(--white); border: 1px solid #cbd5e1; border-radius: 10px; }
.styled-select__menu[hidden] { display: none; }
.styled-select__option { display: block; width: 100%; min-height: 43px; padding: 10px 12px; color: #344054; background: transparent; border: 0; border-radius: 7px; text-align: left; font-size: 14px; }
.styled-select__option:hover, .styled-select__option:focus { color: var(--blue-dark); background: #eef4ff; outline: 0; }
.styled-select__option[aria-selected="true"] { color: var(--white); background: var(--blue); font-weight: 800; }
.styled-select__option:disabled { display: none; }

.vehicle-value { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; align-items: center; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.vehicle-value[hidden] { display: none; }
.vehicle-value span { color: var(--muted); font-size: 14px; font-weight: 700; }
.vehicle-value strong { grid-row: 1 / 3; grid-column: 2; color: var(--navy); font-size: 28px; }
.vehicle-value small { color: var(--muted); font-size: 14px; }
.credit-field { grid-column: span 2; }
.money-input { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 56px; align-items: center; overflow: hidden; background: var(--white); border: 1px solid #cbd5e1; border-radius: 9px; }
.money-input input { min-width: 0; height: 54px; padding: 0 16px; color: var(--ink); background: transparent; border: 0; outline: 0; font-weight: 700; }
.money-input input:disabled { color: #98a2b3; background: var(--soft); }
.money-input span { padding-right: 16px; color: var(--muted); font-size: 14px; font-weight: 800; }
.term-field { grid-column: 1 / -1; }
.term-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.term-options label { position: relative; }
.term-options input { position: absolute; opacity: 0; pointer-events: none; }
.term-options span { display: grid; min-height: 52px; place-items: center; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; }
.term-options input:checked + span { color: var(--white); background: var(--blue); border-color: var(--blue); }
.term-options input:disabled + span { color: #b2bbc7; background: var(--soft); cursor: not-allowed; }
.term-field > small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.calculate-button { grid-column: 1 / -1; display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 20px; color: var(--white); background: var(--blue); border: 0; border-radius: 9px; font-size: 15px; font-weight: 800; }
.calculate-button:hover { background: var(--blue-dark); }
.calculator-note { display: flex; align-items: center; gap: 9px; margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.calculator-note span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; color: var(--blue); border: 1px solid #b9d1f2; border-radius: 50%; font-size: 14px; font-weight: 800; }

.result-card { margin-top: 20px; padding: 30px; background: var(--white); border: 1px solid #b6cae4; border-radius: var(--radius); }
.result-card[hidden] { display: none; }
.result-card header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.result-card header span { color: var(--blue); font-size: 14px; font-weight: 800; }
.result-card h2 { margin: 5px 0 0; color: var(--navy); font-size: 22px; }
.result-card header button { padding: 11px 15px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 800; }
.result-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.result-grid > div { padding: 24px 22px; border-right: 1px solid var(--line); }
.result-grid > div:first-child { padding-left: 0; }
.result-grid > div:last-child { border-right: 0; }
.result-grid span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 14px; }
.result-grid strong { color: var(--navy); font-size: 24px; }
.result-card > p { margin: 0; padding-top: 20px; color: #475467; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.result-card > p.is-alert { color: var(--red); }

.content-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(330px,.6fr); gap: 80px; align-items: start; }
.seo-content h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(32px,3.4vw,48px); line-height: 1.16; letter-spacing: -.04em; }
.seo-content h3 { margin: 42px 0 14px; color: var(--navy); font-size: 25px; line-height: 1.35; }
.seo-content > p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.limit-table { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.limit-row { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(100px,.5fr) minmax(100px,.5fr); border-bottom: 1px solid var(--line); }
.limit-row:last-child { border-bottom: 0; }
.limit-row > * { padding: 15px 18px; color: #475467; font-size: 14px; }
.limit-row strong { color: var(--navy); border-left: 1px solid var(--line); }
.limit-row--head { background: var(--soft); }
.limit-row--head span { color: var(--navy); font-weight: 800; }
.info-band { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 13px; margin-top: 32px; padding: 19px; background: var(--soft); border-left: 3px solid var(--blue); border-radius: 0 9px 9px 0; }
.info-band > span { display: grid; width: 28px; height: 28px; place-items: center; color: var(--blue); border: 1px solid #b9d1f2; border-radius: 50%; font-weight: 800; }
.info-band p { margin: 1px 0 0; color: #475467; font-size: 14px; line-height: 1.7; }
.info-band a { color: var(--blue); font-weight: 800; }
.info-band a:hover { color: var(--blue-dark); }
.document-list { display: grid; gap: 11px; padding: 0; list-style: none; }
.document-list li { position: relative; padding-left: 27px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.document-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.guide-card { position: sticky; top: 24px; padding: 29px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card > span { display: block; margin-bottom: 24px; color: var(--navy); font-size: 20px; font-weight: 800; }
.guide-card ol { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.guide-card li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; }
.guide-card li > b { display: grid; width: 42px; height: 42px; place-items: center; color: var(--blue); background: var(--white); border: 1px solid #c8d8ec; border-radius: 50%; font-size: 14px; }
.guide-card strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 14px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.guide-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: 25px; padding-top: 20px; color: var(--blue); border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; }

.faq { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 42px; }
.section-heading--center { max-width: 800px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2 { margin-bottom: 14px; color: var(--navy); font-size: clamp(34px,4vw,48px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.accordion { display: grid; gap: 14px; }
.accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.accordion-item h3 { margin: 0; }
.accordion-item button { display: grid; width: 100%; min-height: 72px; grid-template-columns: minmax(0,1fr) 24px; align-items: center; gap: 20px; padding: 0 28px; color: var(--navy); background: var(--white); border: 0; text-align: left; font-size: 15px; font-weight: 800; }
.accordion-item i { position: relative; width: 18px; height: 18px; }
.accordion-item i::before, .accordion-item i::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 2px; background: var(--blue); }
.accordion-item i::after { transform: rotate(90deg); transition: transform .2s; }
.accordion-item.is-open i::after { transform: rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.accordion-panel > p { margin: 0; padding: 0 28px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.75; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.is-open .accordion-panel > p { padding: 0 28px 26px; }

.home-blog { background: var(--soft); border-top: 1px solid var(--line); }
.blog-header { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 38px; }
.blog-header h2 { max-width: 700px; margin-bottom: 15px; color: var(--navy); font-size: clamp(30px,4vw,43px); line-height: 1.2; letter-spacing: -.04em; }
.blog-header > div > p:last-child { max-width: 690px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.all-posts { display: inline-flex; min-height: 50px; align-items: center; gap: 22px; padding: 0 17px; color: var(--white); background: var(--navy); border-radius: 7px; font-size: 14px; font-weight: 800; }
.all-posts:hover { background: var(--blue); }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.blog-card { min-width: 0; padding: 17px; background: var(--white); border: 1px solid #e3e9f0; border-radius: 10px; }
.blog-card__image { position: relative; display: block; aspect-ratio: 16/10; margin-bottom: 17px; overflow: hidden; background: #e7ecf2; border-radius: 7px; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card__image span { position: absolute; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; place-items: center; color: var(--navy); background: var(--white); border-radius: 50%; font-weight: 800; transform: translate(-50%,-50%); transition: background .2s,color .2s; }
.blog-card:hover .blog-card__image img { transform: scale(1.03); }
.blog-card:hover .blog-card__image span { color: var(--white); background: var(--blue); }
.blog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.blog-meta b { color: var(--blue); }
.blog-meta time { color: #7c8999; }
.blog-card h3 { margin-bottom: 8px; color: var(--navy); font-size: 18px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 1050px) {
  .calculation-form-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vehicle-value, .term-field, .calculate-button { grid-column: 1 / -1; }
  .credit-field { grid-column: auto; }
  .content-grid { grid-template-columns: 1fr; gap: 50px; }
  .guide-card { position: static; }
  .result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .result-grid > div:nth-child(2) { border-right: 0; }
  .result-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .result-grid > div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 36px,var(--shell)); }
  .section-pad { padding: 72px 0; }
  .calculator-card { padding: 25px; }
  .calculation-form-form { grid-template-columns: 1fr; }
  .credit-field { grid-column: 1; }
  .finance-type { grid-template-columns: 1fr; }
  .vehicle-value { grid-template-columns: 1fr; text-align: center; }
  .vehicle-value strong { grid-row: auto; grid-column: auto; }
  .term-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { grid-template-columns: 1fr; align-items: start; justify-items: center; text-align: center; }
  .blog-header h2, .blog-header > div > p:last-child { margin-right: auto; margin-left: auto; }
  .all-posts { justify-self: center; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px,var(--shell)); }
  .section-pad { padding: 58px 0; }
  .calculator-hero { padding: 18px 0 54px; }
  .breadcrumb { justify-content: center; font-size: 13px; text-align: center; }
  .hero-copy { padding-top: 10px; text-align: center; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy p { font-size: 16px; line-height: 1.65; }
  .calculator-card { padding: 20px; }
  .calculator-card__heading { flex-direction: column; align-items: center; text-align: center; }
  .calculator-card__heading > span { align-self: center; }
  .finance-type legend, .term-field legend { width: 100%; text-align: center; }
  .finance-type label > span { text-align: left; }
  .styled-select__menu { position: fixed; z-index: 50; top: auto; right: 14px; bottom: 14px; left: 14px; max-height: min(70vh,520px); border-radius: 14px; }
  .styled-select__option { min-height: 48px; }
  .calculator-note { align-items: flex-start; justify-content: center; text-align: center; }
  .result-card { padding: 22px; }
  .result-card header { flex-direction: column; text-align: center; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid > div { padding: 19px 0; border-right: 0; border-top: 1px solid var(--line); text-align: center; }
  .result-grid > div:first-child { border-top: 0; }
  .result-card > p { text-align: center; }
  .seo-content { text-align: center; }
  .seo-content h2 { font-size: 32px; }
  .seo-content h3 { font-size: 23px; }
  .limit-table { text-align: left; }
  .limit-row { grid-template-columns: minmax(0,1.4fr) minmax(75px,.5fr) minmax(75px,.5fr); }
  .limit-row > * { padding: 12px 9px; font-size: 13px; }
  .info-band { grid-template-columns: 1fr; justify-items: center; border-left: 0; border-top: 3px solid var(--blue); border-radius: 0 0 9px 9px; }
  .document-list { display: inline-grid; text-align: left; }
  .guide-card { text-align: center; }
  .guide-card li { grid-template-columns: 1fr; justify-items: center; }
  .guide-card > a { justify-content: center; gap: 14px; }
  .section-heading h2 { font-size: 34px; }
  .accordion-item button { min-height: 68px; padding: 0 19px; font-size: 14px; }
  .accordion-panel > p { text-align: center; }
  .accordion-item.is-open .accordion-panel > p { padding: 0 19px 22px; }
  .blog-header h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
