:root {
  --green: #13b83f;
  --green-dark: #07972f;
  --green-soft: #e9f9ee;
  --navy: #071c3a;
  --navy-2: #0b2b51;
  --ink: #12213d;
  --muted: #59667d;
  --line: #dfe7ef;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --warning: #f5b83d;
  --shadow: 0 18px 46px rgba(7, 28, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: 58px;
  max-width: 760px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 19px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

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

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 239, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 28px rgba(18, 184, 63, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(18, 184, 63, 0.3);
}

.button-secondary {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.button-full {
  width: 100%;
}

.button-small {
  min-height: 42px;
  padding: 11px 14px;
  font-size: 14px;
}

.hero {
  padding: 48px 0 38px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
  gap: 58px;
  align-items: center;
}

.hero-copy > p {
  margin-top: 22px;
  max-width: 620px;
  font-size: 18px;
}

.hero h1 span {
  color: var(--green-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border: 1px solid #cdeed7;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 800;
  width: fit-content;
}

.eyebrow .icon {
  width: 18px;
  height: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-kpis div {
  min-height: 112px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.hero-kpis .icon {
  color: var(--green);
  width: 30px;
  height: 30px;
}

.hero-kpis strong {
  color: var(--navy);
}

.hero-kpis span {
  color: var(--muted);
  font-size: 13px;
}

.hero-widget {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(150px, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 510px;
}

.calculator-card {
  position: relative;
  z-index: 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.calculator-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.calculator-head h2 {
  font-size: 22px;
}

.calculator-head span,
.range-row label span,
.range-row output {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.range-row {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.range-row label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
  color: var(--navy);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.calculator-summary {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.calculator-summary div,
.facts-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px dashed #ccd8e5;
}

.calculator-summary div:last-child,
.facts-list div:last-child {
  border-bottom: 0;
}

.calculator-summary dt,
.facts-list span {
  color: var(--muted);
  font-size: 14px;
}

.calculator-summary dd,
.facts-list strong {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.article-loan-calc {
  display: grid;
  gap: 24px;
  margin: 36px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 181, 62, 0.1), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: var(--shadow);
}

.article-loan-calc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.article-loan-calc-head p {
  margin: 0 0 6px;
  color: var(--green);
  font-weight: 900;
}

.article-loan-calc-head h2 {
  margin: 0;
}

.advanced-calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.advanced-calc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.advanced-calc-controls label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-weight: 900;
}

.advanced-calc-controls label span {
  font-size: 14px;
}

.advanced-calc-controls input[type="number"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
}

.advanced-calc-controls input[type="number"]:focus {
  outline: 3px solid rgba(18, 181, 62, 0.18);
  border-color: var(--green);
}

.advanced-calc-results {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 22px 48px rgba(4, 28, 58, 0.18);
}

.result-main {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.result-main span,
.advanced-calc-results dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.result-main strong {
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
}

.advanced-calc-results dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.advanced-calc-results dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.advanced-calc-results dl div:last-child {
  border-bottom: 0;
}

.advanced-calc-results dd {
  margin: 0;
  color: #fff;
  font-weight: 900;
  text-align: right;
}

.calc-verdict {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(18, 181, 62, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.calc-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.safety-check {
  display: grid;
  gap: 20px;
  margin: 34px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 181, 62, 0.12), rgba(255, 255, 255, 0) 44%),
    #fff;
  box-shadow: var(--shadow);
}

.safety-check-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.safety-check-head p {
  margin: 0 0 6px;
  color: var(--green);
  font-weight: 900;
}

.safety-check-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.18;
}

.safety-check-head strong {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  text-align: center;
}

.safety-check-list {
  display: grid;
  gap: 10px;
}

.safety-check-list label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.45;
}

.safety-check-list input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.safety-check-result {
  padding: 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.safety-check-result span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #baf4cc;
  font-weight: 950;
}

.safety-check-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.secure-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
}

.secure-line .icon {
  width: 17px;
  height: 17px;
  color: var(--navy-2);
}

.phone-scene {
  position: relative;
  min-height: 520px;
  overflow: visible;
  border-radius: var(--radius);
}

.phone-scene::before {
  content: "";
  position: absolute;
  inset: 100px 0 22px -60px;
  border: 1px solid #cdeed7;
  background: linear-gradient(135deg, #f6fff8, #e8f8ef);
  transform: skewY(-10deg);
}

.hero-phone-art {
  position: absolute;
  z-index: 1;
  right: -4px;
  top: 50%;
  width: clamp(215px, 15.4vw, 264px);
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 28px rgba(7, 28, 58, 0.16));
}

.phone {
  position: absolute;
  top: 28px;
  right: 0;
  width: 180px;
  min-height: 340px;
  padding: 22px 18px;
  border: 10px solid #16243c;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 42px rgba(7, 28, 58, 0.22);
  transform: rotate(12deg);
  display: grid;
  align-content: start;
  gap: 16px;
  text-align: center;
}

.phone-bar {
  width: 52px;
  height: 5px;
  border-radius: 99px;
  background: #d7e0ea;
  margin: 0 auto 8px;
}

.phone-logo {
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
}

.approval-badge {
  width: 76px;
  height: 76px;
  margin: 14px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 8px #f7fbf8;
}

.approval-badge .icon {
  width: 42px;
  height: 42px;
}

.phone strong {
  color: var(--navy);
}

.phone span {
  font-weight: 900;
  font-size: 20px;
  color: var(--navy);
}

.phone-button {
  margin-top: 12px;
  padding: 11px 8px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.coin-stack,
.shield-mark {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 28px rgba(7, 28, 58, 0.12);
}

.coin-stack {
  right: -18px;
  bottom: 50px;
  width: 76px;
  height: 92px;
  border-radius: 38px 38px 8px 8px;
}

.coin-stack::before,
.coin-stack::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid #cfd9e5;
}

.coin-stack::before {
  top: 18px;
}

.coin-stack::after {
  top: 42px;
}

.shield-mark {
  right: 64px;
  bottom: 0;
  width: 82px;
  height: 94px;
  border-radius: 24px 24px 30px 30px;
  color: var(--green-dark);
  display: grid;
  place-items: center;
}

.shield-mark .icon {
  width: 34px;
  height: 34px;
}

.section {
  padding: 48px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center p,
.section-heading.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 8px;
}

.section-heading h2 {
  max-width: 720px;
}

.feature-grid,
.blog-grid,
.facts-grid,
.review-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.step-card,
.blog-card,
.info-panel,
.review-strip article,
.article-side,
.form-aside,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.07);
}

.feature-card {
  min-height: 150px;
  padding: 24px;
}

.feature-card .icon,
.review-strip .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--green);
  padding: 8px;
  border-radius: 50%;
  background: var(--green-soft);
}

.feature-card h3,
.review-strip h3 {
  margin-bottom: 8px;
}

.feature-card p,
.review-strip p,
.step-card p,
.blog-card p {
  font-size: 14px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: start;
}

.info-panel {
  padding: 28px;
}

.info-panel h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.check-list,
.compact-list,
.article-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.45;
}

.check-list .icon {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  text-align: center;
}

.step-card > span {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.step-card .icon {
  width: 62px;
  height: 62px;
  margin: 18px auto 18px;
  color: var(--green-dark);
}

.facts-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.facts-grid div {
  min-height: 108px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.facts-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.facts-grid strong {
  color: var(--navy);
  line-height: 1.25;
}

.review-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-strip article {
  padding: 24px;
}

.cta-band {
  padding: 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta-inner h2,
.cta-inner p {
  color: #fff;
}

.cta-inner p {
  opacity: 0.82;
  margin-top: 8px;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-card-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.blog-card h3 {
  margin-bottom: 12px;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

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

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 28, 58, 0.06);
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 46px 18px 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 850;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-dark);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 18px 18px;
  font-size: 14px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(233, 249, 238, 0.88), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, rgba(7, 28, 58, 0.05), rgba(7, 28, 58, 0.05) 1px, transparent 1px, transparent 56px);
}

.compact-hero {
  padding: 74px 0 62px;
}

.compact-hero h1 {
  font-size: 48px;
}

.compact-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

.form-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.form-aside,
.form-panel {
  padding: 24px;
}

.form-aside h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.lead-form-shell {
  width: 100%;
  min-height: 1800px;
}

.lead-form-shell noscript {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--surface-soft);
}

.legal-note,
.content-note {
  margin-top: 18px;
  padding: 14px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--navy);
  font-size: 14px;
}

.big-link {
  color: var(--green-dark);
  font-weight: 900;
  font-size: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 54px;
}

.article-content {
  min-width: 0;
  max-width: 760px;
}

.article-feature-image {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-content h2,
.legal-content h2 {
  margin: 34px 0 14px;
  font-size: 28px;
}

.article-content p + p {
  margin-top: 16px;
}

.article-list {
  list-style: disc;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.article-side {
  position: sticky;
  top: 110px;
  padding: 22px;
}

.article-side h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.compact-list {
  color: var(--navy);
  font-weight: 800;
}

.article-cta {
  margin-top: 42px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.article-cta p {
  margin: 10px 0 18px;
}

.zonky-hero {
  padding: 70px 0 54px;
  background:
    radial-gradient(circle at 82% 28%, rgba(19, 184, 63, 0.16), transparent 30%),
    linear-gradient(180deg, #fff, #f7fbf8);
}

.zonky-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.zonky-hero h1 {
  font-size: 50px;
}

.zonky-hero p {
  max-width: 760px;
  font-size: 17px;
}

.zonky-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 0;
}

.affiliate-disclosure {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--navy);
  font-size: 14px !important;
}

.zonky-hero-media {
  margin: 0;
}

.zonky-hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.zonky-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 54px;
}

.zonky-content {
  max-width: 860px;
  min-width: 0;
}

.zonky-content section {
  margin-bottom: 44px;
}

.zonky-content h2 {
  margin-bottom: 16px;
}

.zonky-content h3 {
  margin: 22px 0 10px;
}

.zonky-content a:not(.button) {
  color: var(--green-dark);
  font-weight: 900;
}

.review-summary {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.review-score,
.review-verdict,
.pros-card,
.cons-card,
.inline-cta,
.process-list article,
.zonky-side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.07);
}

.review-score,
.review-verdict {
  padding: 24px;
}

.review-score span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-score strong {
  display: block;
  margin: 10px 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.05);
}

