@font-face {
  font-family: Dosis;
  src: url("/assets/dosis-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #16322f;
  --body: #435d55;
  --mint: #50c987;
  --logo-teal: #558084;
  --canvas: #f8faf3;
  --line: #dce5d9;
  --white: #fff;
  --radius: 28px;
  font-family:
    Dosis, "Avenir Next", "Inter", "PingFang TC", "Microsoft JhengHei",
    system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #197451;
  outline-offset: 4px;
}
.wrap {
  width: min(calc(100% - 100px), 1200px);
  margin-inline: auto;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.defs {
  position: absolute;
}
.skip {
  position: absolute;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  background: #fff;
  padding: 0.7rem 1rem;
}
.skip:focus {
  top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  border-bottom: 1px solid #e3eae0;
}
.topbar {
  min-height: 79px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
}
.logo img {
  height: auto;
}
.topbar nav,
.top-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.topbar nav a {
  font-size: 0.9375rem;
  text-decoration: none;
  color: #37574d;
  font-weight: 650;
  white-space: nowrap;
}
.topbar nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.top-actions {
  justify-content: flex-end;
}
.language {
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.3rem;
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
}
.language .icon {
  color: #3e7162;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 0.8rem 1.45rem;
  min-height: 49px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 780;
  line-height: 1.25;
  transition:
    background-color 0.18s,
    box-shadow 0.18s;
}
.button-dark {
  background: #44b075;
  color: #fff;
}
.button-dark:hover {
  background: #26614e;
  box-shadow: 0 5px 18px #173f3625;
}
.button-mint {
  background: #8eebaf;
  color: #0e392a;
}
.button-mint:hover {
  background: #a8f3bf;
}
.button-outline {
  border-color: #c6d6c8;
  background: #ffffff40;
}
.button-outline:hover {
  background: #e6f3e7;
}
.button-light-outline {
  border-color: #719387;
  color: #fff;
  background: transparent;
}
.button-light-outline:hover {
  background: #ffffff16;
}
.top-cta {
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  white-space: nowrap;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: 53px 54px;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid #c5e9d2;
  background: #eaf7ec;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 750;
  color: #255e47;
}
.eyebrow .icon {
  width: 1rem;
  height: 1rem;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3rem, 5.3vw, 5.2rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 20px 0 24px;
  font-weight: 850;
}
h1 em {
  color: #206447;
  font-style: normal;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 0.21em;
  left: 0.02em;
  right: 0.05em;
  bottom: 0.06em;
  border-radius: 55% 20% 48% 34%;
  background: #abedbc;
  transform: rotate(-2deg);
}
.hero-copy > p {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.8;
  color: var(--body);
  max-width: 31rem;
  margin-bottom: 29px;
}
.hero .actions {
  gap: 19px;
}
.hero-art {
  margin: 0;
  min-width: 0;
}
.hero-scene {
  display: block;
  width: 100%;
  height: auto;
}
.hero-art figcaption {
  color: #315e50;
  font-size: 0.9375rem;
  font-weight: 720;
  text-align: center;
  text-wrap: pretty;
  line-height: 1.6;
}
.hero-scene
  :is(
    .hero-speech,
    .hero-person,
    .hero-gesture,
    .hero-head,
    .hero-agreement,
    .hero-hug
  ) {
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.hero-leaf {
  animation: hero-leaf-sway 5s ease-in-out infinite;
}
.hero-leaf-left {
  transform-origin: 74px 309px;
}
.hero-leaf-right {
  transform-origin: 499px 315px;
  animation-delay: -1.8s;
}
.hero-speech {
  filter: drop-shadow(0 3px 3px #25494024);
}
.hero-speech-left {
  transform-origin: 129px 105px;
  animation-name: hero-speech-left;
}
.hero-speech-right {
  transform-origin: 419px 99px;
  animation-name: hero-speech-right;
}
.hero-person-left {
  transform-origin: 150px 325px;
  animation-name: hero-person-left;
}
.hero-person-right {
  transform-origin: 412px 325px;
  animation-name: hero-person-right;
}
.hero-gesture-left {
  transform-origin: 181px 213px;
  animation-name: hero-gesture-left;
}
.hero-gesture-right {
  transform-origin: 380px 216px;
  animation-name: hero-gesture-right;
}
.hero-free-arm {
  animation: hero-free-arm 8s ease-in-out infinite;
}
.hero-free-arm-left {
  --arm-direction: -1;
  transform-origin: 117px 217px;
}
.hero-free-arm-right {
  --arm-direction: 0.85;
  transform-origin: 447px 215px;
}
.hero-head-left {
  transform-origin: 153px 175px;
  animation-name: hero-nod;
}
.hero-head-right {
  transform-origin: 403px 178px;
  animation-name: hero-nod;
  animation-delay: -1.2s;
}
.hero-agreement {
  animation-name: hero-agreement;
}
.hero-hug {
  animation-name: hero-hug;
}
@keyframes hero-leaf-sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  30% {
    transform: rotate(5deg) skewX(1deg);
  }
  54% {
    transform: rotate(1deg);
  }
  76% {
    transform: rotate(4deg);
  }
}
@keyframes hero-speech-left {
  0%,
  100% {
    opacity: 0.74;
    transform: translate(-12px, -19px) scale(1.1);
  }
  7%,
  19%,
  36% {
    opacity: 1;
    transform: translate(-12px, -24px) scale(1.17);
  }
  25%,
  44% {
    opacity: 0.78;
    transform: translate(-12px, -20px) scale(1.12);
  }
  53%,
  92% {
    opacity: 0;
    transform: translate(-12px, -16px) scale(1.08);
  }
}
@keyframes hero-speech-right {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(14px, -17px) scale(1.1);
  }
  20%,
  31%,
  45% {
    opacity: 1;
    transform: translate(14px, -23px) scale(1.17);
  }
  37% {
    opacity: 0.76;
    transform: translate(14px, -20px) scale(1.12);
  }
  53%,
  92% {
    opacity: 0;
    transform: translate(14px, -15px) scale(1.08);
  }
}
@keyframes hero-free-arm {
  0%,
  100% {
    opacity: 1;
    transform: rotate(0);
  }
  13%,
  44% {
    transform: rotate(calc(8deg * var(--arm-direction)));
  }
  27%,
  49% {
    transform: rotate(calc(-5deg * var(--arm-direction)));
  }
  56% {
    opacity: 1;
    transform: rotate(calc(25deg * var(--arm-direction)));
  }
  70%,
  88% {
    opacity: 0;
    transform: rotate(calc(56deg * var(--arm-direction)));
  }
  96% {
    opacity: 1;
    transform: rotate(calc(12deg * var(--arm-direction)));
  }
}
@keyframes hero-person-left {
  0%,
  48%,
  100% {
    transform: translateX(0);
  }
  59% {
    transform: translateX(34px) rotate(5deg);
  }
  69%,
  88% {
    transform: translateX(73px) rotate(7deg);
  }
  78% {
    transform: translateX(73px) rotate(9deg);
  }
}
@keyframes hero-person-right {
  0%,
  49%,
  100% {
    transform: translateX(0);
  }
  60% {
    transform: translateX(-31px) rotate(-4deg);
  }
  69%,
  88% {
    transform: translateX(-71px) rotate(-6deg);
  }
  78% {
    transform: translateX(-71px) rotate(-8deg);
  }
}
@keyframes hero-gesture-left {
  0%,
  19%,
  45%,
  100% {
    opacity: 1;
    transform: rotate(6deg);
  }
  10%,
  40% {
    transform: rotate(-24deg);
  }
  27% {
    transform: rotate(-5deg);
  }
  56% {
    opacity: 1;
    transform: rotate(-11deg);
  }
  69%,
  89% {
    opacity: 1;
    transform: rotate(66deg);
  }
}
@keyframes hero-gesture-right {
  0%,
  17%,
  39%,
  100% {
    opacity: 1;
    transform: rotate(-8deg);
  }
  27%,
  47% {
    transform: rotate(22deg);
  }
  55% {
    opacity: 1;
    transform: rotate(12deg);
  }
  69%,
  89% {
    opacity: 1;
    transform: rotate(-66deg);
  }
}
@keyframes hero-nod {
  0%,
  30%,
  63%,
  100% {
    transform: rotate(0);
  }
  13%,
  38% {
    transform: rotate(6deg);
  }
  23%,
  45% {
    transform: rotate(-4deg);
  }
}
@keyframes hero-agreement {
  0%,
  26%,
  61%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
  36%,
  49% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-hug {
  0%,
  62%,
  96%,
  100% {
    opacity: 0;
    transform: translateY(5px);
  }
  70%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
}
section[id] {
  scroll-margin-top: 1.5rem;
}
.features {
  padding-block: 68px 90px;
  border-top: 1px solid var(--line);
}
.section-intro {
  max-width: 735px;
  margin: 0 auto 40px;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: #2f6d53;
  font-weight: 800;
  letter-spacing: 0.045em;
  margin-bottom: 0.7rem;
}
.kicker-icon {
  flex: none;
  width: 1.13rem;
  height: 1.13rem;
  fill: currentColor;
}
h2 {
  font-weight: 830;
  font-size: clamp(2rem, 3.35vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
.section-intro p,
.agreement p,
.bottom p,
.credit-copy p {
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
}
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 58px);
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
}
.journey::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 23px;
  right: 14%;
  height: 1px;
  background: #c3dacf;
}
.journey li {
  position: relative;
}
.journey-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.95rem;
  border: 1px solid #d1e6d8;
  border-radius: 50%;
  background: #e5f2e6;
  color: #28654c;
  font-size: 1.25rem;
}
.journey h3 {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  margin: 0 0 0.4rem;
}
.journey p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.mediation {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(25px, 5vw, 75px);
  padding: clamp(26px, 5vw, 64px);
  background: #173d36;
  border-radius: 32px;
  color: #f8fff7;
}
.mediation .kicker {
  color: #b4edc9;
}
.mediation-story > p {
  color: #d9ebe0;
  font-size: 1.05rem;
  line-height: 1.75;
}
.mediation-motion {
  display: block;
  width: min(100%, 284px);
  height: auto;
  margin: 4px auto 6px;
}
.logo-sway {
  transform-origin: 54px 99px;
  animation: logo-sway 6s ease-in-out infinite;
}
.loan-formula {
  fill: none;
  stroke: #ddf8e6;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.loan-formula path {
  stroke-dasharray: 1 2;
  animation: formula-writing 18s linear infinite backwards;
  animation-delay: calc(var(--scene-offset, 0s) + var(--pen-step) * 0.065s);
}
.mediation-scene {
  visibility: hidden;
  animation: mediation-scene 18s ease-in-out infinite;
}
.scene-first {
  visibility: visible;
}
.scene-second {
  --scene-offset: -12s;
  animation-delay: var(--scene-offset);
}
.scene-third {
  --scene-offset: -6s;
  animation-delay: var(--scene-offset);
}
@keyframes formula-writing {
  0%,
  35%,
  100% {
    opacity: 0;
    stroke-dashoffset: 1.08;
  }
  .22% {
    opacity: 1;
  }
  1.6%,
  34% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes logo-sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg) translateY(-2px);
  }
}
@keyframes mediation-scene {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateY(3px);
  }
  3%,
  30% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  33.333% {
    opacity: 0;
    visibility: visible;
    transform: translateY(-3px);
  }
  33.334%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.mediation-quotes {
  display: grid;
}
.mediation-quotes .mediation-quote {
  grid-area: 1/1;
  display: grid;
  align-content: center;
  width: 100%;
}
.mediation-quote {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 9px;
  padding: 0.75rem 1rem;
  color: #e5f6eb;
  background: #2d594b;
  border-radius: 17px 17px 17px 5px;
}
.mediation-quote::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: -8px;
  width: 14px;
  height: 12px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.mediation-quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.simulation,
