/* Hallmark-inspired: financially calm operating interface, independently authored. */
/* Critique: one strong hero, token-driven contrast, real calculators; no invented proof. */
:root {
 --ink:#152d37; --ink-muted:#566a73; --ink-soft:#778993;
 --paper:#f8f9f5; --surface:#ffffff; --surface-muted:#eef1ec;
 --line:#dce4e1; --line-strong:#bdceca;
 --brand:#204d53; --brand-hover:#15383e; --brand-quiet:#e5f0e6;
 --accent:#d8eea6; --accent-dark:#4d6028;
 --highlight:#eff9dc; --shadow:rgba(21,45,55,.09);
 --warn:#85522b; --warn-bg:#fff5e6; --danger:#a02727;
 --focus:#225aef; --font:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
 --radius:20px; --radius-sm:12px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:clip}
html{scroll-behavior:smooth}
body{font-family:var(--font);font-size:16px;line-height:1.65;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
::selection{background:var(--accent);color:var(--ink)}
.wrap{width:min(1192px,calc(100% - 48px));margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:200;left:16px;top:-80px;background:var(--surface);padding:10px 20px;box-shadow:0 5px 25px var(--shadow)}
.skip-link:focus{top:10px}
.site-header{height:78px;border-bottom:1px solid var(--line);background:rgba(248,249,245,.95);position:sticky;top:0;z-index:30;backdrop-filter:blur(16px)}
.nav-shell{display:flex;align-items:center;justify-content:space-between;height:100%;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:21px;font-weight:850;letter-spacing:-.07em;white-space:nowrap}
.brand-mark{background:var(--ink);color:var(--accent);font-family:serif;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;font-size:25px;line-height:1}
.primary-nav{display:flex;align-items:center;gap:37px;font-weight:640;font-size:14px;color:var(--ink-muted)}
.primary-nav a:hover,.foot-links a:hover,.text-action:hover,.btn-link:hover{color:var(--brand);text-decoration:underline;text-underline-offset:5px}
.header-trust{color:var(--brand);font-size:12px;font-weight:720;background:var(--brand-quiet);border:1px solid var(--line-strong);padding:7px 12px;border-radius:100px;white-space:nowrap}
.hero-back{background:radial-gradient(ellipse 70% 85% at 100% 30%,var(--highlight),transparent 70%),var(--paper);border-bottom:1px solid var(--line)}
.hero{display:grid;grid-template-columns:1.06fr .94fr;gap:62px;align-items:center;padding:78px 0 96px}
.hero-copy{min-width:0}
.hero-kicker{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--ink-muted);font-weight:640;margin-bottom:23px;flex-wrap:wrap}
.hero-pill{padding:6px 12px;border:1px solid var(--line-strong);border-radius:100px;color:var(--brand);background:var(--surface)}
.hero h1{margin:0;font-size:clamp(42px,5vw,70px);font-weight:850;line-height:1.18;letter-spacing:-.079em;overflow-wrap:break-word}
.hero h1 em{font-style:normal;color:var(--brand)}
.hero-copy>p{font-size:18px;color:var(--ink-muted);line-height:1.8;margin:24px 0 32px;letter-spacing:-.02em}
.hero-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}
.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:50px;padding:12px 21px;font-size:14px;font-weight:780;white-space:nowrap;border-radius:var(--radius-sm);transition:background .15s ease,transform .15s ease,border-color .15s ease;line-height:1.3}
.btn-primary{color:var(--surface);background:var(--brand);box-shadow:0 5px 15px var(--shadow)}
.btn-primary:hover{background:var(--brand-hover);transform:translateY(-1px)}
.btn-primary span{font-size:18px;font-weight:400}
.btn-link{background:none;color:var(--ink);padding-inline:5px;min-height:50px}
.btn-light{background:var(--surface-muted);color:var(--ink);border-color:var(--line)}
.btn-light:hover{background:var(--brand-quiet)}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn-outline:hover{background:var(--brand-quiet)}
.trust-line{display:flex;gap:24px;margin-top:31px;color:var(--ink-soft);font-size:12px;font-weight:560;flex-wrap:wrap}
.trust-line span:before{content:"✓";color:var(--brand);font-weight:800;margin-right:5px}
.hero-visual{background:var(--surface);box-shadow:0 24px 75px var(--shadow);border:1px solid var(--line);border-radius:24px;overflow:hidden;min-width:0;transform:rotate(-1deg)}
.visual-head{padding:17px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:720;color:var(--ink-muted)}
.visual-dots{display:flex;gap:5px}.visual-dots i{width:6px;height:6px;border-radius:50%;background:var(--line-strong)}
.visual-body{padding:31px}
.visual-body>p{color:var(--ink-muted);margin:0;font-size:14px;font-weight:600}
.show-amount{display:flex;align-items:baseline;gap:8px;margin:10px 0 20px;white-space:nowrap}
.show-amount strong{font-size:clamp(25px,3.4vw,45px);letter-spacing:-.06em;font-weight:840}
.show-amount span{font-size:16px;color:var(--ink-muted)}
.visual-ruler{display:flex;justify-content:space-between;font-size:13px;font-weight:800;padding-bottom:14px;border-bottom:1px dashed var(--line-strong)}
.illustration-chart{height:140px;position:relative;margin:22px 0 18px;overflow:hidden;background:linear-gradient(0deg,var(--surface-muted),transparent 1px) 0 0/100% 33%}
.chart-bars{display:flex;gap:11px;align-items:end;height:100%;padding:5px 4px 0}
.chart-bars i{background:var(--brand-quiet);border:1px solid var(--line-strong);flex:1;border-radius:5px 5px 0 0}
.chart-bars i:nth-child(odd){background:var(--accent)}
.visual-note{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:var(--ink-soft);flex-wrap:wrap}
.visual-note a{color:var(--brand);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.home-section{padding:94px 0 64px;scroll-margin-top:85px}
.section-index{font-size:13px;font-weight:780;color:var(--brand);display:block;margin-bottom:10px}
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:25px}
.section-title-row h2,.group-heading h2,.how-section h2,.authority h2{font-size:clamp(24px,3.2vw,39px);line-height:1.25;letter-spacing:-.055em;margin:0;font-weight:830}
.section-title-row p{margin:10px 0 0;color:var(--ink-muted)}
.section-count{color:var(--ink-soft);font-size:14px}
.group-block{margin-top:48px}
.group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.group-heading h2{font-size:22px}
.group-heading span{font-size:13px;color:var(--ink-soft)}
.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tool-card{display:flex;flex-direction:column;min-height:223px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;min-width:0}
.tool-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px var(--shadow);border-color:var(--line-strong)}
.tool-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--ink-soft)}
.tool-code{font-family:Georgia,serif;font-size:22px;color:var(--brand);font-weight:650}
.tool-tag{background:var(--brand-quiet);color:var(--brand);border-radius:50px;padding:4px 9px;font-weight:700;white-space:nowrap}
.tool-card h3{font-size:18px;line-height:1.37;letter-spacing:-.04em;margin:21px 0 9px;font-weight:840;overflow-wrap:break-word}
.tool-card p{font-size:13px;line-height:1.65;color:var(--ink-muted);margin:0 0 18px;flex:1}
.card-link{font-weight:780;color:var(--brand);font-size:13px;margin-top:auto;display:flex;justify-content:space-between;align-items:center}
.card-link span{font-size:19px;font-weight:400}
.how-section{display:grid;grid-template-columns:1fr 1fr;gap:72px;padding:79px 64px;margin:0 0 60px;background:var(--brand);color:var(--surface);border-radius:26px}
.how-section .section-index{color:var(--accent)}
.how-section h2{font-size:39px}
.how-section p{color:#d0dfdc;font-size:14px;line-height:1.85;max-width:410px}
.text-action{display:inline-flex;gap:15px;margin-top:20px;font-weight:750;font-size:14px;color:var(--accent)}
.how-steps{display:grid;gap:20px;align-content:center}
.home-feature{display:flex;gap:18px;align-items:start}
.home-feature>b{font-family:Georgia,serif;color:var(--accent);font-size:23px;font-weight:500;min-width:34px}
.home-feature>div{display:flex;flex-direction:column;gap:6px;border-bottom:1px solid #567275;padding-bottom:19px;width:100%}
.home-feature strong{font-size:16px;letter-spacing:-.03em}
.home-feature span{color:#d0dfdc;font-size:13px}
.authority{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);padding:30px 36px;margin-bottom:85px}
.authority h2{font-size:20px}
.authority p{color:var(--ink-muted);font-size:14px;max-width:840px}
.ref-links{display:flex;flex-wrap:wrap;gap:10px}
.ref-links a{border:1px solid var(--line-strong);border-radius:8px;font-size:13px;padding:8px 11px;font-weight:700;color:var(--brand)}
.ref-links a:hover{background:var(--brand-quiet)}
.site-footer{background:var(--ink);color:var(--surface);padding:47px 0 22px}
.site-footer .brand-mark{background:var(--accent);color:var(--ink)}
.foot-grid{display:flex;justify-content:space-between;gap:30px}
.foot-grid p{font-size:13px;color:#bdceca;margin:13px 0 0}
.foot-warn{max-width:650px}
.foot-links{display:flex;flex-wrap:wrap;align-items:start;gap:14px 20px;font-size:13px;color:#d0dfdc}
.copyright{border-top:1px solid #486069;padding-top:20px;margin-top:40px;color:#a3b9b8;font-size:12px}
.tool-layout{padding:24px 0 80px}
.breadcrumb{display:flex;align-items:center;gap:10px;color:var(--ink-soft);font-size:12px;margin:8px 0 30px}
.breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.tool-intro h1{font-size:clamp(31px,4.7vw,51px);font-weight:870;letter-spacing:-.067em;line-height:1.24;margin:0 0 14px}
.tool-intro>p{font-size:16px;color:var(--ink-muted);margin:0;max-width:760px;line-height:1.8}
.intro-points{display:flex;gap:15px;flex-wrap:wrap;color:var(--brand);font-size:12px;font-weight:740;margin:20px 0 35px}
.intro-points span{border:1px solid var(--line);padding:6px 10px;border-radius:100px}
.workbench{display:grid;grid-template-columns:1.02fr .98fr;gap:20px;align-items:stretch}
.input-panel,.result-panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:32px;min-width:0}
.result-panel{background:var(--brand);color:var(--surface);border-color:var(--brand)}
.panel-heading{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.panel-count{width:39px;height:39px;border-radius:11px;background:var(--brand-quiet);color:var(--brand);display:grid;place-items:center;font:700 15px Georgia,serif;flex-shrink:0}
.panel-count-invert{background:#426971;color:var(--accent)}
.panel-heading h2{font-size:18px;line-height:1.2;margin:0 0 5px;letter-spacing:-.02em}
.panel-heading p{font-size:12px;margin:0;color:var(--ink-soft)}
.result-panel .panel-heading p{color:#b9ceca}
.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.form-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.form-field>span{font-size:13px;font-weight:740;color:var(--ink)}
.field-control{display:flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:12px;padding:0 14px;min-height:55px;background:var(--paper);width:100%}
.field-control:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-quiet)}
.field-control input,.field-control select{width:100%;min-width:0;border:0;outline:0;background:transparent;height:54px;font-size:18px;font-weight:760;color:var(--ink)}
.field-control input::-webkit-inner-spin-button,.field-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.field-control input[type=number]{appearance:textfield}
.field-control select{font-size:14px;font-weight:680;cursor:pointer}
.field-control .unit{color:var(--ink-soft);font-size:13px;font-weight:700;white-space:nowrap}
.form-actions{display:flex;gap:10px;margin-top:26px;flex-wrap:wrap}
.error-text{font-size:13px;color:var(--danger);font-weight:720;margin:18px 0 0}
.result-main{padding:15px 0 28px;border-bottom:1px solid #54777b}
.result-main>span{font-size:14px;color:#d7e7e3;font-weight:700;display:block;margin-bottom:8px}
.result-main strong{font-size:clamp(32px,3.5vw,52px);font-weight:840;letter-spacing:-.065em;line-height:1.3;display:block;overflow-wrap:anywhere}
.result-main p{font-size:12px;color:#d7e7e3;line-height:1.7;margin:14px 0 0}
.mini-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:30px 0}
.mini-stat{min-width:0;display:flex;flex-direction:column;gap:9px}
.mini-stat span{font-size:11px;color:#bfd2cd;line-height:1.5}
.mini-stat strong{font-size:clamp(14px,1.7vw,19px);font-weight:780;letter-spacing:-.035em;overflow-wrap:anywhere}
.result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto}
.result-actions .btn-outline{color:var(--surface);border-color:#799a9e}
.result-actions .btn-outline:hover{background:#456e71}
.result-actions small{font-size:11px;color:#bdcfcc}
.schedule-section{margin-top:38px;border:1px solid var(--line);background:var(--surface);padding:28px;border-radius:var(--radius)}
.schedule-section h2{font-size:25px}
.table-scroll{overflow:auto;max-height:490px}
table{border-collapse:collapse;width:100%;min-width:650px;line-height:1.5;font-size:13px}
th,td{text-align:right;padding:13px 12px;white-space:nowrap;border-bottom:1px solid var(--line)}
thead th{background:var(--paper);color:var(--ink-muted);font-weight:780;position:sticky;top:0}
tbody th{font-weight:740}
.table-hint{text-align:center;color:var(--ink-soft);font-style:normal}
.explain-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:46px}
.explain-card{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);padding:31px}
.explain-card h2,.faq-section h2,.related-section h2{font-size:24px;letter-spacing:-.055em;line-height:1.35;margin:0 0 13px}
.explain-card>p,.formula p{font-size:14px;color:var(--ink-muted);line-height:1.95;margin:0 0 12px}
.formula{padding:19px;border-radius:12px;background:var(--surface-muted);margin-top:21px}
.formula>span{display:block;font-size:12px;color:var(--brand);font-weight:800;margin-bottom:8px}
.formula p{margin:0}
.faq-section{padding:72px 0 28px;max-width:880px}
.faq-item{border-bottom:1px solid var(--line);padding:18px 0}
.faq-item summary{cursor:pointer;font-size:15px;font-weight:780;list-style-position:outside;padding-right:8px}
.faq-item p{font-size:14px;color:var(--ink-muted);line-height:1.8;margin:13px 0 3px}
.related-section{padding-top:47px}
.related-section h2{margin:0}
.related-section .section-title-row>a{font-size:13px;color:var(--brand);text-decoration:underline}
.tool-grid-related .tool-card{min-height:205px}
.static-layout{padding:27px 0 95px}
.static-article{max-width:850px;background:var(--surface);border-radius:24px;border:1px solid var(--line);padding:60px}
.static-article h1{font-size:clamp(28px,4vw,40px);line-height:1.4;letter-spacing:-.05em;margin:0 0 25px}
.static-article h2{font-size:22px;letter-spacing:-.04em;margin:38px 0 13px}
.static-article p{font-size:15px;line-height:2;color:var(--ink-muted)}
.static-article a:not(.btn){color:var(--brand);text-decoration:underline}
.article-updated{margin-top:38px;border-top:1px solid var(--line);padding-top:18px;font-size:12px!important}
@media (max-width:1040px){.hero{gap:35px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how-section{gap:30px;padding:56px 45px}}
@media (max-width:750px){
 .wrap{width:min(100% - 32px,590px)}
 .site-header{height:67px}.brand{font-size:18px}.brand-mark{width:31px;height:31px;font-size:23px}.primary-nav{gap:13px;font-size:12px}.header-trust{display:none}
 .hero{display:flex;flex-direction:column;align-items:stretch;padding:53px 0 64px;gap:39px}
 .hero h1{font-size:clamp(38px,8vw,56px)}.hero-copy>p{font-size:15px}.hero-copy>p br{display:none}
 .hero-visual{max-width:510px;transform:none}
 .home-section{padding:66px 0 36px}.group-block{margin-top:39px}.section-title-row{align-items:start}
 .how-section{grid-template-columns:1fr;padding:42px 28px;gap:26px}.how-section h2{font-size:31px}
 .workbench{grid-template-columns:1fr}.input-panel,.result-panel{padding:25px}.result-panel{min-height:320px}
 .explain-grid{grid-template-columns:1fr}.faq-section{padding-top:58px}
 .static-article{padding:34px 25px}
 .foot-grid{flex-direction:column}
}
@media (max-width:470px){
 .primary-nav a:nth-child(3){display:none}
 .hero h1{font-size:40px}
 .hero-actions{gap:14px}.hero-actions .btn{font-size:13px}
 .tool-grid{grid-template-columns:1fr;gap:12px}.tool-card{min-height:184px;padding:19px}
 .tool-card h3{margin-top:12px}
 .home-title h2{font-size:30px}.section-count{display:none}
 .fields-grid{grid-template-columns:1fr}.form-field{gap:5px}.field-control{min-height:51px}.field-control input,.field-control select{height:51px}
 .result-main strong{font-size:37px}
 .mini-results{gap:8px}.mini-stat strong{font-size:14px}
 .schedule-section{padding:18px}
 .authority{padding:25px}.intro-points{gap:7px}
 .visual-body{padding:23px}.show-amount strong{font-size:31px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tool-card,.btn{transition:none}.tool-card:hover,.btn-primary:hover{transform:none}}