.parameter-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.parameter-table th,
.parameter-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.parameter-table tr:last-child th,
.parameter-table tr:last-child td {
  border-bottom: 0;
}

.parameter-table th {
  width: 34%;
  color: var(--navy);
  background: var(--surface-soft);
  font-weight: 900;
}

.parameter-table td {
  color: var(--muted);
  line-height: 1.55;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pros-card,
.cons-card {
  padding: 24px;
}

.minus-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
}

.plus-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
}

.minus-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.minus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: #e35d5d;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.article-content > .inline-cta {
  margin-top: 34px;
}

.inline-cta h2,
.inline-cta p {
  color: #fff;
}

.inline-cta p {
  opacity: 0.84;
  margin-top: 8px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-list article {
  position: relative;
  padding: 22px;
}

.process-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.zonky-sidebar {
  position: sticky;
  top: 110px;
  min-width: 0;
}

.zonky-side-card {
  padding: 22px;
}

.zonky-side-card .button {
  margin-top: 18px;
}

.redirect-hero .button {
  margin-top: 22px;
}

.legal-content {
  max-width: 850px;
}

.legal-content a {
  color: var(--green-dark);
  font-weight: 900;
}

.online-loan-hero {
  padding: 70px 0 62px;
}

.payday-hero {
  background:
    radial-gradient(circle at 84% 22%, rgba(18, 184, 63, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(233, 249, 238, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(90deg, rgba(7, 28, 58, 0.05), rgba(7, 28, 58, 0.05) 1px, transparent 1px, transparent 56px);
}

.online-loan-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.online-loan-hero h1 {
  max-width: 820px;
}

.online-loan-hero p:not(.eyebrow) {
  max-width: 760px;
}

.comparison-disclosure {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  font-size: 14px !important;
}

.online-loan-hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.online-loan-hero-panel div {
  padding: 18px;
  border: 1px solid #d9edf0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fffa, #f7fbff);
}

.online-loan-hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.online-loan-hero-panel strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.online-loan-hero-panel p {
  margin-top: 7px;
  font-size: 14px;
}

.comparison-guide-grid,
.comparison-pick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.payday-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.comparison-guide-card,
.comparison-pick-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.07);
}

.comparison-guide-card {
  min-height: 230px;
  padding: 24px;
}

.comparison-guide-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 9px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
}

.comparison-guide-card h3,
.comparison-pick-card h3 {
  margin-bottom: 10px;
}

.comparison-guide-card p,
.comparison-pick-card p {
  font-size: 14px;
}

.comparison-picks-section {
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.comparison-pick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-pick-card {
  padding: 24px;
}

.comparison-pick-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.comparison-pick-card a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 900;
}

.comparison-table-wrap {
  max-height: none;
}

.comparison-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  background: #fff;
}

