:root {
  --kk-blue: #0058b8;
  --kk-blue-dark: #003f84;
  --kk-green: #007f34;
  --kk-green-dark: #00692b;
  --kk-orange: #e95600;
  --kk-coral: #ff3f4d;
  --kk-yellow: #ffdc22;
  --kk-ink: #050817;
  --kk-muted: #536074;
  --kk-line: #dce4ec;
  --kk-white: #fff;
  --kk-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
}

/* Home service sections: retain the existing blue, green and orange palette. */
.home-band { padding: 30px 20px; }
.home-wrap { max-width: 1160px; margin-inline: auto; }
.home-band h2 { margin: 0 0 14px; text-align: center; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.5; font-weight: 900; }
.home-band h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.home-band p { margin: 10px 0; }
.home-band .home-lead { text-align: center; margin: 10px auto 18px; color: #475569; }
.home-band .home-note { margin: 14px 0 0; font-size: 13px; color: #536074; }
.home-area-label { color: #0058b8; text-align: center; font-weight: 800; }
.home-speed { background: linear-gradient(180deg,#fff,#f2f9fd); border-block: 1px solid #e7edf2; }
.home-speed h2 span { color: #0058b8; }
.home-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-tile { min-width: 0; padding: 18px; background: #fff; border: 1px solid #dfe7ed; border-radius: 9px; }
.home-tile p { font-size: 15px; line-height: 1.8; }
.home-tile a { color: #0058b8; font-size: 14px; font-weight: 750; }
.home-tile a:hover, .home-guide a:hover { text-decoration: underline; }
.home-tile__title { display: flex; gap: 12px; align-items: center; }
.home-tile__title svg { flex: 0 0 30px; width: 30px; height: 30px; color: #0058b8; }
.home-evidence { background: #f3f9fc; }
.home-evidence h2, .home-reasons h2 { color: #007f34; }
.home-story img { width: 100%; height: 165px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.home-story h3 a { font-size: 18px; color: #071027; }
.home-editor-note { padding: 18px; border: 1px dashed #99b3c3; color: #475569; background: #fff; }
.home-reasons { background: #f0f8f1; }
.home-reasons .home-tile__title svg { color: #007f34; }
.home-reasons .home-tile:nth-child(2) svg { color: #e95600; }
.home-area-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.home-area-grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #dce4ec; border-radius: 8px; padding: 15px 8px; background: #f5faff; }
.home-area-grid svg { color: #0058b8; width: 30px; height: 30px; }
.home-four { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.home-four li { position: relative; padding: 14px 8px; text-align: center; border-top: 2px solid #e3edf4; }
.home-four b { position: absolute; top: 14px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: #0058b8; }
.home-four svg { width: 32px; height: 32px; color: #0058b8; margin: 0 auto 10px; }
.home-four li:nth-child(even) b { background: #e95600; }
.home-four li:nth-child(even) svg { color: #e95600; }
.home-four li:nth-child(3) b { background: #007f34; }
.home-four li:nth-child(3) svg { color: #007f34; }
.home-four p { font-size: 14px; }
.home-trust { background: #f3f9fc; }
.home-trust-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.home-faq details { border-bottom: 1px solid #dce4ec; background: #fff; }
.home-faq summary { cursor: pointer; padding: 12px 30px 12px 12px; font-size: 15px; font-weight: 700; position: relative; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; position: absolute; right: 12px; top: 10px; color: #0058b8; font-size: 19px; }
.home-faq details[open] summary::after { content: '−'; }
.home-faq details p { margin: 0; padding: 0 12px 14px; font-size: 15px; line-height: 1.85; }
.home-guides { background: #f4f9f6; }
.home-guide { background: #fff; border: 1px solid #9cc9ac; border-radius: 7px; overflow: hidden; min-width: 0; }
.home-guide h3 { background: #007f34; color: #fff; padding: 9px 12px; }
.home-guide--documents { border-color: #f0bf9d; }
.home-guide--documents h3 { background: #dc5500; }
.home-guide--other { border-color: #b5becd; }
.home-guide--other h3 { background: #3b475d; }
.home-guide ul { list-style: none; padding: 0 12px; margin: 0; }
.home-guide li + li { border-top: 1px solid #e5e9ed; }
.home-guide a { display: block; position: relative; padding: 12px 20px 12px 0; font-size: 14px; }
.home-guide a > span { position: absolute; right: 0; top: 10px; color: #0058b8; font-size: 20px; }
.home-guide small { display: block; font-size: 12px; color: #536074; }
.home-final { background: #f0f8fc; }
.home-contact-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; max-width: 880px; margin-inline: auto; }
.home-contact-actions .cta-button { min-width: 0; height: auto; min-height: 52px; padding: 12px 18px; font-size: 18px; }
.home-contact-actions .cta-button svg { width: 24px; height: 24px; flex-shrink: 0; }
.home-contact-actions .cta-button { grid-template-columns: 24px 1fr 24px; }
.home-contact-actions .cta-button + .cta-button { margin-top: 0; }
.home-tile__title > .icon, .home-area-grid .icon { width: 30px; height: 30px; }
.home-four .icon { display: flex; width: 32px; height: 32px; margin: 0 auto 10px; }
.home-final .home-note { text-align: center; }
.home-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 14px; margin-bottom: 16px; }
.home-band [id], #same-day, #payment, #service-area, #company, #home-faq { scroll-margin-top: 100px; }
@media (max-width: 760px) {
 .home-band { padding: 22px 14px; }
 .home-three { gap: 8px; }
 .home-tile { padding: 12px; }
 .home-tile__title { align-items: flex-start; gap: 6px; }
 .home-tile__title svg { flex-basis: 24px; width: 24px; height: 24px; }
 .home-band h3 { font-size: 16px; }
 .home-trust-grid { grid-template-columns: 1fr; gap: 24px; }
 .home-area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 .home-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 .home-contact-actions .cta-button { padding: 12px 10px; font-size: 15px; }
 .home-contact-actions .cta-button svg { width: 20px; height: 20px; }
}
@media (max-width: 540px) {
 .home-speed .home-three, .home-reasons .home-three { grid-template-columns: 1fr; }
 .home-speed .home-tile, .home-reasons .home-tile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 4px 12px; }
 .home-speed .home-tile p, .home-reasons .home-tile p { margin: 0; font-size: 14px; }
 .home-speed .home-tile > a { grid-column: 2; }
 .home-evidence .home-three, .home-guides .home-three { grid-template-columns: 1fr; }
 .home-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 8px 12px; }
 .home-story img { grid-row: span 3; height: 110px; margin: 0; }
 .home-story p { margin: 0; font-size: 14px; }
 .home-story h3 a { font-size: 16px; }
 .home-guides .home-guide a { padding-block: 10px; }
 .home-contact-actions { gap: 8px; }
 .home-contact-actions .cta-button { grid-template-columns: 1fr 20px; }
 .home-contact-actions .cta-button > .icon:first-child { display: none; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--kk-ink);
  background: #fff;
  font-family: var(--kk-font);
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--kk-font);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  display: inline-flex;
  flex: none;
  width: 1.45em;
  height: 1.45em;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-button--line .icon svg,
.cta-button--line .icon svg {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid #edf1f5;
  background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(210px, 1fr) auto;
  align-items: center;
  width: min(100% - 48px, 1220px);
  min-height: 106px;
  margin-inline: auto;
  gap: 32px;
}

.brand {
  display: block;
  width: min(100%, 270px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-header__message {
  margin: 0;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 700;
  line-height: 1.7;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.header-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 25, 55, .14);
}

.header-button--phone {
  color: var(--kk-blue);
  background: #fff;
}

.header-button--line {
  border-color: var(--kk-green);
  color: #fff;
  background: linear-gradient(135deg, #09ad45, #008c35);
}

.header-button .icon {
  width: 28px;
  height: 28px;
}

.menu-button {
  display: inline-grid;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  color: #090b10;
  background: transparent;
  place-items: center;
  cursor: pointer;
}

.menu-button .icon {
  width: 39px;
  height: 39px;
}

.menu-button .icon svg {
  stroke-width: 2.2;
}

.primary-navigation {
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
  padding: 16px 0 20px;
  border-top: 1px solid #edf1f5;
}

.primary-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px 28px;
}

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  background-color: #f7fbfd;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .08) 60%, rgba(255, 251, 248, .46) 100%),
    url("../images/kaitorukun-hero-background-optimized.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: -4%;
  bottom: -47px;
  left: -4%;
  height: 94px;
  background: #fff;
  clip-path: polygon(0 18%, 50% 100%, 100% 18%, 100% 100%, 0 100%);
  content: "";
}

.hero__backdrop {
  display: none;
}

.hero__backdrop::before {
  position: absolute;
  top: 22%;
  right: -5%;
  width: 54%;
  height: 43%;
  border: 20px solid rgba(45, 131, 185, .1);
  border-bottom: 0;
  background:
    linear-gradient(90deg, transparent 29%, rgba(58, 132, 177, .12) 30% 33%, transparent 34% 63%, rgba(58, 132, 177, .12) 64% 67%, transparent 68%),
    linear-gradient(rgba(255,255,255,.78), rgba(204, 235, 249, .52));
  box-shadow: 0 0 90px 40px rgba(255, 255, 255, .68);
  content: "";
  filter: blur(4px);
  transform: perspective(900px) rotateY(-8deg);
}

.hero__building {
  position: absolute;
  top: 36%;
  right: 4%;
  width: 32%;
  height: 10%;
  color: rgba(16, 100, 161, .12);
  font-size: clamp(28px, 4vw, 58px);
  filter: blur(2px);
}

.hero__building::after {
  content: "買取ル君";
}

.hero__greenery {
  position: absolute;
  width: 230px;
  height: 330px;
  border-radius: 50%;
  opacity: .18;
  background: radial-gradient(ellipse at 50% 20%, #50a641 0 7%, transparent 9%), radial-gradient(ellipse at 30% 38%, #6fb44e 0 9%, transparent 11%), radial-gradient(ellipse at 70% 48%, #2d833b 0 10%, transparent 12%), radial-gradient(ellipse at 48% 66%, #97c841 0 13%, transparent 15%);
  filter: blur(8px);
}

.hero__greenery--left {
  bottom: 24%;
  left: -70px;
}

.hero__greenery--right {
  right: -60px;
  bottom: 16%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 76px, 1180px);
  min-height: 790px;
  margin-inline: auto;
  padding-top: 26px;
}

.hero__copy {
  position: relative;
  z-index: 5;
  width: 55%;
  max-width: 610px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 7px 32px;
  color: var(--kk-blue-dark);
  font-size: clamp(17px, 1.75vw, 23px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  display: block;
  width: 2px;
  height: 23px;
  margin: 0 11px;
  background: currentColor;
  content: "";
}

.hero__eyebrow::before {
  transform: rotate(-35deg);
}

.hero__eyebrow::after {
  transform: rotate(35deg);
}

.hero__title {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-size: clamp(48px, 5.7vw, 73px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.01;
}

.hero__title > span {
  display: block;
  white-space: nowrap;
}

.hero__title::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -8% 0 -8% -2%;
  background: radial-gradient(ellipse at 42% 48%, rgba(255,255,255,.97) 0%, rgba(255,255,255,.86) 38%, rgba(255,255,255,.3) 62%, transparent 76%);
  filter: blur(5px);
  pointer-events: none;
}

.hero__title-count {
  white-space: nowrap;
}

.hero__title strong,
.hero__title em {
  color: var(--kk-blue);
  font-style: normal;
  font-weight: 900;
}

.hero__title-end {
  display: inline-block;
  margin-left: -.12em;
  color: var(--kk-ink);
  font: inherit;
  letter-spacing: inherit;
}

.hero__title em {
  position: relative;
  z-index: 0;
}

.hero__title em::after {
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 4px;
  left: -3px;
  height: 13px;
  border-radius: 100% 14% 65% 20%;
  background: rgba(255, 222, 28, .86);
  content: "";
  transform: rotate(-2deg);
}

.instant-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 470px);
  margin: 15px 0 10px;
  padding: 0;
  list-style: none;
  gap: 9px;
}

.instant-list li {
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(9, 76, 136, .04);
  border-radius: 50%;
  color: #05070d;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(20, 71, 113, .13);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  gap: 4px;
}

.instant-list .icon {
  width: 49%;
  height: 49%;
  color: var(--kk-blue);
}

.instant-list .icon svg {
  stroke-width: 1.75;
}

.hero__speed {
  display: inline-block;
  position: relative;
  z-index: 0;
  margin: 3px 0 13px 25px;
  font-size: clamp(22px, 2.25vw, 30px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
}

.hero__speed::after {
  position: absolute;
  z-index: -1;
  right: -12px;
  bottom: -3px;
  left: -12px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 222, 28, .58);
  content: "";
  transform: rotate(-1deg);
}

.hero__speed span {
  color: var(--kk-blue);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 520px);
  gap: 11px;
}

.hero-card {
  overflow: hidden;
  min-height: 184px;
  border: 1.5px solid currentColor;
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(8, 39, 69, .05);
}

.hero-card--documents {
  color: var(--kk-orange);
}

.hero-card--ownership {
  color: var(--kk-green);
}

.hero-card__heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 76px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #dce0e5;
  color: #080a0f;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  gap: 10px;
}

.hero-card__heading .icon {
  display: flex;
  width: 46px;
  height: 46px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 50%;
  color: #fff;
}

.hero-card__heading .icon svg {
  color: #fff;
}

.hero-card--documents .hero-card__heading .icon {
  background: var(--kk-orange);
}

.hero-card--ownership .hero-card__heading .icon {
  background: var(--kk-green);
}

.hero-card__heading > .hero-card__text {
  min-width: 0;
  text-align: left;
  white-space: nowrap;
}

.hero-card__heading sup {
  margin-left: 1px;
  font-size: 11px;
}

.hero-card__body {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 9px 9px 12px;
  line-height: 1.05;
}

.hero-card__body span {
  display: block;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 700;
}

.hero-card__body span strong {
  font-size: 2.45em;
  font-weight: 900;
}

.hero-card__body b {
  display: block;
  margin-top: 5px;
  font-size: clamp(25px, 2.8vw, 37px);
  font-weight: 800;
  letter-spacing: .01em;
}

.hero-cta {
  width: min(100%, 510px);
  margin: 10px 0 0 5px;
}

.hero-cta > p {
  margin: 0 0 5px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.cta-button {
  display: grid;
  grid-template-columns: 36px 1fr 25px;
  align-items: center;
  min-height: 64px;
  padding: 8px 17px;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(20px, 2.25vw, 29px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cta-button + .cta-button {
  margin-top: 8px;
}

.cta-button--assessment {
  background: linear-gradient(100deg, #ff4957, #ff3545);
}

.cta-button--line {
  background: linear-gradient(100deg, #08ae46, #00943a);
}

.cta-button--phone {
  background: linear-gradient(100deg, #0871c8, #004f9d);
}

.cta-button > span:nth-child(2) {
  text-align: center;
}

.cta-button > .icon:last-child {
  justify-self: end;
  width: 28px;
  height: 28px;
}

.hero__note {
  margin: 8px 0 0 6px;
  font-size: clamp(10px, 1.03vw, 13px);
  font-weight: 500;
  white-space: nowrap;
}

.hero__visual {
  position: absolute;
  z-index: 3;
  top: 30px;
  right: calc(50% - 50vw);
  width: calc(54% + 50vw - 50%);
  height: 735px;
  pointer-events: none;
}

.hero__woman {
  position: absolute;
  z-index: 1;
  top: 52px;
  right: 25px;
  width: 110%;
  max-width: 620px;
  height: 700px;
  object-fit: contain;
  object-position: right top;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 59%, rgba(0,0,0,.7) 69%, transparent 81%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 59%, rgba(0,0,0,.7) 69%, transparent 81%);
}

.hero__mascot {
  aspect-ratio: 1;
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: 3px;
  width: 315px;
  height: 315px;
  object-fit: contain;
}

.hero__mascot > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__mascot::before,
.hero__mascot::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__mascot::before {
  z-index: 0;
  left: -45%;
  bottom: -11%;
  width: 180%;
  height: 45%;
  background: radial-gradient(ellipse, #f4efea 0%, rgba(244,239,234,.85) 35%, transparent 72%);
}

.hero__mascot::after {
  z-index: 1;
  left: 12%;
  bottom: 5%;
  width: 78%;
  height: 12%;
  background: radial-gradient(ellipse, rgba(72,52,35,.38), rgba(72,52,35,.16) 42%, transparent 72%);
  filter: blur(2px);
}

.hero__speech {
  position: absolute;
  z-index: 4;
  top: 3px;
  right: 0;
  width: 225px;
  margin: 0;
  color: var(--kk-blue-dark);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  transform: rotate(-8deg);
}

.hero__speech::after {
  display: block;
  width: 90px;
  height: 34px;
  margin: 2px 0 0 13px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(-14deg);
}

.hero__speech::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: -6px;
  left: -5%;
  width: 110%;
  height: 3.5em;
  border-radius: 48%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.96) 20%, rgba(255,255,255,.75) 48%, rgba(255,255,255,0) 74%);
}

.hero__scroll {
  position: absolute;
  z-index: 5;
  bottom: 31px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #58616d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transform: translateX(-50%);
}

.hero__scroll i {
  width: 17px;
  height: 17px;
  margin-top: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.problems-intro {
  padding: 78px 32px 70px;
  background: linear-gradient(180deg, #f8fbff, #f7faff);
}

.problems-intro__inner {
  width: min(100%, 1220px);
  margin-inline: auto;
}

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

.section-heading > span {
  display: block;
  width: 43px;
  height: 4px;
  margin: 0 auto 22px;
  border-radius: 9px;
  background: var(--kk-blue);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.35;
}

.section-heading p {
  margin: 6px 0 0;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
}

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

.problem-card {
  grid-column: span 2;
  display: grid;
  grid-template-rows: 82px minmax(4em, 1fr) auto;
  min-height: 226px;
  padding: 34px 32px 28px;
  border: 1px solid #dce4ec;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(26, 66, 103, .045);
}

.problem-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.problem-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.problem-card__heading {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 22px;
}

.problem-card__heading .icon {
  width: 46px;
  height: 46px;
  color: #f26000;
}

.problem-card__heading h3 {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.45;
}

.problem-copy-short { display: none; }
.problem-card__description {
  border-top: 1px solid #e4eaf0;
  padding-top: 8px;
  display: block;
  visibility: visible;
  opacity: 1;
  min-height: 4em;
  margin: 20px 0 0;
  font-size: clamp(15px, 1.32vw, 18px);
  font-weight: 500;
  line-height: 2;
}

.problem-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  color: var(--kk-blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  gap: 5px;
}

.problem-card__link .icon {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

.problem-card__link-short {
  display: none;
}

.problem-card__link:hover,
.problem-card__link:focus-visible {
  color: var(--kk-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.problem-card__link:hover .icon,
.problem-card__link:focus-visible .icon {
  transform: translateX(3px);
}

.problems-solution {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .85fr);
  align-items: center;
  margin-top: 28px;
  padding: 31px 36px;
  border: 1px solid #f0c39e;
  border-radius: 19px;
  background: linear-gradient(110deg, #fffdfb, #fff8f2);
  gap: 34px;
}

.problems-solution__copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.55vw, 35px);
  font-weight: 800;
  line-height: 1.45;
}

.problems-solution__copy h3 span {
  color: var(--kk-orange);
}

.problems-solution__copy p {
  margin: 28px 0 0;
  font-size: clamp(15px, 1.32vw, 18px);
  font-weight: 600;
  line-height: 1.85;
}

.problems-solution__actions {
  display: grid;
  gap: 14px;
}

.problem-action {
  display: grid;
  grid-template-columns: 1fr 20px;
  min-height: 70px;
  align-items: center;
  padding: 12px 19px;
  border: 2px solid currentColor;
  border-radius: 13px;
  background: #fff;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  text-align: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.problem-action:hover,
.problem-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(15, 55, 90, .1);
}

.problem-action--assessment {
  color: var(--kk-orange);
}

.problem-action--phone {
  grid-template-columns: 36px 1fr 20px;
  color: var(--kk-blue);
  background: #f4f9ff;
}

.problem-action--line .icon:first-child svg {
  fill: currentColor;
  stroke: none;
}

.problems-solution__actions small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.floating-cta {
  position: static;
  padding: 10px 22px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(13, 67, 110, .12);
  background: rgba(255, 255, 255, .96);
}

.floating-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 1080px);
  margin-inline: auto;
  gap: 12px;
}

.floating-cta .cta-button {
  min-height: 68px;
  border-radius: 10px;
  font-size: clamp(20px, 2.2vw, 29px);
  box-shadow: 0 5px 16px rgba(8, 35, 64, .12);
}

.floating-cta .cta-button + .cta-button {
  margin-top: 0;
}


.site-footer {
  padding: 32px 24px;
  color: #fff;
  background: #062847;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 4px;
}

.generic-content {
  width: min(100% - 40px, 920px);
  min-height: 60vh;
  margin: 60px auto;
}

/* Keep the background full bleed; bring the desktop artwork toward the copy. */
@media (min-width: 861px) {
  .hero__visual {
    translate: calc(-1 * clamp(72px, 11vw, 170px)) 0;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: minmax(210px, 255px) 1fr auto;
    gap: 18px;
  }

  .header-button {
    min-height: 58px;
    padding-inline: 15px;
    font-size: 15px;
  }

  .hero__inner {
    width: calc(100% - 64px);
  }

  .hero__visual {
    right: calc(50% - 50vw);
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: minmax(160px, 220px) 1fr;
    width: calc(100% - 32px);
    min-height: 84px;
  }

  .site-header__message {
    display: none;
  }

  .site-header__actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .header-button {
    width: 46px;
    min-height: 46px;
    padding: 0;
    border-width: 1.5px;
    border-radius: 8px;
  }

  .header-button span:not(.icon) {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .menu-button {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 900px;
  }

  .hero__inner {
    width: calc(100% - 36px);
    min-height: 835px;
    padding-top: 22px;
  }

  .hero__copy {
    width: 100%;
    max-width: none;
  }

  .hero__eyebrow {
    justify-content: center;
    margin-left: 0;
  }

  .hero__title {
    font-size: clamp(44px, 9vw, 66px);
  }

  .instant-list,
  .hero__speed,
  .hero-cards,
  .hero-cta,
  .hero__note {
    position: relative;
    z-index: 8;
  }

  .instant-list {
    width: 48%;
    min-width: 285px;
  }

  .hero__speed {
    margin-top: 6px;
  }

  .hero-cards,
  .hero-cta {
    width: 56%;
    min-width: 360px;
  }

  .hero__visual {
    top: 96px;
    right: -54px;
    width: 64%;
    height: 720px;
  }

  .hero__woman {
    top: 58px;
    right: 32px;
    width: 108%;
    height: 650px;
  }

  .hero__mascot {
    right: 10px;
    bottom: 12px;
    width: 270px;
    height: 270px;
  }

  .hero__speech {
    top: 0;
    right: 0;
    width: 190px;
    font-size: 15px;
  }

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

  .problem-card {
    grid-template-rows: 96px minmax(4em, 1fr) auto;
    min-height: 205px;
    padding: 27px 25px 23px;
  }

  .problem-card__heading {
    min-height: 96px;
  }

  .problems-solution {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header__inner {
    grid-template-columns: minmax(126px, 1fr) auto;
    width: calc(100% - 22px);
    min-height: 70px;
    gap: 8px;
  }

  .brand {
    width: min(100%, 185px);
  }

  .header-button,
  .menu-button {
    width: 39px;
    min-height: 39px;
    height: 39px;
  }

  .header-button .icon,
  .menu-button .icon {
    width: 25px;
    height: 25px;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding-bottom: 40px;
    background-position: 56% top;
  }

  .hero__inner {
    width: calc(100% - 22px);
    min-height: 0;
    padding-top: 10px;
  }

  .hero__eyebrow {
    justify-content: flex-start;
    margin-bottom: 3px;
    font-size: clamp(12px, 3.8vw, 15px);
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    min-height: max(550px, calc(100svh - 120px));
  }

  .hero__copy > * {
    flex-shrink: 0;
  }

  .hero__title-count strong,
  .hero__instant-char {
    font-size: 1.22em;
  }

  .hero__eyebrow::before,
  .hero__eyebrow::after {
    height: 17px;
    margin-inline: 7px;
  }

  .hero__title {
    font-size: clamp(34px, 10.8vw, 43px);
    line-height: .98;
  }

  .hero__title-end {
    flex: none;
    margin-left: 0;
  }

  .hero__title > span:last-child {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: .09em;
    width: 60%;
    margin-top: 12px;
    min-height: 1.18em;
    font-size: clamp(28px, 9vw, 54px);
    letter-spacing: -.015em;
    font-feature-settings: "palt";
  }

  .hero__title em::after {
    bottom: 0;
    height: 8px;
  }

  .hero__title::before {
    inset: -5% auto -5% -2%;
    width: 63%;
    filter: none;
    background: radial-gradient(ellipse at 40% 50%, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 40%, transparent 72%);
  }

  .hero__visual {
    top: 0;
    right: 0;
    z-index: 4;
    width: 100%;
    height: 415px;
  }

  .hero__woman {
    top: 48px;
    right: -24px;
    z-index: 1;
    width: 67%;
    max-width: none;
    height: 360px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.7) 67%, transparent 79%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.7) 67%, transparent 79%);
  }

  .hero__mascot {
    top: 198px;
    right: -18px;
    bottom: auto;
    z-index: 7;
    width: 43%;
    height: auto;
  }

  .hero__speech {
    display: block;
    top: 14px;
    right: -5px;
    z-index: 6;
    width: 40%;
    padding: 1px 2px;
    font-size: 10px;
    line-height: 1.42;
    transform: rotate(-6deg);
  }

  .hero__speech::after {
    width: 32px;
    height: 8px;
    margin-top: 0;
    margin-left: auto;
    margin-right: 8px;
  }

  .instant-list {
    grid-template-columns: repeat(4, 1fr);
    width: 52%;
    min-width: 0;
    margin: 19px 0 15px;
    gap: 3px;
  }

  .instant-list li {
    font-size: clamp(8px, 2.35vw, 10px);
    gap: 1px;
  }

  .instant-list .icon {
    width: 42%;
    height: 42%;
  }

  .hero__speed {
    z-index: 8;
    align-self: flex-start;
    margin: 12px 0 15px;
    padding: 0;
    background: transparent;
    font-size: clamp(13px, 3.9vw, 21px);
    white-space: nowrap;
  }

  .hero__speed::after {
    right: -3px;
    left: -3px;
    height: 8px;
  }

  .hero-cards,
  .hero-cta {
    width: 100%;
    min-width: 0;
  }

  .hero-cards {
    width: 60%;
    margin-left: 0;
    gap: 5px;
  }

  .hero-card {
    min-height: 104px;
    border-radius: 10px;
  }

  .hero-card__heading {
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 42px;
    padding: 4px 2px;
    font-size: clamp(8px, 2.6vw, 13px);
    line-height: 1.35;
    gap: 2px;
  }

  .hero-card__heading .icon {
    width: 18px;
    height: 18px;
    padding: 3px;
  }

  .hero-card__heading > .hero-card__text {
    white-space: nowrap;
  }

  .hero-card__heading sup {
    font-size: .65em;
  }

  .hero-card__body {
    min-height: 60px;
    padding: 4px 3px 6px;
  }

  .hero-card__body span {
    font-size: clamp(9px, 2.7vw, 13px);
  }

  .hero-card--documents .hero-card__body > span {
    font-size: clamp(11px, 3.35vw, 16px);
  }

  .hero-card__body b {
    margin-top: 2px;
    font-size: clamp(16px, 5vw, 23px);
  }

  .hero-cta {
    margin-top: auto;
    padding-top: 24px;
    margin-left: 0;
  }

  .hero-cta > p {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .cta-button {
    grid-template-columns: 27px 1fr 18px;
    min-height: 52px;
    padding: 6px 12px;
    font-size: clamp(15px, 4.2vw, 18px);
  }

  .cta-button + .cta-button {
    margin-top: 10px;
  }

  .hero__note {
    margin-top: 5px;
    margin-left: 0;
    font-size: 8px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero__scroll {
    position: relative;
    bottom: auto;
    left: auto;
    width: max-content;
    margin: 18px auto 0;
    transform: none;
  }

  .problems-intro {
    padding: 38px 8px 48px;
  }

  .section-heading h2 {
    font-size: clamp(18px, 5.3vw, 30px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .section-heading p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.65;
  }

  .section-heading > span {
    width: 38px;
    margin-bottom: 16px;
  }

  .problem-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: auto;
    margin-top: 24px;
    gap: 7px;
  }

  .problem-card {
    display: grid;
    grid-template-rows: auto minmax(min-content, 1fr) 26px;
    min-width: 0;
    min-height: 0;
    align-items: stretch;
    padding: 8px 7px 2px;
    border-radius: 11px;
    text-align: center;
  }

  .problem-card__heading {
    width: 100%;
    min-height: 0;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 7px;
  }

  .problem-card__heading .icon {
    width: 24px;
    height: 24px;
  }

  .problem-card__heading h3 {
    min-height: 0;
    width: 100%;
    font-size: clamp(10.5px, 3.15vw, 13px);
    line-height: 1.3;
  }

  .problem-card__description {
    display: block !important;
    padding-top: 5px;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible;
    max-height: none;
    width: 100%;
    min-height: 0;
    margin: 5px 0 0;
    font-size: clamp(10px, 2.75vw, 12px);
    font-weight: 500;
    line-height: 1.55;
  }

  .problem-copy-full { display: none; }
  .problem-copy-short { display: inline; }
  .problem-card__heading { display: grid; grid-template-rows: 24px minmax(3.9em, auto); justify-items: center; align-items: start; font-size: clamp(10.5px, 3.15vw, 13px); gap: 5px; }

  .problem-card__link {
    width: 100%;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    font-size: clamp(10px, 2.85vw, 12px);
    line-height: 1.25;
    gap: 1px;
  }

  .problem-card__link-full {
    display: none;
  }

  .problem-card__link-short {
    display: inline;
  }

  .problem-card__link .icon {
    width: 12px;
    height: 12px;
  }

  .problems-solution {
    margin-top: 14px;
    padding: 14px 12px;
    border-radius: 14px;
    gap: 12px;
  }

  .problems-solution__copy h3 {
    font-size: clamp(17px, 5vw, 21px);
  }

  .problems-solution__copy p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
  }

  .problems-solution__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .problems-solution__actions .problem-action {
    grid-template-columns: minmax(0, 1fr) 12px;
    min-height: 48px;
    padding: 6px 7px;
    font-size: 12px;
    line-height: 1.45;
    gap: 4px;
    border-radius: 10px;
  }

  .problems-solution__actions .problem-action--phone {
    grid-template-columns: 16px minmax(0, 1fr) 12px;
  }

  .problems-solution__actions .problem-action .icon {
    width: 16px;
    height: 16px;
  }

  .problems-solution__actions small {
    grid-column: 1 / -1;
  }

  .problems-solution__copy p br {
    display: none;
  }

  .problem-action {
    min-height: 58px;
    padding: 9px 13px;
    font-size: 15px;
  }

  .problem-action--phone {
    grid-template-columns: 30px 1fr 18px;
  }

  .problems-solution__actions small {
    font-size: 11px;
    line-height: 1.55;
  }

  .floating-cta {
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  }

  .floating-cta__inner {
    gap: 6px;
  }

  .floating-cta .cta-button {
    grid-template-columns: 23px 1fr 15px;
    min-height: 56px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: clamp(13px, 3.65vw, 16px);
    gap: 3px;
  }

  .floating-cta .cta-button > .icon:last-child {
    width: 16px;
    height: 16px;
  }

}

.header-button--assessment {
  color: #fff;
  border-color: #ff3545;
  background: linear-gradient(100deg, #ff4957, #ff3545);
}

@media (max-width: 860px) {
  .header-button--assessment {
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
  }

  .header-button--assessment .icon {
    width: 19px;
    height: 19px;
  }

  .header-button--assessment > .header-assessment-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    font-size: 11px;
  }

  .header-assessment-detail {
    display: none;
  }
}

.advance { padding: 40px 24px; background: #fff; border-top: 1px solid #edf1f6; color: #080a0e; }
.advance__inner { width: min(100%, 920px); margin: auto; }
.advance__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 14px; }
.advance__copy { min-width: 0; }
.advance__copy h2 { margin: 0 0 14px; font-size: clamp(34px, 6vw, 70px); font-weight: 900; line-height: 1.12; letter-spacing: -.035em; }
.advance__amount { color: #ff7100; white-space: nowrap; }
.advance__amount strong { font-size: 1.8em; line-height: 1; letter-spacing: -.055em; }
.advance__copy > p { font-size: 20px; line-height: 1.5; margin: 0; }
.advance__copy .advance__lead { font-weight: 800; margin-bottom: 9px; }
.advance__mascot { display: block; width: 100%; height: auto; margin-top: 22px; }
.payment-flow { padding: 18px; border: 1px solid #e7edf5; border-radius: 16px; background: #fff; }
.payment-flow h3 { text-align: center; font-size: 28px; font-weight: 900; margin: 0 0 12px; }
.payment-flow__steps { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.payment-flow__steps li { position: relative; display: grid; grid-template-columns: 46px 78px minmax(0, 1fr); align-items: center; gap: 20px; min-height: 96px; padding: 9px 24px; border-radius: 13px; background: linear-gradient(110deg, #f2f9fd, #f3f9fd); }
.payment-flow__steps li:not(:last-child)::after { content: ''; position: absolute; bottom: -14px; left: calc(50% - 7px); width: 14px; height: 14px; border-right: 2px solid #1877cf; border-bottom: 2px solid #1877cf; transform: rotate(45deg); z-index: 1; }
.payment-flow__number { color: #0064c8; font-size: 27px; font-weight: 800; }
.payment-flow__steps .icon { width: 74px; height: 74px; padding: 12px; border-radius: 50%; background: #e1f1fe; color: #0564c9; }
.payment-flow__steps p { font-size: 25px; line-height: 1.4; font-weight: 800; margin: 0; }
.payment-flow__steps p small { font-size: .85em; }
.payment-flow__steps p strong { font-size: 1.45em; line-height: 1; }
.payment-flow__blue { color: #0064c8; }
.payment-flow__note { font-size: 13px; line-height: 1.55; margin: 15px 0; }
.advance__details { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 9px; border: 1px solid #0564c9; border-radius: 10px; color: #0564c9; background: #fff; font-size: 22px; font-weight: 800; }
.advance__details .icon { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 620px) {
  .advance { padding: 14px 14px 18px; }
  .advance__intro { gap: 0; margin-bottom: 8px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .advance__copy h2 { font-size: clamp(26px, 7.8vw, 44px); margin-bottom: 8px; line-height: 1.08; }
  .advance__copy > p { font-size: clamp(12px, 2.9vw, 17px); line-height: 1.42; }
  .advance__copy .advance__lead { margin-bottom: 6px; font-size: clamp(12px, 2.9vw, 17px); white-space: nowrap; }
  .advance__mascot { margin-top: 2px; }
  .payment-flow { padding: 9px 8px; border-radius: 11px; }
  .payment-flow h3 { font-size: 20px; margin-bottom: 7px; }
  .payment-flow__steps { gap: 8px; }
  .payment-flow__steps li { grid-template-columns: 25px 40px minmax(0, 1fr); gap: 9px; min-height: 50px; padding: 5px 10px; border-radius: 8px; }
  .payment-flow__number { font-size: 16px; }
  .payment-flow__steps .icon { width: 40px; height: 40px; padding: 7px; }
  .payment-flow__steps p { font-size: clamp(13px, 3.35vw, 19px); line-height: 1.28; }
  .payment-flow__steps li:not(:last-child)::after { width: 6px; height: 6px; bottom: -6px; left: calc(50% - 3px); }
  .payment-flow__note { font-size: 11px; line-height: 1.4; margin: 9px 0; }
  .advance__details { min-height: 42px; font-size: clamp(14px, 3.7vw, 19px); gap: 7px; padding: 6px; border-radius: 7px; }
  .advance__details .icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Homepage problems and assessment form — approved compact layout. */
.problems-intro {
  padding: 48px 24px 58px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 32%, #fffaf6 100%);
}

.problems-intro .section-heading h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 900;
  letter-spacing: .015em;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  gap: 16px;
}

.problem-card,
.problem-card:nth-child(4),
.problem-card:nth-child(5) {
  grid-column: auto;
  grid-template-rows: auto auto auto;
  min-height: 220px;
  padding: 26px 24px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(18, 42, 70, .045);
}

.problem-card__heading {
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100px;
  gap: 8px;
}

.problem-card__heading .icon {
  width: 44px;
  height: 44px;
}

.problem-card__heading h3 {
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.42;
}

.problem-card__description {
  min-height: 0;
  margin: 4px 0 0;
  padding: 13px 0 0;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
}

.problem-card__link {
  justify-content: center;
  padding-top: 12px;
  font-size: 15px;
}

.problem-card--ownership {
  border-color: #b9dec7;
  background: #fbfffc;
}

.problem-card--ownership .problem-card__heading,
.problem-card--ownership .problem-card__heading .icon {
  color: #079447;
}

.problem-card--documents {
  border-color: #f2c7a8;
  background: #fffdfb;
}

.problem-card--documents .problem-card__heading,
.problem-card--documents .problem-card__heading .icon {
  color: #f06413;
}

.problem-card--rejected {
  border-color: #ccd4df;
  background: #fff;
}

.problem-card--rejected .problem-card__heading,
.problem-card--rejected .problem-card__heading .icon {
  color: #233957;
}

.ownership-guide {
  margin-top: 18px;
  padding: 25px 28px 28px;
  border: 1px solid #d8ebde;
  border-radius: 13px;
  background: linear-gradient(110deg, #fbfffc, #f1fbf4);
}

.ownership-guide__heading {
  text-align: center;
}

.ownership-guide__heading h3 {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 35px);
  font-weight: 900;
  line-height: 1.4;
}

.ownership-guide__heading h3 span {
  color: #087c3e;
}

.ownership-guide__heading p {
  margin: 4px 0 0;
  color: #3f5061;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
}

.ownership-guide__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  gap: 34px;
}

.ownership-guide__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 42px minmax(0, 1fr);
  align-items: center;
  min-height: 80px;
  padding: 11px 13px;
  border: 1px solid #cfe2d5;
  border-radius: 9px;
  background: #fff;
  gap: 8px;
}

.ownership-guide__steps li:not(:last-child)::after {
  position: absolute;
  right: -23px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #8a99a7;
  border-right: 2px solid #8a99a7;
  content: "";
  transform: rotate(45deg);
}

.ownership-guide__steps b {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #0b934b;
  font-size: 16px;
  place-items: center;
}

.ownership-guide__steps .icon {
  width: 38px;
  height: 38px;
  color: #0b934b;
}

.ownership-guide__steps li:last-child b {
  background: #f06716;
}

.ownership-guide__steps li:last-child .icon,
.ownership-guide__steps li:last-child strong {
  color: #e95e0e;
}

.ownership-guide__steps p {
  margin: 0;
  line-height: 1.35;
}

.ownership-guide__steps strong,
.ownership-guide__steps span {
  display: block;
}

.ownership-guide__steps strong {
  color: #087c3e;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 900;
}

.ownership-guide__steps span {
  margin-top: 4px;
  color: #526172;
  font-size: clamp(11px, .98vw, 14px);
}

.quick-assessment {
  margin-top: 18px;
  padding: 30px 32px 26px;
  border: 1px solid #efdfd2;
  border-radius: 14px;
  background: #fffdfb;
  box-shadow: 0 7px 28px rgba(74, 54, 38, .055);
}

.quick-assessment__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.quick-assessment__header h2 {
  margin: 0;
  color: #071027;
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 900;
  line-height: 1.2;
}

.quick-assessment__header h2 strong,
.quick-assessment__header h2 span {
  color: #ed1737;
}

.quick-assessment__header h2 span {
  position: relative;
  display: inline-block;
  margin-right: .16em;
  font-size: .62em;
}

.quick-assessment__header h2 span::before,
.quick-assessment__header h2 span::after {
  content: "";
  position: absolute;
  width: .12em;
  height: .43em;
  border-radius: .08em;
  background: currentColor;
  pointer-events: none;
}

.quick-assessment__header h2 span::before {
  top: -.60em;
  left: .28em;
  transform: rotate(18deg);
}

.quick-assessment__header h2 span::after {
  top: -.40em;
  left: .70em;
  transform: rotate(55deg);
}

.quick-assessment__header p {
  margin: 5px 0 0;
  color: #526172;
  font-size: 15px;
}

.quick-assessment__badge {
  padding: 8px 15px;
  border: 1px solid #f1c7a7;
  color: #e76518 !important;
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.assessment-form {
  position: relative;
  margin-top: 24px;
}

.assessment-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.assessment-form__grid,
.contact-fields__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.form-field > span,
.situation-fields legend {
  color: #101a31;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.form-field em,
.form-field i,
.situation-fields legend i {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  vertical-align: 2px;
}

.form-field em {
  color: #fff;
  background: #f0644c;
}

.form-field i,
.situation-fields legend i {
  color: #4b5565;
  background: #edf0f4;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #cfd7e2;
  border-radius: 7px;
  color: #162238;
  background: #fff;
  font-size: 16px;
}

.form-field select {
  cursor: pointer;
}

.form-field select:disabled {
  color: #8290a1;
  background: #f4f6f8;
  cursor: not-allowed;
}

.form-field input:focus,
.form-field select:focus {
  border-color: #0a67c7;
  outline: 3px solid rgba(10, 103, 199, .14);
}

.contact-fields,
.situation-fields {
  margin: 25px 0 0;
  padding: 0;
  border: 0;
}

.contact-fields {
  padding: 19px 18px 20px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #f8fbfd;
}

.contact-fields legend {
  width: calc(100% + 36px);
  margin: -19px -18px 17px;
  padding: 10px 18px;
  border-radius: 10px 10px 0 0;
  color: #101a31;
  background: #edf7fd;
  font-size: 17px;
  font-weight: 900;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.situation-fields legend {
  margin-bottom: 10px;
}

.situation-fields__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.situation-choice {
  min-width: 0;
  cursor: pointer;
}

.situation-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.situation-choice > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 8px;
  border: 2px solid #d5dbe4;
  border-radius: 9px;
  color: #122039;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  gap: 8px;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.situation-choice .icon {
  width: 26px;
  height: 26px;
}

.situation-choice--ownership > span { color: #087f40; }
.situation-choice--documents > span { color: #ed6418; }
.situation-choice--rejected > span { color: #075fbb; }

.situation-choice input:focus-visible + span {
  outline: 3px solid rgba(10, 103, 199, .22);
  outline-offset: 2px;
}

.situation-choice input:checked + span {
  border-color: currentColor;
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px currentColor, 0 4px 12px rgba(18, 48, 82, .09);
}

.assessment-submit {
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin-top: 24px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #ff294a, #f81245);
  box-shadow: 0 8px 20px rgba(238, 28, 68, .2);
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
}

.assessment-submit .icon {
  width: 24px;
  height: 24px;
}

.assessment-submit:hover,
.assessment-submit:focus-visible {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.assessment-form__privacy {
  margin: 10px 0 0;
  color: #788492;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.assessment-form__privacy::before {
  content: none;
}

.assessment-form__privacy .privacy-lock { display: inline-block; width: 16px; height: 18px; vertical-align: middle; margin-right: 6px; color: #8794a4; }
.assessment-form .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 74px; padding: 10px 12px; border: 1px solid #cdd6e0; border-radius: 7px; background: #fff; color: #13233c; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.assessment-form .form-field > small { font-size: 12px; font-weight: 400; line-height: 1.5; color: #667384; }
.assessment-form__grid > .form-field { min-width: 0; }
.assessment-form .form-field input[type="date"] { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.assessment-form .form-field input[type="date"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
.assessment-form .form-field textarea { max-width: 100%; box-sizing: border-box; }

.assessment-form__privacy a {
  margin-left: 5px;
  color: #075fbb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-notice {
  margin: 18px 0 0;
  padding: 11px 14px;
  border-radius: 7px;
  font-weight: 700;
}

.form-notice--success { color: #076f38; background: #eaf8ef; }
.form-notice--error { color: #a32625; background: #fff0ef; }

@media (max-width: 620px) {
  .problems-intro {
    padding: 30px 8px 38px;
  }

  .problems-intro .section-heading h2 {
    font-size: clamp(20px, 5.9vw, 27px);
  }

  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    gap: 6px;
  }

  .problem-card,
  .problem-card:nth-child(4),
  .problem-card:nth-child(5) {
    grid-template-rows: auto auto 26px;
    min-height: 196px;
    padding: 9px 6px 5px;
    border-radius: 8px;
  }

  .problem-card__heading {
    display: flex;
    min-height: 91px;
    justify-content: flex-start;
    gap: 5px;
  }

  .problem-card__heading .icon {
    width: 29px;
    height: 29px;
  }

  .problem-card__heading h3 {
    font-size: clamp(10.5px, 3.1vw, 13px);
    line-height: 1.35;
  }

  .problem-card__description {
    margin: 0;
    padding: 7px 1px 0;
    font-size: clamp(9px, 2.55vw, 11px);
    line-height: 1.45;
  }

  .problem-card__link {
    min-height: 26px;
    padding: 3px 0 0;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .ownership-guide {
    margin-top: 11px;
    padding: 13px 6px 14px;
    border-radius: 9px;
  }

  .ownership-guide__heading h3 {
    font-size: clamp(17px, 5vw, 21px);
  }

  .ownership-guide__heading p {
    margin: 4px 8px 0;
    font-size: clamp(10px, 2.7vw, 12px);
    line-height: 1.55;
  }

  .ownership-guide__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
    gap: 12px;
  }

  .ownership-guide__steps li {
    grid-template-columns: 23px 25px minmax(0, 1fr);
    min-height: 65px;
    padding: 5px 4px;
    gap: 3px;
  }

  .ownership-guide__steps li:not(:last-child)::after {
    right: -9px;
    width: 7px;
    height: 7px;
  }

  .ownership-guide__steps b {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }

  .ownership-guide__steps .icon {
    width: 23px;
    height: 23px;
  }

  .ownership-guide__steps strong {
    font-size: clamp(9px, 2.45vw, 11px);
    line-height: 1.25;
  }

  .ownership-guide__steps span {
    margin-top: 2px;
    font-size: clamp(7.5px, 2vw, 9px);
    line-height: 1.3;
  }

  .quick-assessment {
    margin-top: 11px;
    padding: 16px 12px 14px;
    border-radius: 10px;
  }

  .quick-assessment__header {
    align-items: center;
    gap: 8px;
  }

  .quick-assessment__header h2 {
    font-size: clamp(25px, 7.5vw, 34px);
  }

  .quick-assessment__header p {
    font-size: 10px;
    line-height: 1.5;
  }

  .quick-assessment__badge {
    padding: 5px 7px;
    font-size: 9px !important;
    white-space: normal;
    text-align: center;
  }

  .assessment-form {
    margin-top: 14px;
  }

  .assessment-form__grid,
  .contact-fields__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .form-field {
    gap: 4px;
  }

  .form-field > span,
  .situation-fields legend {
    font-size: 12px;
  }

  .form-field em,
  .form-field i,
  .situation-fields legend i {
    margin-left: 3px;
    padding: 1px 4px;
    font-size: 8px;
  }

  .form-field input,
  .form-field select {
    height: 44px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 12px;
  }

  .contact-fields {
    margin-top: 16px;
    padding: 15px 9px 12px;
  }

  .contact-fields legend {
    width: calc(100% + 18px);
    margin: -15px -9px 12px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .situation-fields {
    margin-top: 15px;
  }

  .situation-fields__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .situation-choice > span {
    flex-direction: column;
    min-height: 66px;
    padding: 5px 2px;
    border-width: 1.5px;
    font-size: clamp(8.5px, 2.45vw, 11px);
    line-height: 1.2;
    gap: 3px;
  }

  .situation-choice .icon {
    width: 20px;
    height: 20px;
  }

  .assessment-submit {
    min-height: 56px;
    margin-top: 15px;
    padding: 8px 15px;
    font-size: 17px;
  }

  .assessment-form__privacy {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.5;
  }
}

/* Shared contact preference: home and ownership forms. */
.contact-fields .contact-preference{grid-column:1/-1;min-width:0;border:0;padding:0;margin:0}
.contact-fields .contact-preference legend{float:none;width:auto;background:none;margin:0 0 8px;padding:0;color:inherit;font-size:16px;line-height:1.5;font-weight:700}
.contact-preference legend small{font-size:11px;font-weight:400;background:#edf0f3;color:#4a5563;padding:2px 5px;border-radius:4px}
.contact-preference>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.contact-preference label{display:flex;align-items:center;gap:8px;border:1px solid #cbd9df;border-radius:6px;background:#fff;padding:9px 10px;min-height:44px;font-size:15px;font-weight:500;cursor:pointer}
.contact-preference input[type=radio]{appearance:auto;width:18px;height:18px;min-width:18px;margin:0;accent-color:#008456}
.contact-preference label:focus-within{outline:2px solid #008456;outline-offset:2px}
@media(max-width:700px){.contact-fields .contact-preference legend{font-size:12px;margin-bottom:5px}.contact-preference label{font-size:13px;padding:7px;gap:5px}.contact-preference>div{gap:8px}}

.contact-fields .contact-hours{grid-column:1/-1;font-size:12px;line-height:1.6;font-weight:400;color:#526477;margin:0}
