/* Korean homepage only. Shared calculator and translated pages retain their styles. */
.home-page { --home-soft:rgba(91,127,238,.08); }
.home-main { max-width:1080px; margin:auto; padding:0 28px; }
.home-intro { padding:64px 0 48px; max-width:750px; margin:auto; text-align:center; }
.home-kicker,.home-eyebrow { color:var(--ink-accent); font-size:12px; font-weight:700; letter-spacing:.08em; }
.home-intro h1 { font-size:clamp(34px,5vw,54px); line-height:1.25; letter-spacing:-.045em; margin:18px 0; }
.home-intro h1 em { color:var(--ink-accent); font-style:normal; }
.home-intro>p { color:var(--text-sub); font-size:17px; line-height:1.8; }
.home-points { display:flex; justify-content:center; gap:18px; flex-wrap:wrap; margin:18px 0 26px; font-size:13px; color:var(--text-muted); }
.home-points span::before { content:'✓ '; color:var(--ink-accent); }
.mobile-break { display:none; }
.home-search { max-width:640px; margin:auto; text-align:left; }
.home-search label { display:block; font-size:14px; font-weight:600; margin:0 0 8px 2px; }
.search-box { display:flex; gap:12px; align-items:center; padding:4px 16px; background:var(--card); border:1px solid var(--border); border-radius:14px; box-shadow:0 6px 24px #00000008; }
.search-box:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.search-box>span { font-size:25px; color:var(--ink-accent); }
#tool-search { flex:1; min-width:0; width:100%; padding:14px 0; border:0; background:transparent; color:var(--text); font-size:16px; outline:none; }
#tool-search::placeholder { color:var(--text-muted); }
#search-clear { border:0; background:transparent; color:var(--text-sub); min-width:44px; min-height:44px; font-size:24px; cursor:pointer; }
.home-quick { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px; margin-top:16px; font-size:13px; }
.home-quick>span { color:var(--text-muted); }
.home-quick a { padding:6px 10px; color:var(--ink-accent); border-radius:6px; }
.home-quick a:hover { background:var(--home-soft); }
.home-section-head { display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:20px; }
.home-section-head h2 { font-size:24px; letter-spacing:-.03em; margin-top:4px; }
#tool-count { font-size:14px; color:var(--text-muted); white-space:nowrap; }
.tool-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.tool-filters button { padding:9px 14px; min-height:44px; border:1px solid var(--border); background:var(--card); color:var(--text-sub); font-size:14px; border-radius:24px; cursor:pointer; }
.tool-filters button[aria-pressed=true] { background:var(--text); color:var(--bg); border-color:var(--text); font-weight:700; }
.save-help { font-size:12px; color:var(--text-muted); margin:12px 0 20px; }
.tools-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.tool-card { position:relative; background:var(--card); border:1px solid var(--border); border-radius:14px; min-width:0; transition:border-color .15s,box-shadow .15s; }
.tool-card:hover { border-color:var(--accent); box-shadow:0 4px 16px #00000009; }
.tool-card>a { display:block; padding:22px; height:100%; }
.tool-icon { display:block; font-size:27px; margin-bottom:14px; }
.tool-category { display:block; color:var(--text-muted); font-size:12px; margin-bottom:4px; }
.tool-card h3 { color:var(--text); font-size:17px; margin-bottom:8px; letter-spacing:-.025em; }
.tool-card p { color:var(--text-sub); font-size:14px; line-height:1.7; min-height:48px; }
.tool-open { display:flex; justify-content:space-between; color:var(--ink-accent); font-size:13px; font-weight:600; margin-top:20px; }
.tool-save { position:absolute; top:12px; right:12px; min-width:44px; min-height:44px; border:0; border-radius:9px; font-size:24px; background:var(--card); color:var(--text-muted); cursor:pointer; }
.tool-save[aria-pressed=true] { color:var(--ink-accent); background:var(--home-soft); }
.tools-empty { padding:32px; border:1px dashed var(--border); border-radius:14px; text-align:center; color:var(--text-sub); }
.home-features { padding:52px 0 0; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.home-feature { padding:24px; border-radius:16px; color:white; display:flex; flex-direction:column; }
.feature-blue { background:#344fa6; }.feature-red { background:#a12d3c; }.feature-green { background:#146044; }
.feature-label { font-size:12px; font-weight:600; margin-bottom:18px; }
.home-feature h3 { font-size:22px; line-height:1.5; letter-spacing:-.03em; }
.home-feature p { font-size:14px; line-height:1.8; color:#fff; margin:12px 0 24px; }
.home-feature>span:last-child { margin-top:auto; font-size:14px; font-weight:700; }
.home-principles { margin:36px 0; padding:24px; border:1px solid var(--border); border-radius:14px; }
.home-principles h2 { font-size:18px; }.home-principles p { font-size:14px; color:var(--text-sub); line-height:1.8; margin:10px 0; }.home-principles a { color:var(--ink-accent); font-size:14px; }
.home-page .guide { max-width:1080px; margin-top:48px; }
.home-page [hidden] { display:none !important; }
.home-main :focus-visible,.home-skip:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.home-skip { position:fixed; top:-100px; left:16px; z-index:1000; background:var(--card); padding:12px; }.home-skip:focus { top:12px; }
@media(max-width:760px){.home-main{padding:0 18px}.home-intro{padding:36px 0}.home-intro>p{font-size:15px}.mobile-break{display:block}.home-section-head h2{font-size:21px}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card>a{padding:16px}.tool-card h3{font-size:16px}.tool-card p{font-size:14px;min-height:72px}.tool-category{font-size:11px}.tool-icon{margin-top:4px}.tool-save{top:8px;right:8px}.tool-filters{gap:6px}.tool-filters button{padding:9px 12px;font-size:13px}.feature-grid{grid-template-columns:1fr}.home-feature{padding:24px}.home-feature h3 br{display:none}.home-feature h3{font-size:21px}.home-features{padding-top:36px}.home-principles{padding:20px}.home-quick{gap:4px}.home-page .guide{padding:28px 18px}}
@media(max-width:360px){.home-main{padding:0 14px}.tool-card>a{padding:13px}.tool-card h3{font-size:15px}.home-intro h1{font-size:33px}}
@media(prefers-reduced-motion:reduce){.tool-card{transition:none}}

.home-guide { max-width:1024px; margin:28px auto 48px; padding:0 20px; }
.home-guide>summary { cursor:pointer; font-size:16px; font-weight:600; padding:18px 0; border-top:1px solid var(--border); color:var(--text-sub); }
.home-page .home-guide .guide { margin-top:0; border:0; padding:12px 0; }