.article-content .comparison-table {
  min-width: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.comparison-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--navy);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 950;
}

.comparison-table td:first-child strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.comparison-table td:first-child span {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.comparison-table-actions {
  min-width: 138px;
}

.comparison-table-actions .button {
  margin-bottom: 10px;
}

.table-link {
  display: inline-flex;
  color: var(--green-dark);
  font-weight: 900;
}

.comparison-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
}

.compact-link-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compact-link-list a {
  color: var(--green-dark);
  font-weight: 900;
}

.insurance-hero {
  padding: 70px 0 48px;
  background:
    linear-gradient(90deg, rgba(246, 249, 252, 0.96), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(90deg, rgba(7, 28, 58, 0.05), rgba(7, 28, 58, 0.05) 1px, transparent 1px, transparent 58px);
  overflow: hidden;
}

.insurance-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.insurance-hero-copy h1 {
  max-width: 760px;
  font-size: 52px;
}

.insurance-hero-copy > p:not(.eyebrow):not(.affiliate-disclosure) {
  max-width: 700px;
  margin-top: 20px;
  font-size: 18px;
}

.insurance-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.insurance-page .button {
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}

.insurance-hero-media {
  position: relative;
  margin: 0;
  min-height: 440px;
}

.insurance-hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.insurance-hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 310px;
  padding: 16px 18px;
  border: 1px solid rgba(223, 231, 239, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(7, 28, 58, 0.14);
}

.insurance-hero-media figcaption strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.insurance-hero-media figcaption span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.insurance-overview {
  padding-top: 26px;
}

.insurance-overview-grid,
.insurance-check-grid,
.insurance-cover-grid {
  display: grid;
  gap: 18px;
}

.insurance-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insurance-overview-card,
.insurance-side-panel,
.insurance-cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.07);
}

