:root {
  --bg: #fff;
  --focus: #a6640e;
  --error: #992a1b;
  --input-border: #72806b;
  color-scheme: light;
  --ink: #20342b;
  --muted: #59655e;
  --green: #66b72c;
  --green-hover: #5fae28;
  --green-text: #397019;
  --on-green: #172b0d;
  --lime: #e5efc7;
  --pale: #f0f5e9;
  --line: #dce3d7;
  --surface: #f7f8f5;
  --radius: 10px;
  --small-radius: 6px;
  --container: 1200px;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.045em;
  word-spacing: 0.025em;
}

h1 {
  font-size: clamp(38px, 5.2vw, 66px);
}

h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 22px;
}

p {
  margin-bottom: 20px;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.55;
}

button:active,
.button:active {
  transform: translateY(1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

svg.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

ul,
ol {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.section-space {
  padding-block: 60px;
}

.display {
  font-size: 32px;
  margin-bottom: 20px;
}

.section-intro {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}

.fine {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-height: 48px;
}

.text-link:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  border-radius: var(--small-radius);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.primary {
  background: var(--green);
  color: var(--on-green);
}

.primary:hover {
  background: var(--green-hover);
}

.secondary {
  background: var(--bg);
  border-color: var(--line);
}

.secondary:hover {
  background: var(--pale);
}

.full {
  width: 100%;
}

.site-header {
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 90px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 205px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding-block: 15px;
}

.desktop-nav a:hover {
  color: var(--green-text);
  text-decoration: underline;
}

.account {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.account .icon {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
}

.mobile-menu:not([hidden]) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}

.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  min-height: 48px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--bg);
  padding: 15px;
}

.skip-link:focus {
  top: 15px;
}

.hero {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: start;
  padding-block: 48px;
}

.hero-copy {
  padding-block: 36px 0;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.16;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--ink);
  display: block;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  min-height: 48px;
}

.hero-link .icon {
  width: 17px;
  height: 17px;
}