.credit-profile {
  min-width: 0;
  color: var(--ink);
  background: #fbfdf8;
  border: 1px solid #dceade;
  border-radius: 22px;
  padding: clamp(16px, 2.5vw, 28px);
}
.demo-header {
  margin-bottom: 12px;
}
.demo-header h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0;
}
.sim-options {
  display: flex;
  gap: 16px;
  border: 0;
  padding: 0;
  margin: 0 0 13px;
  border-bottom: 1px solid #d5e3d9;
  min-width: 0;
}
.sim-options label {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 730;
  cursor: pointer;
  color: #818683c2;
}
.sim-options label:has(:checked) {
  border-color: #43886b;
  color: #14543b;
}
.sim-options input {
  accent-color: #34795a;
  margin: 0;
  flex-shrink: 0;
}
.sim-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 13px;
}
.sim-inputs label {
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 740;
}
.sim-inputs input {
  width: 100%;
  min-height: 39px;
  color: var(--ink);
  margin-top: 4px;
  border: 1px solid #c8dacf;
  border-radius: 8px;
  background: #fff;
  padding: 0.4rem 0.65rem;
  font-size: 1rem;
}
.sim-result {
  margin-top: 13px;
  background: #eaf4e9;
  border-radius: 12px;
  padding: 12px 14px;
}
.sim-message,
.sim-breakdown,
.sim-note {
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}
.sim-result dl {
  margin: 8px 0;
}
.sim-message[hidden] + dl {
  margin-top: 0;
}
.sim-result dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 0.22rem 0;
  font-size: 0.9375rem;
}
.sim-result dd {
  margin: 0;
  flex: none;
  font-weight: 800;
}
.sim-result .sim-total {
  border-top: 1px solid #cfe1d1;
  margin-top: 4px;
  padding-top: 6px;
  color: #18583e;
  font-weight: 820;
}
.sim-total dd {
  font-size: 1.2rem;
}
.sim-note {
  margin-top: 10px;
  color: #8e8e8e;
}
.credit {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(24px, 6vw, 92px);
  padding: 58px clamp(0px, 3vw, 42px) 0;
}
.credit-profile {
  background: #fff;
  box-shadow: 0 10px 30px #2858440d;
}
.profile-identity {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 13px;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  color: #466b5c;
  background: #edf3ed;
  font-size: 0.875rem;
}
.profile-name,
.profile-score,
.profile-balance,
.profile-records li > div {
  display: grid;
  gap: 3px;
}
.profile-name strong {
  font-size: 0.9375rem;
}
.profile-name span,
.profile-records li > div span {
  color: #5f6e63;
  font-size: 0.8125rem;
}
.profile-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 9px;
}
.profile-score,
.profile-balance {
  align-content: center;
  padding: 13px clamp(8px, 2vw, 17px);
  border-radius: 12px;
}
.profile-score {
  background: #1c5141;
  color: #f2fcf3;
}
.profile-balance {
  background: #edf5eb;
  color: #23483d;
}
.profile-score > span:first-child,
.profile-balance > span {
  font-size: 0.875rem;
  font-weight: 700;
}
.profile-score > span:first-child {
  color: #d8eee2;
}
.profile-balance > span {
  color: #50695b;
}
.profile-score strong {
  font-size: clamp(2.45rem, 5vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.profile-score small {
  color: #c5e1d2;
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0;
}
.profile-balance strong {
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.profile-stars {
  display: flex;
  gap: 3px;
  margin-top: 5px;
}
.profile-stars svg {
  width: clamp(12px, 3.6vw, 17px);
  height: 17px;
  fill: #a9e9b9;
}
.profile-stars .star-unfilled {
  fill: #6a9a81;
}
.profile-controls {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #dceade;
  margin-top: 11px;
}
.profile-controls button {
  padding: 9px 1px 6px;
  color: var(--body);
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 0.9375rem;
  font-weight: 680;
  color: #818683c2;
}
.profile-controls [aria-pressed="true"] {
  color: #195d42;
  border-color: #408669;
  font-weight: 800;
}
.profile-records {
  margin: 0;
  padding: 0;
  min-height: 142px;
  list-style: none;
}
.profile-records li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 8px;
  padding: 9px 0;
  font-size: 0.9375rem;
}
.profile-records li + li {
  border-top: 1px solid #e8eee8;
}
.profile-records li strong {
  color: #171917;
}
.record-balance {
  text-align: right;
}
.record-balance strong {
  white-space: nowrap;
  font-size: 1.04rem;
}
.profile-records li > .record-share {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: 8px;
}
.record-share span {
  text-align: right;
  font-weight: 720;
}
.record-share meter {
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: #edf2ec;
}
.record-share meter::-webkit-meter-bar {
  border: none;
  border-radius: 10px;
  background: #edf2ec;
  height: 8px;
}
.record-share meter::-webkit-meter-optimum-value {
  background: #33876b;
  border-radius: 10px;
}
.record-share meter::-moz-meter-bar {
  background: #33876b;
  border-radius: 10px;
}
.repayment-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding-top: 12px;
}
.repayment-counts > div {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 11px 6px;
  border-radius: 10px;
  background: var(--history-bg);
  text-align: center;
  color: var(--history-ink);
}
.history-on-time {
  --history-bg: #e9f5eb;
  --history-ink: #245f45;
}
.history-late {
  --history-bg: #fff1df;
  --history-ink: #814a1d;
}
.history-closed {
  --history-bg: #e8f1f5;
  --history-ink: #8e8e8e;
}
.repayment-counts dt {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 720;
}
.history-icon {
  width: 1.28rem;
  height: 1.28rem;
}
.repayment-counts dd {
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  line-height: 1.16;
  font-weight: 820;
  margin: 6px 0 0;
}
.credit-assessment {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f0f6ee;
}
.credit-assessment h4 {
  font-size: 0.875rem;
  margin: 0;
}
.credit-assessment p {
  grid-column: 1/-1;
  color: #455f53;
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
  text-align: center;
}
.credit-budget {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.credit-budget div {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 4.25rem;
  padding: 8px;
  border-radius: 7px;
  background: #fff;
  text-align: center;
}
.credit-budget dt {
  font-size: 0.8125rem;
  color: #455f53;
}
.credit-budget dd {
  margin: 3px 0 0;
  color: #16322f;
  font-size: 1.15rem;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.agreement {
  background: #173d36;
  color: #f8fff7;
  overflow: hidden;
}
.agreement-layout {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  align-items: center;
  gap: 36px;
  min-height: 490px;
  padding-block: 54px;
}
.agreement .kicker {
  color: #b2ebc9;
}
.agreement h2 span:last-child {
  color: #a2eab8;
}
.agreement p {
  color: #d8e9df;
  max-width: 34rem;
  margin-bottom: 23px;
}
.agreement :focus-visible {
  outline-color: #adf0c3;
}
.paper-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 358px;
}
.paper-orbit {
  width: 94%;
  height: 75%;
  position: absolute;
  border: 1px solid #a2eab84a;
  border-radius: 50%;
  transform: rotate(-21deg);
}
.paper-orbit::before {
  content: "";
  position: absolute;
  inset: -15px -10px;
  border: 1px solid #a2eab82c;
  border-radius: 50%;
}
.paper-back {
  position: absolute;
  width: 242px;
  height: 293px;
  border-radius: 16px;
  background: #87bfaa;
  transform: translate(24px, 7px) rotate(12deg);
}
.paper-front {
  position: relative;
  width: min(248px, 82%);
  min-height: 308px;
  padding: 22px 21px 15px;
  text-align: left;
  border: 1px solid #fefff9;
  border-radius: 17px;
  background: #fefff8;
  transform: rotate(-7deg);
  color: #21493d;
  box-shadow: 0 18px 40px #051d1870;
  transition: transform 0.18s;
}
.paper-front:hover {
  transform: rotate(-3deg) translateY(-4px);
}
.paper-icon {
  display: block;
  width: 23px;
  height: 23px;
  margin-bottom: 9px;
  color: #368765;
}
.paper-title {
  display: block;
  font-weight: 830;
  font-size: 1.1rem;
  line-height: 1.2;
}
.paper-sub {
  font-size: 0.8125rem;
  display: block;
  margin-top: 5px;
  color: #4b6e60;
}
.paper-divider {
  display: block;
  height: 1px;
  background: #dceade;
  margin: 13px 0 8px;
}
.paper-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 8px;
  align-items: center;
  min-height: 23px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.paper-row i,
.paper-lines i {
  display: block;
  border-radius: 20px;
  width: 84%;
  height: 7px;
  background: #bfd2c5;
  filter: blur(2.5px);
}
.paper-lines {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.paper-lines i:nth-child(2) {
  width: 95%;
}
.paper-lines i:nth-child(3) {
  width: 59%;
}
.paper-stamp {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: max-content;
  margin-top: 15px;
  padding: 0.28rem 0.6rem;
  background: #daf0de;
  border-radius: 100px;
  color: #245644;
  font-size: 0.75rem;
  font-weight: 780;
}
.paper-spark {
  width: 37px;
  height: 37px;
  position: absolute;
  right: 8%;
  top: 14%;
  fill: #a2eab8;
  pointer-events: none;
}
.bottom {
  padding-block: clamp(46px, 7vw, 88px);
}
.bottom-box {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 6.2vw, 76px) clamp(18px, 6vw, 75px);
  border: 1px solid #d0e9d6;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 95% 85%, #c9ead1 0, transparent 54%), #e8f6e7;
}
.bottom-box h2 {
  max-width: 17em;
  margin: 0;
  font-size: clamp(1.8rem, 4.15vw, 3.55rem);
}
.bottom-box p {
  max-width: 34em;
}
.bottom-box .button {
  margin-top: 5px;
}
.bottom-heart {
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  left: -62px;
  bottom: -100px;
  transform: rotate(-18deg);
  fill: #ccebd2;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #f0f5ee;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(125px, 0.36fr) minmax(0, 1.64fr);
  gap: 20px clamp(25px, 5vw, 64px);
  padding-block: 28px 18px;
}
.footer-brand,
.footer-legal {
  min-width: 0;
}
.footer-inner p,
.text-button {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #496458;
}
.footer-legal h2,
.footer-legal p {
  color: #818683;
}
.footer-legal h2 {
  font-size: 0.875rem;
  margin: 0 0 5px;
  letter-spacing: 0;
}
.footer-legal p {
  max-width: 76ch;
  font-size: 0.8rem;
}
.footer-meta {
  grid-column: 1/-1;
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  padding: 5px;
}
dialog {
  width: min(calc(100% - 28px), 460px);
  max-height: calc(100% - 28px);
  padding: 0;
  border: 1px solid #d9e6d8;
  border-radius: 26px;
  color: var(--ink);
  background: #fbfdf7;
  box-shadow: 0 30px 90px #0d322a44;
}
dialog::backdrop {
  background: #102f2ac0;
  backdrop-filter: blur(4px);
}
.wide-dialog {
  width: min(calc(100% - 28px), 685px);
}
.dialog-content {
  padding: 30px;
}
dialog h2 {
  padding-right: 20px;
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  margin-bottom: 8px;
}
dialog .kicker {
  margin-right: 28px;
}
.dialog-mark {
  margin-bottom: 14px;
}
.dialog-desc {
  color: var(--body);
  line-height: 1.65;
  margin: 0 0 19px;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid #dce9db;
  background: #fff;
  color: var(--ink);
}
.provider-list {
  display: grid;
  gap: 10px;
}
.provider {
  background: #fff;
  border-color: #cfded0;
}
.provider:hover,
.close:hover {
  background: #eaf5eb;
}
.provider-icon {
  width: 21px;
  height: 21px;
  color: #111;
}
.demo {
  border-top: 1px solid #dce9db;
  margin-top: 16px;
  padding-top: 14px;
}
.demo p,
.field-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 9px;
}
.status {
  font-size: 0.9375rem;
  line-height: 1.5;
  background: #f9e8d0;
  padding: 0.7rem 0.85rem;
  margin: 12px 0;
  border-radius: 10px;
  color: #623d25;
}
.sample-document {
  display: block;
  width: 100%;
  border: 1px solid #d9e6d8;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 20px;
}
.sample-actions {
  display: flex;
  justify-content: center;
}
@media (max-width: 380px) {
  #sample .dialog-content {
    padding-inline: 10px;
  }
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 13px;
}
.party-details {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid #d9e6d8;
  border-radius: 10px;
}
.party-details legend {
  padding-inline: 4px;
  color: #285b48;
  font-size: 0.9375rem;
  font-weight: 800;
}
.party-details label + label,
.party-details [data-tw-party] {
  margin-top: 10px;
}
@media (max-width: 500px) {
  .party-details {
    grid-column: 1 / -1;
  }
}
.fields label {
  display: block;
  font-size: 0.875rem;
  font-weight: 760;
}
.field-error {
  display: block;
  margin-top: 5px;
  color: #8a3a32;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.45;
}
.fields input,
.fields select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 0.38rem;
  border: 1px solid #c3d5c7;
  border-radius: 9px;
  padding: 0.65rem 0.7rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
}
.fields select {
  appearance: none;
  padding-right: 2.1rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23295a42' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
}
.contract-date {
  min-width: 0;
}
.date-control {
  position: relative;
}
.date-control input {
  border-radius: 12px;
  padding-inline: 0.5rem 2.1rem;
  font-variant-numeric: tabular-nums;
}
.date-control button {
  position: absolute;
  inset-block: 4px;
  inset-inline-end: 4px;
  display: grid;
  width: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #edf6ec;
  color: #285b48;
}
.date-control button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.contract-calendar {
  position: fixed;
  z-index: 2;
  width: 21rem;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 9px 11px 11px;
  border: 1px solid #c3d5c7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px #16322f13;
}
.calendar-toolbar {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.calendar-toolbar h3 {
  margin: 0;
  font-size: 1rem;
}
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  text-align: center;
}
.calendar-weekdays {
  margin: 6px 0 3px;
  color: var(--body);
  font-size: 0.75rem;
}
.contract-calendar button {
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}
.calendar-toolbar button {
  background: #edf6ec;
  font-size: 1.25rem;
}
.date-control button:hover,
.contract-calendar button:not(:disabled):hover {
  background: #deefdc;
}
.calendar-days button[aria-pressed="true"]:not(:disabled) {
  background: #285b48;
  color: #fff;
}
.contract-calendar button:disabled {
  cursor: default;
  opacity: 0.35;
}
.rate-limit {
  margin: 5px 0 0;
  color: #855020;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.full {
  grid-column: 1/-1;
}
.currency {
  color: var(--body);
}
#contract-form .actions {
  margin-top: 14px;
}
button:disabled {
  cursor: wait;
  opacity: 0.72;
}
:root[lang="en"] {
  letter-spacing: 0.018em;
  word-spacing: 0.045em;
}
:lang(en) h1 {
  font-size: clamp(3.1rem, 5.3vw, 5rem);
  line-height: 1.09;
  letter-spacing: 0;
}
:lang(en) h1 em {
  white-space: normal;
}
:lang(en) h2 {
  letter-spacing: 0;
  line-height: 1.2;
}
:lang(en) .profile-score strong {
  letter-spacing: -0.015em;
}
:lang(en) .mediation-quote p,
:lang(en) .credit-assessment p,
:lang(en) .sim-note {
  line-height: 1.7;
}
@media (max-width: 1060px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 30px;
  }
  :lang(en) h1 {
    font-size: clamp(2.85rem, 5.2vw, 4.6rem);
  }
}
@media (max-width: 780px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .topbar {
    gap: 12px;
    min-height: 65px;
  }
  .topbar nav {
    display: none;
  }
  .topbar .logo img {
    width: 136px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 35px 31px;
  }
  .hero-copy > p {
    max-width: 37rem;
  }
  .hero-art {
    width: min(100%, 560px);
    margin-inline: auto;
  }
  .features {
    padding-block: 56px 64px;
  }
  .mediation,
  .credit {
    grid-template-columns: minmax(0, 1fr);
  }
  .credit {
    padding-inline: 0;
  }
  .agreement-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 47px 31px;
  }
  .paper-scene {
    min-height: 353px;
  }
  .paper-orbit {
    max-width: 440px;
  }
  .paper-spark {
    right: 13%;
  }
  .bottom {
    padding-block: 42px;
  }
}
@media (max-width: 500px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .top-actions {
    gap: 8px;
  }
  .topbar .logo img {
    width: 122px;
  }
  .top-cta {
    padding: 0.55rem 0.8rem;
    font-size: 0.875rem;
  }
  .language {
    gap: 0.28rem;
  }
  h1 {
    font-size: clamp(2.4rem, 10.6vw, 3.95rem);
    margin-block: 20px;
  }
  :lang(en) h1 {
    font-size: clamp(2.55rem, 10.8vw, 3.6rem);
  }
  .hero-copy > p {
    margin-bottom: 20px;
  }
  .actions {
    gap: 8px;
  }
  .actions .button {
    padding-inline: 1rem;
  }
  .hero-art figcaption {
    font-size: 0.875rem;
  }
  .section-intro {
    text-align: left;
    margin-bottom: 23px;
  }
  .journey {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 39px;
  }
  .journey::before {
    top: 12px;
    bottom: 45px;
    height: auto;
    width: 1px;
    left: 19px;
    right: auto;
  }
  .journey li {
    padding-left: 53px;
  }
  .journey-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 39px;
    height: 39px;
    font-size: 1.05rem;
  }
  .mediation {
    padding: 23px 13px 13px;
    border-radius: 21px;
  }
  .mediation-story {
    padding-inline: 7px;
  }
  .simulation,
  .credit-profile {
    border-radius: 15px;
  }
  .credit {
    padding-top: 42px;
  }
  .bottom-box {
    gap: 13px;
    border-radius: 22px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 23px 18px;
  }
  .dialog-content {
    padding: 22px 17px;
  }
}
@media (max-width: 380px) {
  :lang(en) h1 {
    font-size: clamp(2rem, 9.6vw, 2.3rem);
  }
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }
  .topbar .logo img {
    width: 100px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-cta {
    padding-inline: 0.7rem;
  }
  .actions .button {
    padding-inline: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .hero-scene :is(g, .hero-leaf),
  .mediation-motion *,
  .mediation-scene {
    animation: none;
  }
  .hero-agreement {
    opacity: 1;
  }
}

:root[lang="en"] .hero-copy > p,
:root[lang="en"] .journey p {
  font-size: 1.125rem;
}