.insurance-overview-card {
  min-height: 150px;
  padding: 22px;
}

.insurance-overview-card .icon,
.insurance-cta-card > .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
}

.insurance-overview-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.insurance-overview-card strong {
  color: var(--navy);
  line-height: 1.35;
}

.insurance-side-panel {
  padding: 26px;
}

.insurance-side-panel h2 {
  margin-bottom: 18px;
  font-size: 25px;
}

.insurance-side-panel .button {
  margin-top: 22px;
}

.insurance-comparison-section,
.insurance-check-section {
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.insurance-cover-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
}

.insurance-cover-grid > div:first-child p {
  max-width: 560px;
}

.insurance-cover-table-wrap {
  box-shadow: 0 12px 32px rgba(7, 28, 58, 0.05);
}

.insurance-check-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: stretch;
}

.insurance-cta-card {
  display: grid;
  align-content: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(18, 184, 63, 0.1), rgba(255, 255, 255, 0) 46%),
    #fff;
}

.insurance-cta-card h2 {
  font-size: 27px;
}

.insurance-cta-card p {
  margin: 12px 0 22px;
}

.site-footer {
  margin-top: 40px;
  padding: 48px 0 24px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(118px, 0.58fr) minmax(130px, 0.62fr) minmax(100px, 0.48fr) minmax(185px, 0.82fr) minmax(250px, 1fr);
  gap: 24px;
  align-items: start;
}