.loan-calculator {
  background: var(--surface);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.calc-heading {
  display: block;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 24px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  gap: 4px;
  background: var(--pale);
  border-radius: 10px;
  margin-bottom: 14px;
}

.segmented button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 40px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.segmented button[aria-pressed="true"] {
  background: var(--green);
  color: var(--on-green);
}

.calc-field label,
.term-field label {
  font-size: 12px;
  color: var(--muted);
}

.calc-field label {
  display: block;
  margin-bottom: 0;
}

.amount-entry {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amount-entry input {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--ink);
  height: 43px;
  appearance: textfield;
  min-width: 0;
  line-height: 1.15;
}

.amount-entry input::-webkit-inner-spin-button {
  appearance: none;
}

.amount-entry > span {
  font-size: 28px;
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 8px 0 0;
  accent-color: var(--green-text);
  cursor: pointer;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.input-error {
  color: var(--error);
  font-size: 12px;
  margin: 4px 0 0;
  min-height: 0;
}

.input-error:empty {
  display: none;
}

.term-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 10px;
}

.term-field select {
  border: 0;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  min-height: 44px;
  color: var(--ink);
}

.rate-settings {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.rate-settings summary {
  font-size: 11px;
  font-weight: 500;
  min-height: 30px;
  padding: 5px 0;
  border: 0;
  gap: 12px;
  line-height: 1.4;
}

.rate-settings summary:after {
  font-size: 15px;
}

.rate-settings input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rate-settings p {
  font-size: 11px;
  margin: 10px 0;
}

.calc-total {
  padding: 12px 0;
  margin: 5px 0 10px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.calc-total > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.calc-total span {
  font-size: 11px;
  color: var(--muted);
}

.calc-total strong {
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.calc-total b {
  font-size: 12px;
  font-weight: 600;
}

.calc-note {
  font-size: 10px !important;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 12px 0 0;
  margin-top: 10px;
}

.products-section {
  padding-bottom: 68px;
}

.club-section {
  background: var(--pale);
  border-block: 1px solid var(--line);
}

.club-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 80px;
  align-items: start;
}

.club-copy .fine {
  margin: 16px 0 0;
  max-width: 390px;
}

.repay-shortcut {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}

.repay-shortcut h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.repay-shortcut p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.repay-shortcut .button {
  margin-left: auto;
}

summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  min-height: 60px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.45;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  font-size: 25px;
  line-height: 1;
  flex: none;
  font-weight: 400;
  color: var(--green-text);
}

details[open] > summary:after {
  content: "−";
}

details > summary:hover {
  color: var(--green-text);
}

.info-disclosure {
  border-bottom: 1px solid var(--line);
}

.info-disclosure:first-of-type {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.info-disclosure .container {
  width: 100%;
}

.info-body {
  padding: 0 0 24px;
  max-width: 880px;
}

.info-body p,
.info-body li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.info-body h3 {
  font-size: 21px;
  margin: 22px 0 12px;
}

.info-body ul {
  padding-left: 22px;
}

.info-body .section-text2__list,
.info-body .advantages {
  display: block;
}

.info-body section {
  padding: 0;
}

.section-sm {
  padding: 35px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-sm h2 {
  font-size: 25px;
}

.section-sm ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.section-sm li {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.section-sm li:last-child {
  border: 0;
}

.section-sm h3 {
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: 0;
  color: var(--muted);
}

.section-sm p {
  font-size: 12px;
  line-height: 1.8;
}

.section-sm .btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green);
  color: var(--on-green);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  min-height: 48px;
  border: 0;
}

.section-sm .btn:hover,
.btn:hover {
  background: var(--green-hover);
}

.section-sm__list {
  font-size: 20px;
  font-weight: 600;
}

.rating-section {
  padding: 42px 0;
}

.rating-section .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px 42px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}

.rating-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.rating-section h2 {
  font-size: 23px;
  max-width: 250px;
  margin: 0;
}

.rating-section__header > .rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-section__header .rating__val {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.rating__vote {
  font-size: 11px;
  color: var(--muted);
}

.company-rating {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.company-rating .rating {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating__caption {
  font-size: 11px;
  color: var(--muted);
}

.company-rating .rating__val {
  font-size: 20px;
  font-weight: 700;
}

.rating-section .fine {
  grid-column: 1/-1;
  margin: 0;
}

.section-faq {
  padding-top: 35px;
}

.section-faq .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 65px;
}

.section-faq h2 {
  font-size: 32px;
  max-width: 370px;
}

.faq-items details {
  border-bottom: 1px solid var(--line);
}

.faq-items summary {
  font-size: 16px;
  padding: 22px 0;
}

.faq-items details:first-child summary {
  padding-top: 0;
}

.faq-answer {
  font-size: 14px;
  color: var(--muted);
  padding: 0 0 22px;
  line-height: 1.85;
}

.section-news {
  background: var(--surface);
}

.section-news h2 {
  font-size: 34px;
  margin-bottom: 32px;
}

.section-news ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
}

.section-news li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-news time,
.section-news__date,
.news__date {
  font-size: 12px;
  color: var(--muted);
}

.section-news h3 {
  font-size: 22px;
  margin: 15px 0;
  line-height: 1.35;
}

.section-news h3 a {
  text-decoration: none;
  font-size: inherit;
}

.section-news p {
  font-size: 13px;
  color: var(--muted);
}

.section-news a {
  font-size: 13px;
}

.section-news__btn {
  margin-top: 28px;
}

.section-reviews h2 {
  font-size: 34px;
  margin-bottom: 0;
}

.review-disclosure {
  margin-bottom: 32px;
  border-block: 1px solid var(--line);
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.testimonial__name {
  font-size: 16px;
  font-weight: 700;
}

.testimonial__date {
  font-size: 12px;
  color: var(--muted);
}

.testimonial__rating {
  display: flex;
  gap: 30px;
  grid-column: 1/-1;
}

.testimonial__rating > .rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial__rating .rating__val {
  font-size: 12px;
  font-weight: 700;
}

.testimonial__text,
.testimonial__plus,
.testimonial__minus {
  grid-column: 1/-1;
  color: var(--muted);
  max-width: 850px;
  line-height: 1.85;
}

.testimonial__plus,
.testimonial__minus {
  font-size: 12px;
}

.testimonial-btn {
  margin-top: 25px;
}

.review-form {
  max-width: 900px;
  background: var(--surface);
  padding: 26px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.preview-note,
.notice {
  padding: 16px 20px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}

.review-form__stars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.select-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.select-rate input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.select-rate label {
  width: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  background: var(--bg);
}

.select-rate input:checked + label {
  background: var(--green);
  color: var(--on-green);
}

.select-rate input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.review-form__textarea-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-form textarea {
  min-height: 95px;
  width: 100%;
  resize: vertical;
}

.review-form textarea:first-child {
  grid-column: 1/-1;
  min-height: 130px;
}

.review-form input:not([type="radio"]):not([type="submit"]),
.review-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: var(--muted);
}

.review-form__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.review-form__input {
  flex: 1;
  min-width: 150px;
}

.review-form__input input {
  width: 100%;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}

.form-result {
  font-size: 13px;
  color: var(--green-text);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  font-size: 12px;
  color: var(--muted);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  gap: 10px 20px;
  margin-top: 28px;
}

.footer__nav a {
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__right-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer__contacts a {
  display: inline-block;
  padding-block: 4px;
}

.footer__contacts p {
  margin-top: 15px;
}

.footer__right-bottom {
  list-style: none;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 25px;
  border-top: 1px solid var(--line);
}

.footer__social {
  font-size: 10px;
  display: block;
}

.footer__social .social {
  display: grid;
  gap: 7px;
}

.footer__social a {
  font-size: 10px;
}

.legal-bottom {
  padding-block: 24px;
  color: var(--muted);
  font-size: 11px;
}

.legal-bottom p {
  margin-bottom: 10px;
  max-width: 1050px;
}

.mobile-dock {
  display: none;
}

.preview-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  line-height: 24px;
  background: #f2f5e9ef;
  color: #53604e;
  border-top: 1px solid var(--line);
  z-index: 40;
}

.page-head {
  background: var(--bg);
  padding: 36px 0 52px;
  border-block: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  max-width: 1000px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.page-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.breadcrumbs {
  font-size: 11px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-bottom: 32px;
}

.breadcrumbs a {
  text-decoration: none;
}

.legacy-page > .section-reviews {
  padding: 50px 0;
}

.legacy-page .full-text {
  max-width: 860px;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.legacy-page .full-text h2 {
  font-size: 28px;
  margin: 35px 0 18px;
}

.legacy-page .full-text h3 {
  font-size: 23px;
}

.legacy-page .full-text p,
.legacy-page .full-text li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.legacy-page .full-text a {
  color: var(--green-text);
}

.legacy-page .full-text a.btn {
  color: var(--on-green);
}

.legacy-page .top-section__inner {
  max-width: 1200px;
}

.legacy-page > .section-news {
  background: var(--bg);
  padding: 50px 0;
}

.legacy-page .news-full,
.legacy-page .news-text {
  max-width: 860px;
  margin-inline: auto;
}

.page-cta {
  padding: 26px;
  background: var(--pale);
  border-radius: 16px;
  margin-top: 32px;
}

.page-cta p {
  margin-bottom: 18px;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  overscroll-behavior-inline: contain;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

caption {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  min-width: 150px;
}

th {
  background: var(--pale);
  font-weight: 600;
}

tr th:first-child {
  min-width: 220px;
}

.full-text svg {
  max-width: 100%;
  height: auto;
}

.full-text figure {
  margin: 25px 0;
}

.full-text figcaption {
  font-size: 12px;
  color: var(--muted);
}

.lim-note,
.calc-note {
  font-size: 12px;
}

.calculator-page {
  display: grid;
  grid-template-columns: 1fr 434px;
  gap: 80px;
  align-items: start;
  padding-block: 50px;
}

.calculator-page > div:first-child {
  padding-top: 20px;
  max-width: 450px;
}

.calculator-page p {
  color: var(--muted);
}

#calc {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-block: 28px;
}

#calc label {
  display: block;
  margin: 16px 0 6px;
  font-size: 13px;
}

#calc input {
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  min-height: 48px;
}

#calc-out {
  padding: 18px;
  background: var(--bg);
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

#calc-out div {
  margin: 6px 0;
}

.editorial {
  max-width: 860px;
  margin: 50px auto 0;
}

.editorial h2 {
  margin-top: 35px;
}

.editorial p {
  color: var(--muted);
  line-height: 1.85;
}

.editorial details {
  border-bottom: 1px solid var(--line);
}

.editorial details p {
  font-size: 14px;
  padding-bottom: 14px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}

.product-detail-copy > .icon {
  width: 48px;
  height: 48px;
  color: var(--green-text);
  margin-bottom: 0;
}

.product-detail-copy p,
.product-detail-copy li {
  color: var(--muted);
  font-size: 15px;
}

.product-detail-copy h3 {
  margin-top: 30px;
}

.product-spec {
  margin: 0;
  background: var(--pale);
  padding: 30px;
  border-radius: 10px;
}

.product-spec > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.product-spec > div:first-child {
  padding-top: 0;
}

.product-spec > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-spec dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.product-spec dd {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.related {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 36px;
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.related a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: 14px;
}

.loyalty-levels {
  display: block;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.loyalty-level {
  padding: 24px 0;
  background: none;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(
      220px,
      2fr
    );
  gap: 24px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.loyalty-level:nth-child(2) {
  background: none;
}

.loyalty-level:nth-child(3) {
  background: none;
}

.loyalty-level h2 {
  font-size: 22px;
  margin-bottom: 15px;
  margin: 0;
}

.loyalty-level strong {
  font-size: 13px;
  font-weight: 500;
}

.loyalty-level p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.loyalty-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.loyalty-demo h2 {
  font-size: 35px;
}

.loyalty-demo p {
  font-size: 14px;
  color: var(--muted);
}

.loyalty-fields label {
  display: block;
  font-size: 12px;
  margin: 0 0 7px;
}

.loyalty-fields input,
.loyalty-fields select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 20px;
  color: var(--ink);
  min-height: 48px;
}

.loyalty-result {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  gap: 5px;
}

.loyalty-result > span {
  font-size: 12px;
  color: var(--muted);
}

.loyalty-result strong {
  font-size: 37px;
  letter-spacing: -0.055em;
}

.legacy-warning {
  border-left: 3px solid var(--green);
  padding: 12px 18px;
  background: var(--pale);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 18px;
}

[hidden] {
  display: none !important;
}

.calc-field input[type="range"] {
  display: block;
  height: 20px;
  margin: 6px 0 2px;
}

.calc-total b,
.calc-total span {
  line-height: 1.5;
}

.legacy-page .full-text table {
  overflow-wrap: normal;
}

.hero-copy > p {
  max-width: 450px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.club-copy > p {
  max-width: 500px;
  font-size: 15px;
  color: var(--muted);
}

.notice {
  border-radius: 4px;
}

.product-list {
  margin: 32px 0 18px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(300px, 1fr) 100px;
  gap: 36px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.product-row:first-child {
  border-top: 1px solid var(--line);
}

.product-description h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.product-description p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
  max-width: 340px;
}

.product-row dl {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin: 0;
}

.product-row dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.product-row dd {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.product-link .icon {
  width: 18px;
  height: 18px;
}

.club-benefits {
  margin: 0;
}

.club-benefits > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.club-benefits dt {
  font-weight: 600;
  font-size: 15px;
}

.club-benefits dd {
  margin: 0;
  font-size: 14px;
}

.club-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1150px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .header-row {
    gap: 18px;
  }

  .brand img {
    width: 185px;
  }

  .account {
    padding: 10px;
  }

  .account > .icon:last-child {
    display: none;
  }
}

@media (max-width: 950px) {
  .container {
    width: calc(100% - 48px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .account {
    margin-left: auto;
  }

  .header-row {
    height: 78px;
  }

  .section-faq .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-faq h2 {
    max-width: 600px;
  }

  .section-news ul {
    gap: 20px;
  }

  .footer__inner {
    gap: 35px;
  }

  .footer__right-top {
    grid-template-columns: 1fr;
  }

  .footer__social {
    display: none;
  }

  .rating-section .container {
    grid-template-columns: 1fr;
  }

  .rating-section__header {
    justify-content: space-between;
  }

  .review-form__stars {
    gap: 12px;
  }

  .select-rate label {
    width: 29px;
  }

  .product-detail {
    gap: 40px;
  }

  .loyalty-demo {
    gap: 28px;
    padding: 26px;
  }

  .calculator-page {
    gap: 35px;
    grid-template-columns: 1fr 370px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding-block: 32px;
  }

  .hero-copy {
    padding-top: 15px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .product-row {
    grid-template-columns: minmax(190px, 1fr) minmax(240px, 1fr);
    gap: 16px 30px;
  }

  .club-layout {
    gap: 16px 36px;
  }

  .loyalty-level {
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .loyalty-level p {
    grid-column: 1/-1;
  }

  .repay-shortcut {
    gap: 20px;
  }

  .repay-shortcut .button {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 100px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header-row {
    height: 74px;
    gap: 10px;
  }

  .brand img {
    width: 167px;
  }

  .account {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border: none;
  }

  .account span {
    display: none;
  }

  .account > .icon {
    width: 22px;
    height: 22px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu:not([hidden]) {
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }

  .hero-link {
    display: none;
  }

  .calc-heading {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .segmented button {
    min-height: 44px;
  }

  .segmented {
    margin-bottom: 15px;
  }

  .amount-entry input {
    font-size: 34px;
  }

  .term-field {
    margin-top: 16px;
  }

  .calc-note {
    font-size: 10px;
  }

  .section-space {
    padding-block: 40px;
  }

  .section-intro {
    font-size: 14px;
  }

  .section-intro br {
    display: none;
  }

  .products-section {
    padding-bottom: 40px;
  }

  summary {
    font-size: 15px;
    padding: 20px 0;
    gap: 20px;
  }

  .info-body p,
  .info-body li {
    font-size: 13px;
    line-height: 1.85;
  }

  .info-body h3 {
    font-size: 19px;
  }

  .section-sm ul {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .section-sm li:nth-child(2) {
    border: 0;
  }

  .section-sm h3 {
    font-size: 12px;
  }

  .section-sm__list {
    font-size: 17px;
  }

  .section-sm p {
    font-size: 11px;
  }

  .section-sm h2 {
    font-size: 25px;
  }

  .rating-section {
    padding: 30px 0;
  }

  .rating-section h2 {
    font-size: 22px;
    max-width: 230px;
  }

  .company-rating {
    gap: 15px;
  }

  .rating__caption {
    font-size: 10px;
  }

  .company-rating .rating__val {
    font-size: 19px;
  }

  .rating-section .fine {
    font-size: 10px;
  }

  .section-faq {
    padding-top: 20px;
  }

  .section-faq h2 {
    font-size: 29px;
  }

  .faq-items summary {
    font-size: 14px;
  }

  .faq-answer {
    font-size: 13px;
  }

  .section-news h2,
  .section-reviews h2 {
    font-size: 29px;
  }

  .section-news ul {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-news h3 {
    font-size: 21px;
    margin: 10px 0;
  }

  .section-news p {
    font-size: 13px;
  }

  .testimonial {
    gap: 8px 12px;
  }

  .testimonial__name {
    font-size: 14px;
  }

  .testimonial__date {
    font-size: 10px;
  }

  .testimonial__rating {
    gap: 12px;
    flex-wrap: wrap;
  }

  .testimonial__rating > .rating {
    gap: 5px;
  }

  .testimonial__rating .rating__caption {
    font-size: 9px;
  }

  .testimonial__text {
    font-size: 13px;
  }

  .testimonial__plus,
  .testimonial__minus {
    font-size: 11px;
  }

  .testimonial-btn .btn {
    font-size: 12px;
  }

  .review-form {
    padding: 18px;
  }

  .review-form__stars {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .review-form .rating__caption {
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
  }

  .select-rate label {
    width: 44px;
    height: 44px;
  }

  .review-form__textarea-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-form__textarea-wrap > * {
    grid-column: 1 !important;
  }

  .review-form textarea,
  .review-form input {
    font-size: 14px;
  }

  .review-form__bottom {
    gap: 12px;
  }

  .review-form__input {
    flex: 100%;
  }

  .review-form__btn {
    width: 100%;
  }

  .review-form__btn input {
    width: 100%;
  }

  .preview-note {
    font-size: 11px;
    padding: 12px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__right-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__social {
    display: block;
  }

  .footer__right-bottom {
    gap: 15px;
    font-size: 11px;
  }

  .footer__nav {
    font-size: 12px;
    gap: 4px 16px;
  }

  .footer__nav a {
    padding-block: 8px;
  }

  .legal-bottom {
    font-size: 10px;
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    height: 65px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    z-index: 39;
  }

  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    font-size: 10px;
    color: var(--green-text);
    font-weight: 600;
    min-height: 48px;
  }

  .mobile-dock .icon {
    width: 21px;
    height: 21px;
  }

  .preview-ribbon {
    padding-bottom: env(safe-area-inset-bottom);
    font-size: 9px;
  }

  .breadcrumbs {
    margin-bottom: 24px;
    font-size: 10px;
  }

  .legacy-page > .section-reviews,
  .legacy-page > .section-news {
    padding: 30px 0;
  }

  .legacy-page .full-text h2 {
    font-size: 25px;
  }

  .legacy-page .full-text p,
  .legacy-page .full-text li {
    font-size: 14px;
  }

  .table-scroll {
    margin-block: 20px;
  }

  th,
  td {
    font-size: 12px;
    padding: 12px 14px;
    min-width: 140px;
  }

  .calculator-page {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px;
  }

  .calculator-page > div:first-child {
    padding-top: 0;
  }

  .calculator-page h2 {
    font-size: 28px;
  }

  .calculator-page > div:first-child p {
    font-size: 14px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-copy h2 {
    font-size: 29px;
  }

  .product-spec {
    padding: 25px;
  }

  .product-spec dd {
    font-size: 19px;
  }

  .related {
    gap: 8px;
    flex-direction: column;
    margin-top: 28px;
    padding-top: 22px;
  }

  .related a {
    font-size: 13px;
  }

  .editorial {
    margin-top: 35px;
  }

  .editorial h2 {
    font-size: 27px;
  }

  .editorial p {
    font-size: 14px;
  }

  .notice {
    font-size: 12px;
    padding: 16px;
  }

  .loyalty-demo {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .loyalty-demo h2 {
    font-size: 26px;
  }

  .loyalty-demo p {
    font-size: 13px;
  }

  .loyalty-fields input,
  .loyalty-fields select {
    font-size: 16px;
  }

  .loyalty-result strong {
    font-size: 34px;
  }

  #calc {
    padding: 18px;
  }

  #calc label {
    font-size: 12px;
  }

  #calc-out {
    font-size: 12px;
  }

  .page-cta {
    padding: 20px;
  }

  .calc-total strong {
    font-size: 23px;
  }

  .calc-total {
    padding-block: 10px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 26px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero-copy > p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 0;
  }

  .loan-calculator {
    padding: 20px;
    border-radius: 8px;
  }

  h2,
  .display {
    font-size: 27px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }

  .product-description h3 {
    font-size: 22px;
    margin-bottom: 7px;
  }

  .product-description p {
    font-size: 13px;
  }

  .product-row dl {
    grid-template-columns: 1.55fr 1fr;
    gap: 14px;
  }

  .product-row dd {
    font-size: 13px;
  }

  .product-row dt {
    font-size: 11px;
  }

  .club-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .club-copy > p {
    font-size: 14px;
  }

  .club-benefits > div {
    padding: 14px 0;
  }

  .club-note {
    grid-column: auto;
    font-size: 11px;
  }

  .club-benefits dd {
    font-size: 13px;
  }

  .repay-shortcut {
    margin-top: 20px;
    padding: 24px 0;
    gap: 16px;
    display: block;
  }

  .repay-shortcut .button {
    margin-top: 18px;
    width: auto;
  }

  .repay-shortcut h2 {
    font-size: 25px;
  }

  .loyalty-level {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .loyalty-level h2 {
    font-size: 22px;
  }

  .loyalty-level p {
    grid-column: auto;
  }

  .loyalty-levels {
    margin-bottom: 30px;
  }

  .page-head {
    padding: 24px 0 30px;
  }

  .page-head h1 {
    font-size: clamp(27px, 7.6vw, 32px);
    letter-spacing: -0.025em;
  }

  .page-head p {
    font-size: 14px;
  }

  .club-section {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      background-color 0.15s,
      color 0.15s,
      border-color 0.15s;
  }

  html {
    scroll-behavior: smooth;
  }
}

@media (forced-colors: active) {
  .primary {
    color: ButtonText;
  }

  .segmented button[aria-pressed="true"] {
    outline: 2px solid Highlight;
  }
}

@media print {
  .site-header,
  .mobile-dock,
  .preview-ribbon,
  .review-form,
  .account {
    display: none;
  }

  body {
    padding: 0;
  }

  details > * {
    display: block !important;
  }

  .container {
    width: 100%;
  }

  .section-space {
    padding-block: 25px;
  }
}

@media (min-width: 681px) {
  .header-row {
    height: 78px;
  }
}

/* Shared interface states and reading preferences. */
:root[data-theme="dark"] {
  --bg: #15201a;
  --ink: #edf3ec;
  --muted: #b5c2b6;
  --green-text: #94d667;
  --surface: #1e2b22;
  --pale: #293b24;
  --lime: #34462b;
  --line: #435347;
  --input-border: #859785;
  --focus: #efbe64;
  --error: #ffb4a5;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15201a;
    --ink: #edf3ec;
    --muted: #b5c2b6;
    --green-text: #94d667;
    --surface: #1e2b22;
    --pale: #293b24;
    --lime: #34462b;
    --line: #435347;
    --input-border: #859785;
    --focus: #efbe64;
    --error: #ffb4a5;
    color-scheme: dark;
  }
}
body { background: var(--bg); }
button, input, select, textarea { color: inherit; }
.brand img { background: #fff; border-radius: 3px; }
nav a[aria-current="page"] { color: var(--green-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.mobile-dock a[aria-current="page"] { background: var(--pale); text-decoration: none; }
main:focus { outline: none; }
main, .tool-result h2, .tool-error, .tool-field { scroll-margin-block: 24px 100px; }
.appearance { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 0 28px; font-size: 14px; }
.appearance select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--input-border); border-radius: 6px; background: var(--bg); }
.footer__nav a { min-height: 44px; display: inline-flex; align-items: center; }
.calculator-context { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.preview-ribbon { background: var(--surface); color: var(--muted); }
@media (max-width: 680px) {
  .tool-field input, .tool-field select, .review-form input, .review-form textarea, #calc input { font-size: 16px; }
  .hero-copy > p { font-size: 15px; }
  .page-head p { font-size: 16px; }
  .legacy-page .full-text p, .legacy-page .full-text li, .editorial p { font-size: 16px; }
  .legal-bottom { font-size: 13px; }
}
@media print {
  :root { --bg: #fff !important; --ink: #17271b !important; --muted: #344235 !important; --surface: #fff !important; --pale: #f0f5e9 !important; --green-text: #397019 !important; color-scheme: light; }
  .appearance { display: none; }
}

/* Readable mobile controls and enough room around the range thumb. */
#selection #amount-range { min-height: 44px; }
#selection #nominal-rate { min-height: 48px; font-size: 16px; }
#selection #term { min-height: 48px; font-size: 16px; }
#selection .rate-settings summary { min-height: 44px; font-size: 14px; line-height: 1.5; }
#selection input[aria-invalid="true"] { border-color: var(--error); }
.breadcrumbs { flex-wrap: wrap; overflow-wrap: anywhere; }
.breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__social a { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }

.ek-hp {position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
@media (max-width: 680px) {.mobile-dock {bottom:0;padding-bottom:env(safe-area-inset-bottom);} body {padding-bottom:calc(76px + env(safe-area-inset-bottom));}}
