@font-face {
  font-family: Pretendard;
  src: url("./assets/pretendard.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --ink: #101820;
  --gold: #b87627;
  --light-gold: #f2c875;
  --header: 78px;
  --paper: #fffaf4;
  color: var(--ink);
  font: 100%/1.55 Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -.025em;
  word-break: keep-all;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; padding-top: var(--header); background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.055em; }
h2 { font-size: clamp(38px, 4.4vw, 56px); font-weight: 850; }
h2 em { color: var(--gold); font-style: normal; }
.wrap { width: min(100% - 44px, 1180px); margin-inline: auto; }
.center { text-align: center; }
:focus-visible { outline: 3px solid #bd7d32; outline-offset: 4px; }
.skip-link { position: fixed; left: 10px; top: -60px; z-index: 9; padding: 8px 12px; background: white; }
.skip-link:focus { top: 10px; }

copy-word { display: none; }

@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  copy-segment { user-select: none; }
  copy-source { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  copy-word {
    display: inline-block;
    width: var(--word-width);
    height: var(--word-height);
    vertical-align: var(--word-baseline);
    background-color: currentColor;
    -webkit-mask: var(--word-sheet-image) var(--word-x) var(--word-y) / var(--word-sheet-width) var(--word-sheet-height) no-repeat;
    mask: var(--word-sheet-image) var(--word-x) var(--word-y) / var(--word-sheet-width) var(--word-sheet-height) no-repeat;
  }
}

.site-header { position: fixed; inset: 0 0 auto; z-index: 5; height: var(--header); background: #fffffff7; border-bottom: 1px solid #0a305914; backdrop-filter: blur(14px); transition: height .3s, box-shadow .3s; }
.site-header.is-scrolled { height: 66px; box-shadow: 0 14px 36px #0a305917; }
.nav { min-height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex: none; align-items: center; width: clamp(158px, 17vw, 226px); min-height: 44px; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #17324d; font-size: 17px; font-weight: 850; }
.nav-links a { padding: 12px 0; }
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-contact { padding: 9px 16px; border: 1px solid #d4ae73; border-radius: 999px; color: #724617; background: #fff8e8; }
.nav-links .nav-contact:hover { color: #46290d; background: #f8e6c7; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; color: white; background: linear-gradient(135deg, #ca933f, #925820); box-shadow: 0 15px 34px #78481c38; font-size: 16px; font-weight: 760; line-height: 1.2; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px #78481c56; }
.button-ghost { border-color: #dda65b94; background: #ffffff12; box-shadow: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 780px; padding: 116px 0 58px; color: white; background: #07101a url("./assets/hero-bg.webp") center top / cover no-repeat; }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, #050c15e6, #050c15c2 34%, #050c1547 64%, #050c1594); }
.hero-grid { display: grid; grid-template-columns: minmax(340px, 500px) minmax(0, 650px); justify-content: center; align-items: center; min-height: 520px; }
.hero-copy { z-index: 1; justify-self: end; width: 100%; max-width: 470px; padding-top: 24px; }
.kicker { max-width: 420px; color: #ffffffd4; font-size: 15px; font-weight: 440; line-height: 1.58; letter-spacing: -.018em; }
.hero h1 { margin-top: 17px; font-size: clamp(43px, 4.85vw, 66px); font-weight: 800; line-height: 1.14; letter-spacing: -.04em; text-shadow: 0 9px 24px #0004; }
.hero h1 span { display: block; margin-top: 5px; color: var(--light-gold); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 35px; }
.hero-people { align-self: end; width: 100%; height: auto; transform: translateX(26px); filter: drop-shadow(0 30px 34px #0005); }
.hero-benefits { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100% - 44px, 1100px); margin: -16px auto 0; padding: 26px 34px; border: 1px solid #fff0d357; border-radius: 13px; color: #2c2116; background: linear-gradient(112deg, #d8ad6c, #c78f49 50%, #d7aa65); box-shadow: 0 22px 48px #07060461, inset 0 1px 0 #fff5; }
.hero-benefits li { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding-inline: 12px; text-align: center; }
.hero-benefits li + li { border-left: 1px solid #4d31152e; }
.benefit-icon, .why-icon { display: block; width: 70px; aspect-ratio: 1; border-radius: 50%; background: url("./assets/benefit-icons-sprite.webp") 0 0 / 200% 200% no-repeat; filter: drop-shadow(0 8px 10px #321c073b); }
.icon-second { background-position: 100% 0; }
.icon-third { background-position: 0 100%; }
.icon-fourth { background-position: 100% 100%; }
.hero-benefits i { margin-bottom: 11px; }
.hero-benefits span { padding: 4px 15px; border-radius: 999px; color: #76502a; background: #fffaf1; box-shadow: 0 4px 10px #5835131f; font-size: 15.5px; font-weight: 700; }
.hero-benefits strong { margin-top: 8px; font-size: 23px; font-weight: 800; line-height: 1.25; }
.hero-benefits small { margin-top: 5px; font-size: 15px; font-weight: 690; }

.program {
  padding: clamp(58px, 7vw, 101px) 0;
  color: #faf0de;
  background:
    radial-gradient(ellipse at 46% 0, #76512d62, transparent 56%),
    linear-gradient(145deg, #171615, #101317 68%, #211913);
}
.calculator-heading h2 em { color: #ebbb70; }
.calculator-heading p { max-width: 39rem; margin: 13px auto 0; color: #d2c2aa; }
.calculator {
  display: grid;
  grid-template-columns: minmax(245px, .75fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 4vw, 43px);
  padding: clamp(16px, 3vw, 35px);
  border: 1px solid #b88a5152;
  border-radius: 23px;
  background: linear-gradient(142deg, #29211bf5, #191719f5 68%);
  box-shadow: 0 22px 65px #0005, inset 0 1px 0 #ffffff10;
}
.calculator-form { min-width: 0; }
.calculator-field { display: grid; min-width: 0; gap: 7px; }
.calculator-field label { color: #dfc69f; font-size: .875rem; font-weight: 760; }
.calculator-amount { margin-top: 16px; }
.calculator-input, .calculator-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #ac824d8c;
  border-radius: 11px;
  background: #141619;
  color: #fff7e9;
}
.calculator-input { display: flex; align-items: center; }
.calculator-field select { padding-inline: 10px; color-scheme: dark; font: 650 .95rem/1 Pretendard, sans-serif; }
.calculator-field select:invalid, .calculator-input input::placeholder { color: #c1ae93; opacity: 1; }
.calculator-field select option { color: #fff7e9; }
.calculator-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  padding: 10px 12px;
  font: 760 1.09375rem/1.5 Pretendard, sans-serif;
  appearance: textfield;
}
.calculator-input input::-webkit-inner-spin-button, .calculator-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.calculator-input input:focus-visible { outline-offset: -2px; }
.calculator-input > span { flex: none; padding-right: 11px; color: #dfc69f; font-size: .8125rem; font-weight: 750; }
.calculator-submit { width: 100%; min-height: 49px; margin-top: 17px; border-radius: 11px; color: #27190b; background: linear-gradient(125deg, #f4d69b, #d0a056); }
#calculator-note { margin-top: 14px; color: #c8b9a6; font-size: .8125rem; }
.calculator-results { display: grid; min-width: 0; gap: 12px; }
.calculator-primary, .calculator-breakdown { display: grid; gap: 12px; }
.calculator-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calculator-breakdown { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calculator-metric {
  min-width: 0;
  padding: clamp(10px, 1.7vw, 23px);
  border: 1px solid #e3be8421;
  border-radius: 15px;
  background: #ffffff07;
}
.calculator-primary .calculator-metric { padding-block: clamp(16px, 2.3vw, 30px); border-color: #d3a65d54; background: radial-gradient(ellipse at 2% 0, #c98f4d29, transparent 80%), #ffffff07; }
.calculator-metric h3 { color: #e5d3ba; font-size: .9375rem; font-weight: 700; letter-spacing: -.028em; }
.calculator-metric canvas { display: block; width: 100%; height: 1.28em; margin-top: 10px; color: #efc989; font-size: clamp(23px, 2.45vw, 34px); }
.calculator-metric canvas[hidden] { display: none; }
.calculator-primary canvas { color: #f7d697; font-size: clamp(30px, 4vw, 55px); }
.calculator-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.examples { overflow: hidden; padding: 104px 0 92px; background: linear-gradient(#fffdf9, #fff8ee); }
.examples-head p, .section-intro { max-width: 650px; margin: 14px auto 0; color: #896b46; font-size: 17px; font-weight: 690; }
.carousel { width: min(100vw - 16px, 1252px); margin: 42px 0 0 50%; transform: translateX(-50%); }
.carousel-window { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 23px; }
.carousel-window::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; }
.story { flex: 0 0 calc((100% - 40px) / 3); overflow: hidden; min-width: 0; scroll-snap-align: start; border: 1px solid #f1e6d6; border-radius: 20px; background: #fff; box-shadow: 0 16px 34px #603d201c; }
.story-photo { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; width: 100%; height: clamp(360px, 39vw, 505px); overflow: hidden; padding: 15px; border: 0; background: linear-gradient(155deg,#efe2cf,#d9c7b0); cursor: zoom-in; }
.story-photo img { display: block; width: auto; height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 22px #4e302528; transition: transform .22s; }
.story-photo:hover img { transform: scale(1.035); }
.story-photo:focus-visible { position: relative; z-index: 1; outline-offset: -4px; }
.story-copy { padding: 16px 18px 21px; }
.story-copy h3 { color: #a36621; font-size: clamp(21px, 2vw, 24px); font-weight: 850; }
.story-copy p { margin-top: 7px; color: #65584d; font-size: 15px; }
.carousel-controls { display: grid; justify-items: center; padding-top: 3px; }
.dots, .arrows { display: flex; align-items: center; justify-content: center; gap: 10px; }
.dots { gap: 0; }
.dots button { display: grid; width: 22px; height: 28px; place-items: center; border: 0; padding: 0; background: transparent; }
.dots button::before { width: 10px; height: 10px; border-radius: 50%; content: ""; background: #e5dacb; }
.dots button[aria-current="true"]::before { background: #c78432; box-shadow: 0 0 0 3px #c7843221; }
.arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 3px; border: 1px solid #ead8bf; border-radius: 50%; color: #a26626; background: #fffdf9; box-shadow: 0 8px 18px #603d201a; font: 600 25px/1 Arial, sans-serif; }
.arrows button:hover { background: #faeedb; }
.example-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); width: min(100%,1180px); margin: 29px auto 0; padding: 21px 22px; border: 1px solid #be955654; border-radius: 15px; color: #fff; background: radial-gradient(circle at 5% 5%, #8a633b73, transparent 39%), linear-gradient(125deg,#33261b,#161412 70%); box-shadow: 0 16px 36px #2b1b092e; }
.example-summary li { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 8px 11px; text-align: left; }
.example-summary li + li { border-left: 1px solid #ffffff24; }
.stat-icon { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #f6cd79; background: radial-gradient(circle at 30% 22%,#b4864380,#59412759 70%); font-size: 25px; font-style: normal; }
.example-summary span { color: #e9d6bf; }
.example-summary strong { display: block; color: #fff; font-size: 24px; line-height: 1.1; }
.example-summary small { display: block; margin-top: 4px; color: #d0c0ab; font-size: 12px; }

.why { position: relative; isolation: isolate; overflow: hidden; padding: 103px 0 108px; background: #f1f2f5; }
.why::before, .why::after { position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; content: ""; background: #ffffffbf; }
.why::before { left: -128px; top: -115px; }
.why::after { right: -145px; top: 90px; }
.eyebrow { margin-bottom: 11px; color: #a26420; font-size: 15px; font-weight: 830; letter-spacing: .07em; }
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(100%, 860px); margin: 38px auto 0; text-align: left; }
.reason-grid article { min-width: 0; min-height: 190px; padding: 22px 20px 20px; border: 1px solid #322c2512; border-radius: 8px; background: white; box-shadow: 0 14px 30px #23283120; }
.why-icon { width: 78px; margin-bottom: 15px; background-image: url("./assets/why-icons-sprite.webp"); }
.reason-grid h3 { color: #a66822; font-size: 20px; font-weight: 850; }
.reason-grid p { margin-top: 8px; color: #655a50; font-size: 15px; }
.why-link { position: relative; display: block; width: min(100%, 500px); margin: 56px auto 0; padding: 15px 20px 17px; color: #fff; background: linear-gradient(135deg,#2e271f,#111); box-shadow: 0 15px 30px #30200e33; font-size: 20px; font-weight: 780; }
.why-link::before { content: ""; position: absolute; inset: -9px 0 auto; height: 4px; border-radius: 999px; background: #28231e; }
.why-link strong { display: block; color: #efbd63; font-size: 34px; line-height: 1.12; }
.why-link:hover { background: #32251b; }

.about { padding: 118px 0; background: linear-gradient(#fff,#fbf5ec); }
.lending-card {
  --lending-ink: #faf3e8;
  --lending-muted: #d2c5b5;
  --lending-gold: #f2c47d;
  --lending-border: #f2c47d36;
  padding: clamp(26px, 4.8vw, 62px);
  border: 1px solid #81521f5c;
  border-radius: 30px;
  color: var(--lending-ink);
  background:
    radial-gradient(ellipse at 5% 0%, #57391eaa, transparent 53%),
    linear-gradient(145deg, #261e17, #121415 70%);
  box-shadow: 0 30px 70px #36220d33;
}
.lending-wordmark { width: 145px; margin-bottom: 23px; }
.lending-intro h2 { font-size: clamp(33px, 4.7vw, 56px); }
.lending-intro h2 em { color: var(--lending-gold); }
.wallet-notice { display: flex; align-items: center; gap: clamp(8px, 2vw, 22px); margin-top: 24px; padding: 14px clamp(10px, 2vw, 23px); border: 1px solid #95c5a46b; border-radius: 16px; background: linear-gradient(100deg, #436b4d4a, #8bbb9810); }
.wallet-notice .lending-art { width: clamp(46px, 8vw, 95px); }
.wallet-notice h3 { color: #b8dfc1; font-size: clamp(21px, 2.6vw, 29px); }
.wallet-notice p { margin-top: 7px; color: var(--lending-ink); font-size: 16px; }
.lending-story-label { margin-top: 25px; color: var(--lending-gold); font-size: 16px; }
.lending-story { --lending-story-gap: clamp(28px, 4vw, 46px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lending-story-gap); margin: 12px 0 0; padding: 0; list-style: none; }
.lending-story li { position: relative; display: grid; align-content: start; gap: 12px; padding: 15px 16px 18px; border: 1px solid var(--lending-border); border-radius: 17px; background: radial-gradient(ellipse at 50% 9%, #b7803630, transparent 68%), #ffe0b50a; }
.lending-story h3 { font-size: clamp(19px, 2.1vw, 25px); }
.lending-story p { margin-top: 8px; color: var(--lending-muted); font-size: 15px; }
.lending-art {
  display: block;
  flex: none;
  aspect-ratio: 1;
  background-image: url("./assets/lending-illustrations.webp");
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.lending-scene { background-image: url("./assets/lending-story-global.webp"); }
.lending-story .lending-scene, .liquidation-visual { width: min(100%, clamp(110px, 17vw, 185px)); justify-self: center; }
.liquidation-visual { display: grid; place-items: center; aspect-ratio: 1; }
.liquidation-plot {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 74%;
  border: 1px solid #a683535e;
  border-radius: 13px;
  background: linear-gradient(#e7bd7c14 1px, transparent 1px) 0 0 / 100% 25%, linear-gradient(90deg, #e7bd7c10 1px, transparent 1px) 0 0 / 16.67% 100%, linear-gradient(#242529, #151619);
  box-shadow: 0 9px 24px #0005;
}
.liquidation-candles { position: absolute; inset: 9% 9%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: 7%; }
.liquidation-candles i { position: relative; top: var(--candle-top); height: var(--candle-size); border-radius: 2px; color: #ee8582; background: currentColor; }
.liquidation-candles i::before { position: absolute; inset: -20% auto; left: calc(50% - .5px); width: 1px; background: currentColor; content: ""; }
.liquidation-candles i:nth-child(1) { --candle-top: 8%; --candle-size: 16%; --candle-delay: 0s; color: #9bc9ad; }
.liquidation-candles i:nth-child(2) { --candle-top: 17%; --candle-size: 19%; --candle-delay: .32s; }
.liquidation-candles i:nth-child(3) { --candle-top: 33%; --candle-size: 17%; --candle-delay: .64s; }
.liquidation-candles i:nth-child(4) { --candle-top: 39%; --candle-size: 13%; --candle-delay: .96s; color: #9bc9ad; }
.liquidation-candles i:nth-child(5) { --candle-top: 48%; --candle-size: 24%; --candle-delay: 1.28s; }
.liquidation-candles i:nth-child(6) { --candle-top: 67%; --candle-size: 24%; --candle-delay: 1.6s; }
.liquidation-threshold { position: absolute; bottom: 27%; inset-inline: 0; border-top: 1px dashed #e7b568be; }
.lending-scene-loan { background-position: 100% 0; }
.lending-scene-lock { background-position: 0 100%; }
.lending-scene-coins { background-position: 100% 100%; transform: scaleX(-1); }
.lending-art-wallet { background-position: 0 100%; }
.lending-art-office { background-position: 100% 100%; }
.lending-arrow { --lending-arrow-width: 19px; position: absolute; top: 45%; left: calc(100% + (var(--lending-story-gap) - var(--lending-arrow-width)) / 2); width: var(--lending-arrow-width); height: 2px; border-radius: 2px; background: var(--lending-gold); }
.lending-arrow::after, .lending-recipient:first-child::after { position: absolute; width: 12px; height: 12px; border: solid var(--lending-gold); border-width: 2px 2px 0 0; transform: rotate(45deg); content: ""; }
.lending-arrow::after { right: 0; top: -5px; }
.lending-exchange { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2.5vw, 28px); margin-top: 24px; padding: clamp(12px, 2vw, 22px); border: 1px solid var(--lending-border); border-radius: 17px; background: #151413bb; }
.lending-exchange-party { display: flex; align-items: center; gap: 9px; min-width: 0; height: 100%; padding: 9px 12px; border: 1px solid var(--exchange-border); border-radius: 12px; background: var(--exchange-tint); }
.lending-exchange-party .lending-art, .lending-institution-art { width: clamp(48px, 6.5vw, 86px); }
.lending-institution-art { position: relative; display: grid; flex: none; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 3px; aspect-ratio: 1; padding: 5px 4px; }
.lending-institution-art::after { position: absolute; inset: auto 0 3px; height: 2px; border-radius: 999px; background: #d3a469; content: ""; }
.lending-institution-art span { position: relative; height: 56%; border: 1px solid #bf955d; border-radius: 4px 4px 0 0; background: linear-gradient(110deg, #6a5131, #362a1d); }
.lending-institution-art span:nth-child(2) { height: 85%; --window-delay: 1.38s; }
.lending-institution-art span:nth-child(3) { height: 68%; --window-delay: 1.52s; }
.lending-institution-art span::before { position: absolute; inset: 5px 2px; background: linear-gradient(90deg, transparent 40%, #422f21 40% 60%, transparent 60%), repeating-linear-gradient(#f3c37c 0 2px, transparent 2px 5px); opacity: .64; content: ""; }
.lending-exchange-party h3 { color: var(--exchange-accent); font-size: clamp(17px, 1.9vw, 24px); }
.lending-exchange-party p { margin-top: 5px; color: var(--lending-muted); font-size: 15px; }
.lending-exchange-member { --exchange-border: #95c5a45e; --exchange-tint: #8bbb981b; --exchange-accent: #b8dfc1; --exchange-glow: #95c5a455; }
.lending-exchange-borrower { --exchange-border: #e3b37365; --exchange-tint: #f4c88715; --exchange-accent: var(--lending-gold); --exchange-glow: #dbaa6255; }
.lending-exchange-routes { display: grid; gap: 13px; }
.lending-exchange-route { --route-accent: #f2c47d; --route-coin: #bb802f; color: var(--route-accent); font-size: 15px; text-align: center; }
.lending-exchange-return { --route-accent: #b8dfc1; --route-coin: #619872; }
.lending-exchange-track { position: relative; display: block; height: 2px; margin: 4px 5px 0; border-radius: 999px; background: currentColor; }
.lending-exchange-track::after { position: absolute; top: -4px; right: 0; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); content: ""; }
.lending-exchange-return .lending-exchange-track::after { right: auto; left: 0; transform: rotate(225deg); }
.lending-split { --lending-split-gap: clamp(24px, 3.5vw, 47px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lending-split-gap); margin: 10px 0 0; padding: 0; list-style: none; }
.lending-recipient { position: relative; display: flex; align-items: center; gap: clamp(8px, 1.4vw, 19px); padding: 12px 17px; border: 1px solid var(--lending-border); border-radius: 16px; background: #f4c88709; }
.lending-recipient:first-child { border-color: #95c5a45e; background: linear-gradient(110deg, #3964483d, #8bbb9810); }
.lending-recipient:first-child::after { top: calc(50% - 6px); right: clamp(-28px, -2vw, -16px); }
.lending-recipient .lending-art { width: clamp(64px, 10vw, 120px); }
.lending-recipient div > span { color: var(--lending-gold); font-size: 15px; }
.lending-recipient:first-child div > span { color: #b8dfc1; }
.lending-recipient h4 { margin: 3px 0 0; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.14; }
.lending-amount { display: block; margin-top: 6px; color: var(--lending-gold); font-size: clamp(24px, 3.2vw, 37px); line-height: 1.08; white-space: nowrap; }
.lending-amount small { font-size: .6em; }
.lending-recipient:first-child .lending-amount { color: #b8dfc1; }
.lending-example { margin-top: 24px; padding: clamp(15px, 2.4vw, 28px); border: 1px solid var(--lending-border); border-radius: 17px; background: #151413bb; }
.lending-example-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.lending-example h3 { font-size: clamp(21px, 2.6vw, 28px); }
.lending-share-heading { display: flex; flex: 1 1 400px; align-items: center; gap: 10px; min-width: 0; }
.lending-share-heading .lending-art { width: clamp(53px, 8vw, 83px); }
.lending-share-heading p { margin-top: 4px; color: var(--lending-muted); font-size: 15px; }
.lending-share { margin-top: 17px; }
.lending-share-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-bottom: 7px; }
.lending-share-basis { color: var(--lending-muted); font-size: 15px; }
.lending-share-bar { display: grid; grid-template-columns: minmax(0, var(--member-share)) minmax(0, var(--company-share)); gap: 3px; height: 14px; overflow: hidden; border-radius: 999px; }
.lending-share-bar span:first-child { background: linear-gradient(90deg, #699b79, #b8dfc1); }
.lending-share-bar span:last-child { background: linear-gradient(90deg, #bd8444, #f2c47d); }
.lending-calculator-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 13px; border: 1px solid #f2c47d66; border-radius: 8px; color: var(--lending-gold); font-size: 15px; }
.lending-calculator-link::after { width: 7px; height: 7px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); content: ""; }
.lending-calculator-link:hover { background: #f2c47d18; }
.lending-replay { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px; border: 1px solid #f2c47d54; border-radius: 8px; color: var(--lending-gold); background: #261d1440; font-size: 14px; white-space: nowrap; }
.lending-replay[hidden] { display: none; }
.lending-replay::before { width: 8px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); content: ""; }
.lending-replay:hover { background: #f2c47d15; }
.lending-story .lending-replay { margin-top: 10px; }
.lending-exchange .lending-replay { grid-column: 1 / -1; justify-self: center; }

.liquidation-visual.is-moving .liquidation-candles i { transform-origin: top center; animation: liquidation-candle-in .68s ease-out var(--candle-delay) both; }
.liquidation-visual.is-moving .liquidation-threshold { animation: liquidation-threshold-hit 1.2s ease-out 2s both; }
.lending-exchange.is-moving .lending-institution-art span::before { animation: lending-institution-lights .85s ease-out var(--window-delay, 1.24s) both; }
.lending-story.is-moving .lending-arrow::before,
.lending-share.is-moving .lending-recipient:first-child::before {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid #ffdf83;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff1a8, #e4a646 64%, #85501b);
  box-shadow: inset 0 0 0 1px #fff1a999, 0 0 12px #f2a94d99;
  animation: lending-coin-travel 1.7s ease-in-out 2 both;
  pointer-events: none;
  content: "";
}
.lending-arrow::before { top: -7px; left: -8px; --coin-x: var(--lending-arrow-width); }
.lending-story li:nth-child(2) .lending-arrow::before { animation-delay: .32s; }
.lending-recipient:first-child::before { top: calc(50% - 8px); right: -9px; --coin-x: var(--lending-split-gap); }
.lending-story.is-moving .lending-scene-loan, .lending-share.is-moving .lending-art-office {
  animation: lending-coin-arrive 1.7s ease-in-out 2 both;
}
.lending-share.is-moving .lending-share-bar { animation: lending-share-reveal 1.55s ease-out both; }
.lending-exchange.is-moving .lending-exchange-track::before {
  --exchange-coin-size: 19px;
  position: absolute;
  z-index: 1;
  top: calc(1px - var(--exchange-coin-size) / 2);
  width: var(--exchange-coin-size);
  height: var(--exchange-coin-size);
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #fff7d2, var(--route-coin) 75%);
  box-shadow: 0 0 14px currentColor;
  animation: lending-exchange-coin 2.15s ease-in-out 2 both;
  pointer-events: none;
  content: "";
}
.lending-exchange.is-moving .lending-exchange-return .lending-exchange-track::before { animation-delay: .35s; animation-direction: reverse; }
.lending-exchange.is-moving .lending-exchange-party { animation: lending-exchange-highlight 2.15s ease-out 2; }
.lending-exchange.is-moving .lending-exchange-member { animation-delay: .35s; }

@keyframes liquidation-candle-in {
  from { opacity: 0; transform: scaleY(.2); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes liquidation-threshold-hit {
  0%, 100% { box-shadow: none; }
  45% { border-color: #ffdc98; box-shadow: 0 0 11px 2px #f3a75d99; }
}

@keyframes lending-institution-lights {
  0%, 100% { opacity: .64; }
  45% { opacity: 1; filter: brightness(1.32); }
}

@keyframes lending-coin-travel {
  0%, 100% { opacity: 0; }
  22%, 72% { opacity: 1; }
  0%, 12% { transform: translate(0, 0) scale(.72); }
  85%, 100% { transform: translate(var(--coin-x, 0px), var(--coin-y, 0px)) scale(1.06); }
}

@keyframes lending-coin-arrive {
  0%, 36%, 100% { transform: translateY(0); }
  64% { transform: translateY(-8px); }
}

@keyframes lending-share-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

@keyframes lending-exchange-coin {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: 1; }
  0% { left: 0; transform: scale(.75); }
  100% { left: calc(100% - var(--exchange-coin-size)); transform: scale(1.06); }
}

@keyframes lending-exchange-highlight {
  0%, 55%, 100% { box-shadow: inset 0 0 0 transparent; }
  77% { box-shadow: inset 0 0 24px var(--exchange-glow); }
}

.wordmark-gold { position: relative; }
.wordmark-gold img { width: 100%; height: auto; filter: brightness(0) saturate(100%) invert(86%) sepia(24%) saturate(727%) hue-rotate(338deg) brightness(105%); }
@supports (mask-image: linear-gradient(#000, #000)) {
  .wordmark-gold img { opacity: 0; }
  .wordmark-gold::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(172deg, #fff6d6 4%, #ecc37e 38%, #ab6f30 66%, #f5d79e 94%);
    mask: url("./assets/trusttrade-logo.png") center / contain no-repeat;
    content: "";
  }
}
.faq-head .eyebrow, .final-copy .eyebrow { color: #e0a850; }

.faq { padding: 120px 0 126px; color: white; background: radial-gradient(circle at 8% 15%,#be843939,transparent 28%), linear-gradient(145deg,#111d27,#10171e 48%,#1c1712); }
.faq-head h2 { color: white; font-size: clamp(47px, 5.2vw, 70px); }
.faq-head h2 em { color: #e1ad59; }
.faq-head > p:last-of-type { margin-top: 17px; color: #ffffffba; }
.faq-link { display: grid; place-items: center; width: min(100%, 330px); margin: 30px auto 0; padding: 16px 20px; border: 1px solid #edc27d47; border-radius: 7px; color: #2a1a09; background: linear-gradient(135deg,#f0cf91,#c88a37); box-shadow: 0 14px 28px #0004; font-weight: 850; }
.faq-link:hover { filter: brightness(1.07); }
.faq-panels { display: grid; gap: 15px; width: min(100%, 920px); margin: 46px auto 0; }
.faq-panels article { overflow: hidden; padding-bottom: 17px; border: 1px solid #e2b16733; border-radius: 12px; background: #ffffff09; box-shadow: 0 16px 34px #0002; }
.faq-panels h3 { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 16px 20px; background: linear-gradient(90deg,#a17443c2,#4b4b4f7a); color: #fff; font-size: 19px; font-weight: 850; letter-spacing: -.035em; }
.faq-panels i { color: #f1c477; font-size: 21px; font-style: normal; }
.faq-panels p { margin: 15px 21px 0; color: #ffffffbf; font-size: 15px; line-height: 1.7; }

.final { padding: 124px 0 132px; background: radial-gradient(circle at 10% 5%,#d39a4833,transparent 24%), linear-gradient(#f7f0e6,#fffaf4); }
.final-card { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(320px,.82fr); min-height: 500px; overflow: hidden; border: 1px solid #81521f26; border-radius: 34px; background: #1c1a17; box-shadow: 0 30px 70px #36220d33; }
.final-copy, .final-action { display: flex; flex-direction: column; justify-content: center; }
.final-copy { padding: clamp(27px, 5.4vw, 70px) clamp(24px, 5.25vw, 68px); color: #fff; background: radial-gradient(circle at 85% 5%,#d99e493d,transparent 29%), linear-gradient(135deg,#292119,#121313 76%); }
.final-copy h2 { font-size: clamp(35px, 3.55vw, 48px); font-weight: 800; line-height: 1.16; }
.final-copy h2 em { color: #e6b869; }
.final-copy > p:last-of-type { margin-top: 20px; color: #ffffffbd; font-size: 17px; }
.final-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 29px; }
.final-trust li { padding: 8px 12px; border: 1px solid #eec27933; border-radius: 999px; color: #e8d1ad; background: #ffffff0b; font-size: 13px; font-weight: 720; }
.final-action { padding: clamp(27px, 4vw, 55px) clamp(24px, 3.6vw, 46px); color: #2b1c0c; background: radial-gradient(circle at 100% 0,#ffffffb8,transparent 35%), linear-gradient(145deg,#efd49f,#c58a3b); }
.final-action h3 { font-size: clamp(24px, 3vw, 32px); }
.final-action p { margin-top: 13px; color: #4a3017; }
.choices { display: grid; gap: 11px; margin-top: 26px; }
.choice { display: flex; align-items: center; gap: 13px; min-height: 68px; padding: 11px 15px; border-radius: 12px; box-shadow: 0 13px 25px #351f0833; font-size: 15px; font-weight: 830; transition: transform .18s; }
.choice:hover { transform: translateY(-3px); }
.choice small { display: block; font-size: 12px; opacity: .92; }
.choice-blue, .float-blue { color: #fff; background: linear-gradient(135deg,#42b8f5,#0879b3); }
.choice-yellow, .float-yellow { color: #181600; background: linear-gradient(135deg,#fff43d,#fee500 62%,#f5d000); }
.channel-icon { display: grid; flex: none; place-items: center; width: 43px; height: 43px; border-radius: 50%; font: 850 28px/1 Arial, sans-serif; }
.channel-plane { color: #fff; background: #0571a746; transform: rotate(-29deg); text-shadow: 0 2px 3px #00517c; }
.channel-kakao { position: relative; color: #ffe500; background: #201d04; border-radius: 49%; }
.channel-kakao::after { position: absolute; bottom: -2px; left: 17%; width: 25%; height: 27%; background: #201d04; clip-path: polygon(15% 0, 100% 10%, 0 100%); content: ""; }
.choice .channel-kakao { height: 38px; font-size: 12px; font-style: normal; }

.footer { padding: 34px 0 42px; border-top: 1px solid #bf8f5247; color: #d2bea3; background: linear-gradient(145deg,#211a15,#141313 76%); }
.footer-inner { display: flex; align-items: center; gap: 42px; }
.footer .brand { width: clamp(148px, 15vw, 204px); }
.footer strong { display: block; color: #f8e2be; }
.footer p { margin-top: 8px; font-size: 14px; }
.footer-business { margin-top: 11px; color: #e5d4b8; font-style: normal; }
.footer-business p { margin-top: 3px; }
.footer-separator { color: #bd9a6f; }
.contact-floats { position: fixed; z-index: 4; right: clamp(14px, 3.2vw, 46px); bottom: 38px; display: grid; gap: 19px; }
.float { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 88px; height: 88px; gap: 3px; padding: 5px; border: 1px solid #fff4; border-radius: 14px; box-shadow: 0 13px 24px #12131548, inset 0 1px 2px #ffffff6e; font-size: 13px; font-weight: 850; white-space: nowrap; transition: transform .18s; }
.float:hover { transform: translateY(-3px); }
.float .channel-icon { width: 47px; height: 47px; font-size: 30px; }
.float .channel-kakao { width: 44px; height: 39px; margin-bottom: 4px; font-size: 12px; font-style: normal; }

.image-dialog { width: min(94vw,560px); max-height: 94vh; margin: auto; padding: 12px; border: 1px solid #b37a38; border-radius: 16px; background: #151513; color: white; }
.image-dialog::backdrop { background: #090806d9; }
.image-dialog form { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.image-dialog button { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #fff6; border-radius: 50%; color: #fff; background: #ffffff12; font-size: 27px; line-height: 1; }
.image-dialog img { width: auto; height: min(73vh, 760px); margin-inline: auto; border-radius: 9px; object-fit: contain; }
.image-dialog p { padding: 8px 4px 0; text-align: center; }
.image-dialog form p { padding: 0; color: #f1cd91; font-size: .875rem; text-align: left; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 10px; }
  .hero-copy { justify-self: start; max-width: 560px; }
  .hero-people { width: min(100%,620px); justify-self: center; transform: none; }
  .hero-benefits { width: min(100% - 44px,900px); }
  .story { flex-basis: calc((100% - 20px) / 2); }
  .example-summary { width: min(100%, 790px); }
  .example-summary strong { font-size: 20px; }
}

@media (max-width: 820px) {
  :root { --header: 68px; }
  .wrap { width: min(100% - 28px, 1180px); }
  .nav-links { display: none; }
  .site-header.is-scrolled { height: 60px; }
  .brand { width: clamp(146px, 44vw, 182px); }
  .hero { min-height: 0; padding: 76px 0 44px; background-position: center top; }
  .hero::before { background: linear-gradient(#050c15e0,#050c157a 58%,#050c15d1); }
  .hero-copy { padding: 0 0 0 8px; }
  .hero-grid { gap: 16px; }
  .hero h1 { font-size: clamp(35px, 9.7vw, 46px); }
  .kicker { font-size: 13.5px; }
  .hero-actions { margin-top: 27px; gap: 8px; flex-wrap: nowrap; }
  .hero-actions .button { min-height: 48px; padding: 12px 16px; font-size: 15px; white-space: nowrap; }
  .hero-people { width: min(112%, 520px); max-width: none; }
  .hero-benefits { width: min(100% - 28px,620px); grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: -8px; padding: 13px; }
  .hero-benefits li { min-height: 146px; padding: 11px 5px; }
  .hero-benefits li:nth-child(odd) { border-left: 0; }
  .hero-benefits li:nth-child(n + 3) { border-top: 1px solid #4d31152e; }
  .hero-benefits i { width: 59px; }
  .hero-benefits span { padding: 4px 12px; font-size: 13.5px; }
  .hero-benefits strong { font-size: 18.5px; }
  .hero-benefits small { font-size: 13.5px; }
  h2 { font-size: clamp(31px,8.4vw,40px); }
  .calculator { grid-template-columns: minmax(0, 1fr); }
  .examples, .why, .about, .faq, .final { padding-block: 76px; }
  .carousel { width: 100%; }
  .story { flex-basis: 100%; }
  .story-photo { height: clamp(365px, 125vw, 490px); }
  .example-summary { width: min(82%,360px); grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px; }
  .example-summary li { flex-direction: column; gap: 6px; padding: 12px 4px; text-align: center; }
  .example-summary li:nth-child(odd) { border-left: 0; }
  .example-summary li:nth-child(n + 3) { border-top: 1px solid #ffffff24; }
  .example-summary strong { font-size: 18px; }
  .stat-icon { width: 45px; height: 45px; font-size: 21px; }
  .reason-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reason-grid article:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
  .lending-card { border-radius: 21px; }
  .final-card { grid-template-columns: minmax(0,1fr); min-height: 0; border-radius: 21px; }
  .faq-head h2 { font-size: clamp(36px, 10vw, 47px); }
  .faq-panels { margin-top: 35px; }
  .faq-panels h3 { padding: 12px 15px; font-size: 17px; }
  .faq-panels p { margin-inline: 15px; }
  .final-copy h2 { font-size: clamp(30px, 7.8vw, 38px); }
  .footer { padding-bottom: 115px; }
  .footer-inner { flex-wrap: wrap; gap: 19px; }
  .contact-floats { right: 10px; bottom: 12px; gap: 7px; }
  .float { width: 75px; height: 69px; border-radius: 12px; font-size: 11px; }
  .float .channel-icon { width: 33px; height: 33px; font-size: 22px; }
  .float .channel-kakao { width: 34px; height: 30px; margin-bottom: 2px; font-size: 10px; }
}

@media (max-width: 720px) {
  .lending-story { --lending-story-gap: 21px; grid-template-columns: minmax(0, 1fr); }
  .lending-story li { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; padding: 12px 9px; }
  .lending-story .lending-scene, .liquidation-visual { width: clamp(63px, 21vw, 102px); }
  .lending-arrow { --lending-arrow-width: 13px; top: auto; bottom: calc(var(--lending-story-gap) / -2); left: calc(50% - var(--lending-arrow-width) / 2); transform: rotate(90deg); }
  .lending-exchange { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lending-exchange-member { grid-area: 1 / 1; }
  .lending-exchange-borrower { grid-area: 1 / 2; }
  .lending-exchange-routes { grid-area: 2 / 1 / 3 / -1; padding: 0 5px 5px; }
}

@media (max-width: 560px) {
  .reason-grid { grid-template-columns: 1fr; width: min(100%, 390px); }
  .reason-grid article, .reason-grid article:last-child { grid-column: auto; width: 100%; min-height: 0; }
  .why-icon { width: 65px; }
  .lending-card { padding: 24px 15px; }
  .lending-wordmark { width: 124px; margin-bottom: 17px; }
  .lending-intro h2 { font-size: clamp(28px, 7.7vw, 39px); }
  .wallet-notice { align-items: start; margin-top: 16px; }
  .wallet-notice p { font-size: 15px; }
  .lending-exchange { margin-top: 16px; }
  .lending-exchange-party { flex-direction: column; gap: 4px; padding: 6px 4px 10px; text-align: center; }
  .lending-exchange-party h3 { font-size: 16px; }
  .lending-exchange-party p { font-size: 13px; }
  .lending-split { --lending-split-gap: 19px; grid-template-columns: minmax(0, 1fr); margin-top: 15px; }
  .lending-recipient { padding: 8px 10px; }
  .lending-recipient:first-child::after { top: auto; right: auto; bottom: -13px; left: calc(50% - 6px); transform: rotate(135deg); }
  .lending-recipient:first-child::before { --coin-x: 0px; --coin-y: var(--lending-split-gap); top: auto; right: auto; bottom: -9px; left: calc(50% - 8px); }
  .lending-example { margin-top: 16px; padding: 14px 9px; }
  .lending-example-heading { padding-inline: 4px; }
}

@media (max-width: 390px) {
  .hero { padding-top: 69px; }
  .hero-actions .button { padding-inline: 13px; font-size: 14px; }
  .calculator-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-breakdown > :last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
