:root { font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #222; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; backdrop-filter: blur(12px); }
.site-nav { width: min(100% - 48px, 1760px); margin: auto; min-height: 88px; display: grid; grid-template-columns: minmax(180px,1.2fr) repeat(5,minmax(0,1fr)); align-items: center; gap: 8px; text-align: center; }
.site-nav > a:not(.brand) { display: grid; place-items: center; min-height: 88px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current] { color: #078e7f; }
.brand { justify-self: start; }
.brand img { display: block; width: 225px; height: auto; filter: brightness(0); }
.published-rates { padding: 82px 0 88px; background: #f7f9fa; scroll-margin-top: 88px; }
.eyebrow { font-weight: 800; color: #10a993; letter-spacing: .04em; font-size: 13px; }
.rates-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.rates-heading h1 { margin: 8px 0 13px; font-size: clamp(26px,3vw,36px); letter-spacing: -.04em; }
.rates-heading p { margin: 0; color: #64727e; line-height: 1.65; }
.rates-mode-tabs { display: inline-flex; gap: 5px; padding: 5px; margin-bottom: 35px; border: 1px solid #dce5e9; border-radius: 15px; background: #eaf0f2; }
.rates-mode-tabs button { min-width: 148px; padding: 13px 22px; border: 0; border-radius: 10px; background: transparent; color: #536773; font-size: 17px; font-weight: 800; }
.rates-mode-tabs button[aria-selected="true"] { background: #102d43; color: #fff; box-shadow: 0 4px 12px #102d4322; }
.rates-mode-tabs button:focus-visible { outline: 3px solid #16b7a1; outline-offset: 2px; }
#rates-detail[hidden], #rates-formula[hidden] { display: none; }
.formula-intro { margin: 20px 0 32px; padding: 15px 18px; border-left: 3px solid #0fa995; border-radius: 0 10px 10px 0; background: #edf7f5; color: #435963; line-height: 1.7; }
.formula-card { margin-top: 24px; padding: 28px; border: 1px solid #e1e9ec; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px #1b273a09; }
.formula-card-heading { margin-bottom: 21px; }
.formula-index { color: #0d9d89; font-size: 13px; font-weight: 850; letter-spacing: .04em; }
.formula-card h2 { margin: 6px 0; font-size: clamp(22px,2.7vw,28px); letter-spacing: -.04em; }
.formula-card-heading p { margin: 0; color: #657681; line-height: 1.6; }
.formula-table-wrap { overflow-x: auto; border: 1px solid #e2e9ec; border-radius: 12px; }
.decision-table { min-width: 0; table-layout: fixed; }
.decision-table thead th:first-child { width: 27%; }
.decision-table thead th:nth-child(2), .decision-table thead th:nth-child(3) { width: 36.5%; }
.decision-table tbody th { width: auto; color: #193647; font-size: 15px; }
.decision-table tbody td:nth-child(2), .decision-table tbody td:nth-child(3) { width: auto; color: #43545f; font-weight: 500; white-space: normal; }
.decision-table th, .decision-table td { padding: 18px; line-height: 1.65; word-break: keep-all; }
.ox-badge { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 5px; border-radius: 50%; background: #d9f4ed; color: #048a76; font-size: 12px; font-weight: 900; }
.ox-badge.no { background: #e9eef1; color: #526a76; }
.formula-total { margin-top: 20px; padding: 21px 23px; border-radius: 14px; background: #eef7f5; color: #173c47; }
.formula-total > strong { display: block; margin-bottom: 10px; font-size: 17px; }
.formula-total p { margin: 0 0 9px; line-height: 1.8; }
.formula-total p b { color: #007f70; }
.formula-total p span { padding-inline: 6px; color: #008e7e; font-weight: 900; }
.formula-total small { color: #526b73; line-height: 1.65; }
.rates-tabs { display: flex; gap: 9px; overflow-x: auto; margin: 36px 0 20px; padding-bottom: 4px; }
.rates-tabs button { flex: 0 0 auto; padding: 12px 17px; border: 1px solid #dce3e8; border-radius: 12px; background: #fff; color: #43525e; font-weight: 700; }
.rates-tabs button[aria-selected="true"] { background: #102d43; border-color: #102d43; color: #fff; }
.rate-panel { padding: 25px; background: #fff; border-radius: 20px; border: 1px solid #e4e9ed; box-shadow: 0 10px 30px #1b273a09; }
.rate-panel h3 { margin: 0 0 20px; font-size: 22px; }
.rate-views { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.rate-view-button { padding: 10px 16px; border: 1px solid #dce5e9; border-radius: 10px; background: #f8fafb; color: #435560; font-weight: 750; }
.rate-view-button:hover { border-color: #9eb7c1; }
.rate-view-button[aria-pressed="true"] { border-color: #102d43; background: #102d43; color: #fff; }
.rate-view-button:focus-visible, .rates-tabs button:focus-visible { outline: 3px solid #16b7a1; outline-offset: 2px; }
.table-scroll { overflow-x: auto; border: 1px solid #e4e9ed; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; text-align: left; }
th, td { padding: 16px 14px; border-bottom: 1px solid #ecf0f2; vertical-align: top; line-height: 1.55; overflow-wrap: anywhere; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfcfd; }
thead th { color: #536773; background: #eef4f5; font-size: 13px; font-weight: 800; white-space: nowrap; }
tbody th { width: 23%; font-weight: 750; }
tbody td:nth-child(2) { width: 18%; color: #0e6084; font-weight: 750; white-space: nowrap; }
tbody td:nth-child(3) { width: 25%; }
tbody .rate-cell-lines { text-align: left; white-space: normal; }
.rate-cell-lines span { display: block; line-height: 1.65; }
.rate-cell-lines span + span { margin-top: 5px; }
#panel-delivery th:first-child { width: 32%; }
#panel-delivery tbody td:nth-child(2), #panel-delivery tbody td:nth-child(3) { width: 20%; color: #263a47; font-weight: 600; white-space: nowrap; }
#panel-delivery tbody td:last-child { width: 28%; color: #0e6084; font-weight: 750; white-space: nowrap; }
tr[hidden], .rate-note[hidden], .rate-gallery[hidden] { display: none !important; }
.rate-formula[hidden] { display: none !important; }
.rate-formula { margin-top: 20px; padding: 21px 22px; border: 1px solid #dce9ec; border-radius: 14px; background: #f5fafb; }
.rate-formula h4 { margin: 0 0 5px; color: #102d43; font-size: 18px; }
.rate-formula p { margin: 0; color: #596d77; line-height: 1.6; }
.rate-formula-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.rate-formula-term { display: grid; gap: 3px; padding: 12px 15px; border: 1px solid #dce9ec; border-radius: 10px; background: #fff; color: #183345; font-weight: 750; }
.rate-formula-term small { color: #657984; font-size: 12px; font-weight: 600; }
.rate-formula-symbol { color: #0e6084; font-size: 22px; font-weight: 800; }
.rate-formula-result { background: #102d43; border-color: #102d43; color: #fff; }
.rate-formula-examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 15px; }
.rate-formula-example { padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #dce9ec; }
.rate-formula-example span { display: block; margin-bottom: 3px; color: #637780; font-size: 13px; }
.rate-formula-example strong { color: #0e6084; font-size: 16px; }
.rate-note { margin: 16px 0 0; color: #5d6c75; line-height: 1.6; font-size: 14px; }
.rate-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.rate-gallery[data-count="1"] { grid-template-columns: minmax(0,480px); }
.rate-gallery[data-count="2"] { grid-template-columns: repeat(2,minmax(0,300px)); }
.rate-gallery[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.rate-gallery figure { position: relative; margin: 0; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #e0e8eb; border-radius: 13px; background: #eef3f4; }
.rate-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rate-gallery figure[data-fit="contain"] img { object-fit: contain; }
.rate-gallery figcaption { position: absolute; inset: auto 0 0; padding: 22px 11px 10px; color: #fff; background: linear-gradient(transparent,rgba(10,26,35,.74)); font-size: 13px; font-weight: 800; text-align: center; }
.rates-disclaimer { margin: 18px 0 0; color: #798791; font-size: 13px; }
.consult { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-block: 72px 100px; padding: clamp(30px,4vw,54px); border-radius: 28px; background: radial-gradient(circle at 92% 14%,#2b4b61 0,transparent 35%),#102d43; box-shadow: 0 22px 52px #1230461c; }
.consult-copy { max-width: 720px; }
.consult-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #fee500; font-size: 14px; font-weight: 850; letter-spacing: .02em; }
.consult-eyebrow::before { display: block; width: 8px; height: 8px; border-radius: 50%; background: #fee500; content: ''; }
.consult h2 { margin: 0; color: #fff; font-size: clamp(28px,3vw,41px); line-height: 1.4; letter-spacing: -.055em; word-break: keep-all; }
.consult h2 strong { color: #fee500; font-weight: 850; }
.consult-button { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; min-width: 260px; padding: 17px 21px; border-radius: 16px; background: #fee500; color: #211e18; box-shadow: 0 12px 24px #050f1833; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.consult-button:hover { transform: translateY(-3px); background: #ffed38; box-shadow: 0 16px 30px #050f1855; }
.consult-button:focus-visible { outline: 3px solid #fee500; outline-offset: 4px; }
.consult-button-icon { flex: 0 0 47px; display: grid; place-items: center; width: 47px; height: 43px; border-radius: 46%; background: #211e18; color: #fee500; font-size: 19px; font-weight: 900; }
.consult-button-copy { display: grid; gap: 5px; white-space: nowrap; }
.consult-button-copy strong { font-size: 17px; font-weight: 850; }
.consult-button-copy small { font-size: 13px; font-weight: 700; }
.kakao-cta { position: fixed; right: 18px; bottom: 28px; z-index: 20; display: grid; place-items: center; width: 78px; height: 78px; padding: 0; border: 2px solid #f4d700; border-radius: 50%; background: #fee500; color: #211e18; box-shadow: 0 12px 32px #17160033; animation: kakao-appear .55s ease-out backwards; }
.kakao-cta::before { position: absolute; inset: -8px; border: 2px solid #fee500; border-radius: inherit; content: ''; pointer-events: none; animation: kakao-ring 3.6s ease-out infinite; }
.kakao-cta:hover { background: #ffed38; box-shadow: 0 16px 36px #17160044; transform: translateY(-3px); }
.kakao-cta:focus-visible { outline: 3px solid #1d5fcb; outline-offset: 5px; }
.kakao-cta-icon { position: relative; display: grid; place-items: center; width: 49px; height: 46px; border-radius: 45%; background: #211e18; color: #fee500; font-size: 20px; font-weight: 900; letter-spacing: -.05em; animation: kakao-wave 4.2s ease-in-out infinite; }
.kakao-cta-icon::after { position: absolute; left: 6px; bottom: -4px; width: 10px; height: 10px; background: #211e18; clip-path: polygon(0 0,100% 0,0 100%); content: ''; }
.kakao-prompt { position: fixed; right: 112px; bottom: 32px; z-index: 20; width: min(340px,calc(100vw - 142px)); border: 1px solid #e8efed; border-radius: 22px; background: #fff; box-shadow: 0 18px 42px #17393a2e; animation: kakao-appear .45s ease-out backwards; }
.kakao-prompt::after { position: absolute; right: -8px; bottom: 27px; width: 15px; height: 15px; border-top: 1px solid #e8efed; border-right: 1px solid #e8efed; background: #fff; content: ''; transform: rotate(45deg); }
.kakao-prompt-link { display: flex; align-items: center; gap: 12px; min-height: 106px; padding: 17px 37px 17px 16px; border-radius: inherit; color: #19333b; text-decoration: none; }
.kakao-prompt-link:hover { background: #f7fbf9; }
.kakao-prompt-avatar-frame { position: relative; display: block; flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; border: 1px solid #e6eeeb; border-radius: 50%; background: #f1f5f4; }
.kakao-prompt-avatar { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transform: translate(13%,-8%) scale(1.5); transform-origin: center; }
.kakao-prompt-copy { display: grid; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.4; word-break: keep-all; }
.kakao-prompt-copy strong { font-size: 14px; }
.kakao-prompt-copy small { margin-top: 2px; color: #078e7f; font-size: 11px; font-weight: 800; }
.kakao-prompt-close { position: absolute; top: 7px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #6a7b80; font-size: 22px; line-height: 1; cursor: pointer; }
.kakao-prompt-close:hover { background: #edf4f1; color: #19333b; }
.kakao-prompt-link:focus-visible,.kakao-prompt-close:focus-visible { outline: 3px solid #0ba994; outline-offset: 3px; }
@keyframes kakao-appear { from { opacity: 0; transform: translateY(15px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes kakao-ring { 0%,68%,100% { opacity: 0; transform: scale(1); } 72% { opacity: .8; } 92% { opacity: 0; transform: scale(1.14); } }
@keyframes kakao-wave { 0%,78%,100% { transform: rotate(0); } 83% { transform: rotate(-9deg); } 88% { transform: rotate(8deg); } 93% { transform: rotate(-5deg); } }
@media (max-width: 840px) {
  .site-nav { width: min(100% - 32px,1760px); min-height: 0; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; padding-block: 8px; }
  .site-nav .brand { grid-column: 1 / -1; justify-self: center; }
  .site-nav > a:not(.brand) { min-height: 44px; padding: 8px 2px; font-size: 16px; }
  .brand img { width: 160px; }
  .consult { display: block; }
  .consult-button { width: fit-content; margin-top: 28px; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px,1200px); }
  .site-nav { width: min(100% - 32px,1760px); grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px 10px; padding-block: 10px 14px; }
  .site-nav > a:not(.brand), .site-nav > .demo-guide-menu { grid-column: span 2; }
  .site-nav > a:nth-last-child(-n+2) { grid-column: span 3; }
  .site-nav > a:not(.brand) { min-height: 46px; padding: 8px 2px; font-size: clamp(13px,3.8vw,15px); }
  .site-nav > .demo-guide-menu > summary { min-height: 46px; }
  .brand img { width: 135px; }
  .published-rates { padding-block: 62px; }
  .rates-heading { display: block; }
  .rates-mode-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; margin-bottom: 28px; }
  .rates-mode-tabs button { min-width: 0; font-size: 16px; }
  .formula-intro { margin-bottom: 24px; }
  .formula-card { padding: 18px; }
  .decision-table, .decision-table tbody, .decision-table tbody tr, .decision-table tbody th, .decision-table tbody td { display: block; width: 100%; }
  .decision-table thead { display: none; }
  .decision-table tbody { display: grid; gap: 0; }
  .decision-table tbody tr { border-bottom: 1px solid #e2e9ec; }
  .decision-table tbody tr:last-child { border-bottom: 0; }
  .decision-table tbody th, .decision-table tbody td:nth-child(2), .decision-table tbody td:nth-child(3) { width: 100%; padding: 13px 15px; border: 0; }
  .decision-table tbody th { background: #eef4f5; }
  .decision-table tbody td:nth-child(2)::before, .decision-table tbody td:nth-child(3)::before { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: #d9f4ed; color: #048a76; content: 'O'; font-size: 12px; font-weight: 900; }
  .decision-table tbody td:nth-child(3)::before { background: #e9eef1; color: #526a76; content: 'X'; }
  .formula-total { padding: 18px; }
  .rates-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; overflow: visible; margin: 42px 0 28px; padding: 0; }
  .rates-tabs button { min-height: 52px; padding: 8px 4px; font-size: clamp(13px,3.7vw,15px); line-height: 1.3; }
  .rate-panel { padding: 18px; }
  .rate-view-button { padding: 9px 12px; font-size: 14px; }
  .table-scroll { overflow: visible; border: 0; border-radius: 0; }
  .table-scroll table { min-width: 0; }
  .table-scroll thead { display: none; }
  .table-scroll tbody { display: grid; gap: 12px; }
  .table-scroll tbody tr { display: block; overflow: hidden; border: 1px solid #e4e9ed; border-radius: 12px; background: #fff; }
  .table-scroll tbody th, .table-scroll tbody td, #panel-delivery tbody th:first-child, #panel-delivery tbody td:nth-child(2), #panel-delivery tbody td:nth-child(3), #panel-delivery tbody td:last-child { display: block; width: 100%; padding: 12px 14px; white-space: normal; text-align: left; }
  .table-scroll tbody th { background: #eef4f5; font-size: 16px; }
  .table-scroll tbody td::before { display: block; margin-bottom: 4px; color: #536773; content: attr(data-label); font-size: 12px; font-weight: 800; }
  .table-scroll tbody td:last-child { border-bottom: 0; }
  .rate-gallery, .rate-gallery[data-count="1"], .rate-gallery[data-count="2"], .rate-gallery[data-count="3"] { grid-template-columns: minmax(0,1fr); }
  .rate-formula-examples { grid-template-columns: minmax(0,1fr); }
  .consult { display: block; margin-block: 48px 70px; padding: 30px 24px; border-radius: 22px; }
  .consult h2 { font-size: clamp(27px,7vw,35px); }
  .consult-button { width: 100%; justify-content: center; margin-top: 28px; }
  .kakao-cta { right: 16px; bottom: 84px; width: 54px; height: 54px; }
  .kakao-cta-icon { width: 33px; height: 31px; font-size: 14px; }
  .kakao-cta-icon::after { left: 4px; bottom: -3px; width: 8px; height: 8px; }
  .kakao-prompt { right: 84px; bottom: 88px; width: min(260px,calc(100vw - 106px)); border-radius: 18px; }
  .kakao-prompt::after { bottom: 17px; }
  .kakao-prompt-link { min-height: 90px; gap: 9px; padding: 13px 31px 13px 12px; }
  .kakao-prompt-avatar-frame { flex-basis: 48px; width: 48px; height: 48px; }

  .kakao-prompt-copy { font-size: 12px; }
  .kakao-prompt-copy strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .kakao-cta, .kakao-cta::before, .kakao-cta-icon, .kakao-prompt { animation: none; } }

/* Keep the five public menu items inside narrow phone viewports. */
@media (max-width: 620px) {
  .site-nav { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; padding-inline: 12px; column-gap: 0; }
  .site-nav > .brand { display: flex; flex: 0 0 100%; justify-content: center; min-width: 0; }
  .site-nav > a:not(.brand), .site-nav > .demo-guide-menu { flex: 0 0 33.333%; min-width: 0; }
  .site-nav > .demo-guide-menu > summary { width: 100%; white-space: normal; }
}