.site-footer img {
  width: 220px;
  height: auto;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #fff;
}

.site-footer h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-list p,
.footer-contact-list a {
  margin: 0;
}

.footer-company {
  display: grid;
  gap: 4px;
  line-height: 1.45;
}

.footer-company strong,
.footer-company span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.footer-brand .legal-note {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  border-color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
  font-size: 12px;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 48px;
  }

  .header-inner {
    gap: 18px;
  }

  .brand img {
    width: 220px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-widget {
    grid-template-columns: minmax(0, 1fr) 220px;
    width: min(720px, 100%);
  }

  .feature-grid,
  .facts-grid,
  .insurance-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .form-layout,
  .article-layout,
  .online-loan-hero-grid,
  .insurance-hero-grid,
  .insurance-cover-grid,
  .insurance-check-grid,
  .zonky-layout,
  .zonky-hero-grid {
    grid-template-columns: 1fr;
  }

  .comparison-guide-grid,
  .comparison-pick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side,
  .zonky-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    margin-left: auto;
  }

  .nav-toggle-line,
  .nav-toggle-line::before,
  .nav-toggle-line::after {
    content: "";
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--navy);
  }

  .nav-toggle-line::before {
    transform: translateY(-7px);
  }

  .nav-toggle-line::after {
    transform: translateY(5px);
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--green-soft);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  h1,
  .compact-hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-kpis,
  .steps-grid,
  .blog-grid,
  .review-strip,
  .comparison-guide-grid,
  .comparison-pick-grid,
  .review-summary,
  .pros-cons-grid,
  .process-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-widget {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-scene {
    display: none;
  }

  .calculator-card {
    padding: 22px;
  }

  .article-loan-calc-head,
  .advanced-calc-layout {
    grid-template-columns: 1fr;
  }

  .article-loan-calc-head {
    display: grid;
  }

  .cta-inner,
  .inline-cta,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .zonky-hero h1 {
    font-size: 40px;
  }

  .insurance-hero {
    padding: 46px 0 38px;
  }

  .insurance-hero-copy h1 {
    font-size: 40px;
  }

  .insurance-hero-media {
    min-height: auto;
  }

  .insurance-hero-media figcaption {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 188px;
  }

  h1,
  .compact-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-copy > p,
  .compact-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .zonky-hero-actions,
  .insurance-hero-actions {
    width: 100%;
  }

  .hero-kpis,
  .feature-grid,
  .facts-grid,
  .insurance-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .calculator-head,
  .range-row label,
  .calculator-summary div,
  .facts-list div,
  .safety-check-head,
  .advanced-calc-results dl div {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-loan-calc {
    padding: 20px;
  }

  .safety-check {
    padding: 20px;
  }

  .advanced-calc-controls {
    grid-template-columns: 1fr;
  }

  .parameter-table th,
  .parameter-table td {
    display: block;
    width: 100%;
  }

  .article-content .comparison-table,
  .article-content .comparison-table thead,
  .article-content .comparison-table tbody,
  .article-content .comparison-table tr,
  .article-content .comparison-table th,
  .article-content .comparison-table td {
    display: block;
    width: 100%;
  }

  .article-content .comparison-table thead {
    display: none;
  }

  .article-content .comparison-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .article-content .comparison-table tr:last-child {
    border-bottom: 0;
  }

  .article-content .comparison-table td {
    padding: 9px 14px;
    border-bottom: 0;
  }

  .article-content .comparison-table td:first-child {
    background: var(--surface-soft);
  }

  .calculator-summary dd,
  .facts-list strong,
  .advanced-calc-results dd {
    text-align: left;
  }

  .compact-hero {
    padding: 46px 0 42px;
  }

  .section {
    padding: 36px 0;
  }

  .zonky-hero {
    padding: 46px 0 36px;
  }

  .insurance-hero-copy h1 {
    font-size: 34px;
  }

  .zonky-layout {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}
