:root {
    --tool-ink: #172033;
    --tool-muted: #667085;
    --tool-soft: #f4f6fb;
    --tool-surface: #ffffff;
    --tool-border: #e4e8f0;
    --tool-brand: #f56b4c;
    --tool-brand-dark: #d94d32;
    --tool-navy: #111b32;
    --tool-lime: #c7f36a;
    --tool-radius: 20px;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--tool-ink);
    background: var(--tool-soft);
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.tool-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(228, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.tool-header-inner,
.tool-container,
.tool-footer-inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.tool-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tool-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Outfit, "Noto Sans KR", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.tool-logo-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    color: var(--tool-navy);
    background: var(--tool-lime);
    box-shadow: 4px 4px 0 var(--tool-navy);
    font-size: 1rem;
}

.tool-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-nav a {
    padding: 8px 12px;
    color: #596273;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
}

.tool-nav a:hover,
.tool-nav a[aria-current="page"] {
    color: var(--tool-ink);
    background: #f0f2f8;
}

.tool-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--tool-ink);
    font-size: 1.4rem;
}

.tool-main { padding: 56px 0 90px; }

.tool-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 76px);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(199, 243, 106, 0.26), transparent 27%),
        radial-gradient(circle at 12% 100%, rgba(245, 107, 76, 0.32), transparent 34%),
        var(--tool-navy);
}

.tool-hero::after {
    position: absolute;
    right: 7%;
    bottom: -55px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
}

.tool-kicker {
    margin: 0 0 16px;
    color: var(--tool-lime);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tool-hero h1,
.page-heading h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.tool-hero p {
    max-width: 610px;
    margin: 22px 0 0;
    color: #dce3f2;
    font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--tool-navy); background: var(--tool-lime); box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.2); }
.button-primary:hover { background: #d9ff8c; }
.button-dark { color: #fff; background: var(--tool-navy); }
.button-light { color: var(--tool-ink); border-color: var(--tool-border); background: #fff; }
.button-light:hover { border-color: #c4cad8; background: #f9fafc; }
.button-danger { color: #fff; background: var(--tool-brand); }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 70px 0 22px;
}

.section-heading h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.section-heading p { margin: 0; color: var(--tool-muted); font-size: 0.92rem; }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tool-card {
    min-height: 198px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--tool-border);
    border-radius: var(--tool-radius);
    background: var(--tool-surface);
    box-shadow: 0 14px 30px rgba(31, 45, 75, 0.04);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #cad3e4;
    box-shadow: 0 18px 36px rgba(31, 45, 75, 0.1);
}

.tool-card-featured { grid-column: span 2; background: linear-gradient(135deg, #fff7f2, #fff); border-color: #ffd5c8; }
.tool-card-icon { font-size: 2rem; line-height: 1; }
.tool-card-icon[data-icon-tone="image"] { background: #2d6be0; }
.tool-card-icon[data-icon-tone="content"] { background: #8a5cf6; }
.tool-card-icon[data-icon-tone="pdf"] { background: #ed6d5a; }
.tool-card-icon[data-icon-tone="calculator"] { background: #f2a72c; }
.tool-card-icon[data-icon-tone="work"] { background: #24a97b; }
.tool-card-icon[data-icon-tone="design"] { background: #2d9bd2; }
.tool-card h3 { margin: 18px 0 6px; font-size: 1.1rem; letter-spacing: -0.04em; }
.tool-card p { margin: 0; color: var(--tool-muted); font-size: 0.9rem; }
.tool-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; color: var(--tool-brand-dark); font-size: 0.78rem; font-weight: 900; }
.tool-card-soon { opacity: 0.72; background: #fafbfc; }
.tool-card-soon .tool-card-meta { color: var(--tool-muted); }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.benefit {
    padding: 22px;
    border-radius: 16px;
    background: #eaf0ff;
}

.benefit strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.benefit span { color: #5e6a7e; font-size: 0.88rem; }

.content-card,
.tool-shell,
.guide-card {
    border: 1px solid var(--tool-border);
    border-radius: var(--tool-radius);
    background: var(--tool-surface);
    box-shadow: 0 14px 30px rgba(31, 45, 75, 0.04);
}

.content-card { padding: clamp(24px, 4vw, 44px); }
.content-card + .content-card { margin-top: 16px; }
.content-card p { color: #5c6678; }
.content-card ul { padding-left: 1.2rem; color: #5c6678; }
.content-card li + li { margin-top: 6px; }

.page-heading { margin-bottom: 28px; }
.page-heading h1 { max-width: 820px; font-size: clamp(2rem, 4vw, 3.4rem); }
.page-heading p { max-width: 720px; margin: 16px 0 0; color: var(--tool-muted); }

.breadcrumbs { margin-bottom: 15px; color: var(--tool-muted); font-size: 0.82rem; font-weight: 800; }
.breadcrumbs a { color: var(--tool-brand-dark); }

.tool-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: start;
    gap: 18px;
}

.tool-shell { overflow: hidden; }
.tool-shell-header { padding: 24px 26px; border-bottom: 1px solid var(--tool-border); }
.tool-shell-header h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.04em; }
.tool-shell-header p { margin: 5px 0 0; color: var(--tool-muted); font-size: 0.88rem; }
.tool-shell-body { padding: 26px; }

.drop-zone {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 28px;
    border: 1.5px dashed #c8d0df;
    border-radius: 16px;
    color: var(--tool-muted);
    background: #fbfcfe;
    text-align: center;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging { border-color: var(--tool-brand); background: #fff7f3; transform: translateY(-2px); }
.drop-zone strong { display: block; color: var(--tool-ink); font-size: 1.05rem; }
.drop-zone span { display: block; margin-top: 5px; font-size: 0.85rem; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.upload-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 18px;
    color: var(--tool-brand-dark);
    background: #ffe2d9;
    font-size: 1.7rem;
}

.tool-controls { display: none; margin-top: 22px; }
.tool-controls.is-visible { display: block; }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.control-field { padding: 15px; border: 1px solid var(--tool-border); border-radius: 13px; background: #fbfcfe; }
.control-field label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 0.84rem; font-weight: 900; }
.control-field output { color: var(--tool-brand-dark); }
.control-field input[type="range"] { width: 100%; accent-color: var(--tool-brand); }
.check-field { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 15px; border: 1px solid var(--tool-border); border-radius: 13px; background: #fbfcfe; font-size: 0.84rem; font-weight: 800; }
.check-field input { width: 17px; height: 17px; accent-color: var(--tool-brand); }

.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.preview-panel { min-width: 0; overflow: hidden; border: 1px solid var(--tool-border); border-radius: 15px; background: #f6f8fb; }
.preview-panel h3 { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--tool-border); font-size: 0.8rem; }
.canvas-wrap { display: grid; min-height: 180px; place-items: center; padding: 14px; overflow: auto; }
.canvas-wrap.checkerboard { background-color: #fff; background-image: linear-gradient(45deg, #edf0f4 25%, transparent 25%), linear-gradient(-45deg, #edf0f4 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #edf0f4 75%), linear-gradient(-45deg, transparent 75%, #edf0f4 75%); background-position: 0 0, 0 8px, 8px -8px, -8px 0; background-size: 16px 16px; }
.canvas-wrap canvas { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.preview-empty { color: #98a2b3; font-size: 0.84rem; text-align: center; }

.status-message { min-height: 26px; margin: 14px 0 0; color: var(--tool-muted); font-size: 0.82rem; }
.status-message.is-error { color: #c0392b; }
.status-message.is-success { color: #197449; }
.button:disabled { cursor: not-allowed; opacity: 0.46; transform: none; }
.button.is-disabled { cursor: not-allowed; opacity: 0.46; pointer-events: none; transform: none; }

.lab-stack { display: grid; gap: 16px; }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lab-field { display: grid; gap: 8px; }
.lab-field-wide { grid-column: 1 / -1; }
.lab-field label { color: var(--tool-ink); font-size: 0.84rem; font-weight: 900; }
.lab-field textarea,
.lab-field input[type="text"],
.lab-field input[type="number"],
.lab-field input[type="date"],
.lab-field input[type="datetime-local"],
.lab-field select {
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 1px solid var(--tool-border);
    border-radius: 12px;
    color: var(--tool-ink);
    background: #fbfcfe;
    font: inherit;
}
.lab-field textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.lab-field textarea[readonly] { background: #f3f5f9; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lab-actions .button { min-height: 42px; }
.lab-note { margin: 0; color: var(--tool-muted); font-size: 0.8rem; }
.lab-output { min-height: 62px; padding: 15px; border: 1px solid var(--tool-border); border-radius: 13px; background: #fbfcfe; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.lab-output.is-code { min-height: 200px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.83rem; white-space: pre; overflow: auto; }
.lab-tree { overflow: auto; }
.lab-tree ul { margin: 7px 0 0; padding-left: 1.25rem; }
.lab-tree li { margin: 5px 0; color: var(--tool-muted); }
.lab-tree summary { cursor: pointer; }
.lab-tree code { color: var(--tool-ink); font-size: 0.82rem; }
.lab-tree span { margin-left: 6px; color: var(--tool-muted); }
.mandala-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mandala-grid input { min-width: 0; padding: 13px; border: 1px solid var(--tool-border); border-radius: 10px; }
.lab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lab-stat { padding: 15px; border: 1px solid var(--tool-border); border-radius: 13px; background: #fbfcfe; }
.lab-stat strong { display: block; color: var(--tool-brand-dark); font-size: 1.25rem; }
.lab-stat span { display: block; margin-top: 3px; color: var(--tool-muted); font-size: 0.76rem; }
.lab-preview { min-height: 180px; padding: 18px; border: 1px solid var(--tool-border); border-radius: 13px; background: #fff; overflow: auto; }
.lab-preview h1, .lab-preview h2, .lab-preview h3 { margin: 0.6em 0 0.35em; }
.lab-preview h1 { font-size: 1.6rem; }
.lab-preview h2 { font-size: 1.25rem; }
.lab-preview h3 { font-size: 1.05rem; }
.lab-preview p { margin: 0.65em 0; color: var(--tool-muted); }
.lab-preview ul { padding-left: 1.2rem; color: var(--tool-muted); }
.lab-preview pre { padding: 12px; border-radius: 10px; color: #f5f7fa; background: var(--tool-navy); overflow: auto; }
.lab-preview code { padding: 0.1em 0.3em; border-radius: 4px; background: #f0f2f7; font-family: "SFMono-Regular", Consolas, monospace; }
.lab-preview pre code { padding: 0; background: transparent; }
.lab-result-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lab-result-list li { padding: 11px 13px; border-radius: 10px; background: #f4f6fb; color: var(--tool-muted); overflow-wrap: anywhere; }
.lab-result-list mark { border-radius: 3px; background: #ffe1d7; color: var(--tool-ink); }
.lab-color-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lab-color-chip { display: grid; min-width: 100px; gap: 7px; padding: 10px; border: 1px solid var(--tool-border); border-radius: 12px; background: #fff; font: 700 0.75rem/1.2 "SFMono-Regular", Consolas, monospace; }
.lab-color-swatch { height: 54px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lab-table-wrap { overflow-x: auto; border: 1px solid var(--tool-border); border-radius: 13px; }
.lab-table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 0.84rem; }
.lab-table th, .lab-table td { padding: 11px 13px; border-bottom: 1px solid var(--tool-border); text-align: left; }
.lab-table th { color: var(--tool-ink); background: #f7f8fb; }
.lab-table tr:last-child td { border-bottom: 0; }
.lab-drop { display: grid; min-height: 150px; place-items: center; padding: 22px; border: 1.5px dashed #c8d0df; border-radius: 15px; background: #fbfcfe; text-align: center; }
.lab-drop.is-dragging { border-color: var(--tool-brand); background: #fff7f3; }
.lab-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lab-drop strong { display: block; color: var(--tool-ink); }
.lab-drop span { display: block; margin-top: 5px; color: var(--tool-muted); font-size: 0.8rem; }
.lab-file-preview { max-width: 100%; max-height: 280px; border-radius: 12px; }
.lab-timer { display: grid; place-items: center; gap: 18px; padding: 28px; border-radius: 16px; background: var(--tool-navy); color: #fff; text-align: center; }
.lab-timer-time { font: 800 clamp(3rem, 10vw, 5.5rem)/1 Outfit, sans-serif; letter-spacing: 0.02em; }
.lab-check-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lab-check-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--tool-border); border-radius: 11px; background: #fff; }
.lab-check-item input { width: 17px; height: 17px; accent-color: var(--tool-brand); }
.lab-check-item.is-done span { color: #98a2b3; text-decoration: line-through; }
.lab-check-item button { margin-left: auto; border: 0; color: #b42318; background: transparent; cursor: pointer; }

.guide-card { padding: 24px; }
.guide-card h2 { margin: 0 0 13px; font-size: 1.15rem; letter-spacing: -0.04em; }
.guide-card h3 { margin: 22px 0 6px; font-size: 0.96rem; }
.guide-card p, .guide-card li { color: var(--tool-muted); font-size: 0.9rem; }
.guide-card ul { padding-left: 1.1rem; }

.tool-footer {
    padding: 28px 0;
    border-top: 1px solid var(--tool-border);
    background: #fff;
}

.tool-footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.tool-footer strong { font-family: Outfit, "Noto Sans KR", sans-serif; }
.tool-footer p { max-width: 530px; margin: 6px 0 0; color: var(--tool-muted); font-size: 0.78rem; }
.tool-footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 12px; color: var(--tool-muted); font-size: 0.78rem; }
.tool-footer-links a:hover { color: var(--tool-brand-dark); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tool-card-featured { grid-column: span 2; }
    .tool-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .tool-header-inner, .tool-container, .tool-footer-inner { width: min(100% - 28px, 1160px); }
    .tool-header-inner { min-height: 64px; }
    .tool-menu-toggle { display: inline-block; }
    .tool-nav { display: none; position: absolute; top: 64px; right: 14px; left: 14px; flex-direction: column; align-items: stretch; padding: 8px; border: 1px solid var(--tool-border); border-radius: 14px; background: #fff; box-shadow: 0 16px 30px rgba(31, 45, 75, 0.12); }
    .tool-nav.is-open { display: flex; }
    .tool-nav a { padding: 11px 12px; }
    .tool-main { padding: 28px 0 64px; }
    .tool-hero { padding: 34px 24px; border-radius: 24px; }
    .tool-hero h1, .page-heading h1 { letter-spacing: -0.06em; }
    .section-heading { display: block; margin-top: 48px; }
    .section-heading p { margin-top: 7px; }
    .tool-grid, .benefit-grid, .control-grid, .preview-grid { grid-template-columns: 1fr; }
    .lab-grid, .lab-stats { grid-template-columns: 1fr; }
    .lab-field-wide { grid-column: auto; }
    .tool-card-featured { grid-column: auto; }
    .tool-shell-body, .tool-shell-header, .content-card { padding: 20px; }
    .tool-footer-inner { display: block; }
    .tool-footer-links { justify-content: start; margin-top: 14px; }
}

/* Designbase-inspired visual direction: airy blue canvas, search-first hero, and compact content tiles. */
:root {
    --tool-ink: #111827;
    --tool-muted: #6b7280;
    --tool-soft: #f2f7fc;
    --tool-surface: #ffffff;
    --tool-border: #e6edf5;
    --tool-brand: #2667f5;
    --tool-brand-dark: #1457d9;
    --tool-navy: #17213d;
    --tool-lime: #dce8ff;
    --tool-radius: 18px;
}

body { background: var(--tool-soft); color: var(--tool-ink); }
.tool-header { position: relative; border-bottom: 0; background: rgba(242, 247, 252, 0.82); backdrop-filter: blur(18px); }
.tool-header-inner, .tool-container, .tool-footer-inner { width: min(1200px, calc(100% - 48px)); }
.tool-header-inner { min-height: 78px; gap: 26px; }
.tool-logo { gap: 9px; font-size: 1.05rem; letter-spacing: -0.04em; }
.tool-logo-mark { width: 30px; height: 30px; border-radius: 10px; color: #fff; background: var(--tool-brand); box-shadow: 3px 3px 0 #bcd0fa; font-size: .88rem; }
.tool-nav { gap: 2px; }
.tool-nav a { padding: 8px 11px; color: #515b6b; font-size: .82rem; font-weight: 700; }
.tool-nav a:hover, .tool-nav a[aria-current="page"] { color: var(--tool-brand); background: transparent; }
.tool-header-search { display: inline-grid; width: 32px; height: 32px; place-items: center; color: var(--tool-ink); font-size: 1.55rem; line-height: 1; transform: rotate(-18deg); }
.tool-header-search:hover { color: var(--tool-brand); }
.tool-main { padding: 44px 0 92px; }
.home-main { padding-top: 0; }

.home-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 42%, rgba(191, 219, 255, .92), transparent 33%), linear-gradient(115deg, #f1f7fd 0%, #eaf3fc 55%, #f7fbff 100%); }
.home-hero::after { position: absolute; right: 30%; bottom: -180px; width: 460px; height: 460px; border: 1px solid rgba(38, 103, 245, .08); border-radius: 50%; content: ""; }
.home-hero-inner { position: relative; z-index: 1; display: grid; min-height: 500px; grid-template-columns: minmax(0, .94fr) minmax(400px, 1.06fr); align-items: center; gap: 54px; padding-top: 58px; padding-bottom: 58px; }
.home-hero-copy { position: relative; z-index: 2; }
.home-hero-copy .tool-kicker, .home-section-heading .tool-kicker, .home-trust-section .tool-kicker, .home-about-card .tool-kicker { margin-bottom: 13px; color: var(--tool-brand-dark); font-size: .7rem; letter-spacing: .18em; }
.home-hero h1 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.04; letter-spacing: -.085em; }
.home-hero h1 span { color: var(--tool-brand); background: linear-gradient(90deg, #1d5fe9, #5b8df8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-hero-copy > p:not(.tool-kicker) { max-width: 500px; margin: 22px 0 0; color: #596678; font-size: 1rem; line-height: 1.7; }
.home-search { display: flex; align-items: center; width: min(100%, 520px); min-height: 56px; margin-top: 28px; padding: 6px 7px 6px 16px; border: 1px solid rgba(226, 234, 244, .95); border-radius: 13px; background: #fff; box-shadow: 0 15px 30px rgba(67, 101, 145, .10); }
.home-search-icon { margin-right: 9px; color: #9aa5b4; font-size: 1.4rem; line-height: 1; transform: rotate(-18deg); }
.home-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--tool-ink); background: transparent; font-size: .9rem; }
.home-search input::placeholder { color: #a0a9b5; }
.home-search button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 9px; color: #fff; background: var(--tool-brand); font-weight: 800; }
.home-search button:hover { background: var(--tool-brand-dark); }
.home-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; color: #738093; font-size: .76rem; }
.home-tags a { padding: 5px 9px; border: 1px solid rgba(221, 229, 239, .9); border-radius: 7px; color: #667386; background: rgba(255, 255, 255, .8); }
.home-tags a:hover { border-color: #b9cdf2; color: var(--tool-brand); }

.home-hero-visual { position: relative; min-height: 390px; }
.hero-stack, .hero-tool-window { position: absolute; border-radius: 16px; }
.hero-stack { top: 52px; right: 3%; width: 79%; height: 272px; border: 1px solid rgba(60, 90, 131, .25); background: #dbe8f6; transform: rotate(3deg); }
.hero-stack-back { right: -1%; background: #c4d5e8; transform: rotate(6deg); }
.hero-stack-mid { right: 4%; background: #eaf2fa; transform: rotate(1deg); }
.hero-tool-window { z-index: 2; top: 30px; right: 10%; width: 78%; min-height: 315px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #15213f 0%, #101830 62%, #1f4388 100%); box-shadow: 0 28px 55px rgba(37, 64, 106, .24); }
.hero-window-top { display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.12); color: #b6c9ec; font-size: .6rem; }
.hero-window-top span { width: 6px; height: 6px; border-radius: 50%; background: #91b6ff; }
.hero-window-top span:nth-child(2) { background: #a4e2cb; }.hero-window-top span:nth-child(3) { background: #ffd382; }
.hero-window-top b { margin-left: auto; font-weight: 700; opacity: .6; }
.hero-window-body { padding: 30px 34px; }
.hero-window-badge { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: #296cf5; box-shadow: 5px 5px 0 rgba(255,255,255,.12); font-size: 1.1rem; }
.hero-window-body p { margin: 24px 0 7px; color: #8eaff4; font-size: .67rem; font-weight: 800; letter-spacing: .15em; }
.hero-window-body strong { display: block; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.08em; }
.hero-window-body em { color: #8db3ff; font-style: normal; }
.hero-window-controls { display: flex; gap: 8px; margin-top: 28px; }
.hero-window-controls span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; color: #bbcae5; font-size: .65rem; }
.hero-window-controls span:last-child { margin-left: auto; color: #15213f; background: #d9e7ff; }
.hero-float-card { position: absolute; z-index: 3; display: grid; gap: 1px; padding: 12px 14px; border: 1px solid rgba(226, 235, 246, .9); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 16px 28px rgba(55, 83, 122, .16); }
.hero-float-card strong { color: var(--tool-brand); font-size: 1.2rem; line-height: 1; }.hero-float-card span { color: #718096; font-size: .64rem; font-weight: 800; }
.hero-float-gif { top: 11px; right: 1%; }.hero-float-check { right: 15%; bottom: 15px; }.hero-float-check strong { color: #26a269; }

.category-section { padding-top: 56px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.home-section-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.075em; }
.home-section-heading > a { color: var(--tool-ink); font-size: .8rem; font-weight: 800; }.home-section-heading > a:hover { color: var(--tool-brand); }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.category-tile { min-height: 118px; display: flex; flex-direction: column; justify-content: end; padding: 14px; border: 1px solid rgba(228, 236, 245, .95); border-radius: 12px; background: #fff; box-shadow: 0 10px 20px rgba(66, 95, 130, .04); transition: transform 160ms ease, box-shadow 160ms ease; }
.category-tile:hover { transform: translateY(-3px); box-shadow: 0 15px 26px rgba(66, 95, 130, .11); }.category-icon { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: auto; border-radius: 10px; color: #fff; background: var(--tool-brand); font-size: .75rem; font-weight: 900; }
.category-tile strong { margin-top: 10px; font-size: .83rem; letter-spacing: -.04em; }.category-tile small { margin-top: 1px; color: #8792a1; font-size: .68rem; }.category-developer .category-icon { background: #14213d; }.category-content .category-icon { background: #9a6cff; }.category-pdf .category-icon { background: #ec6d5a; font-size: .58rem; }.category-calc .category-icon { background: #f4ac33; }.category-work .category-icon { background: #25a97b; }.category-marketing .category-icon { background: #ef6896; }.category-design .category-icon { background: #2d9bd2; }

.home-tools-section { padding-top: 124px; }.home-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }.home-tool-card { overflow: hidden; border: 1px solid var(--tool-border); border-radius: 17px; background: #fff; box-shadow: 0 13px 30px rgba(48, 78, 115, .05); transition: transform 160ms ease, box-shadow 160ms ease; }.home-tool-card:hover { transform: translateY(-4px); box-shadow: 0 20px 32px rgba(48, 78, 115, .12); }.home-tool-art { position: relative; display: flex; min-height: 160px; flex-direction: column; justify-content: center; padding: 24px; color: #fff; overflow: hidden; }.home-tool-art::after { position: absolute; right: -25px; bottom: -48px; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }.home-tool-art span { position: relative; z-index: 1; font: 800 1.7rem/1 Outfit, sans-serif; }.home-tool-art i { position: relative; z-index: 1; margin-top: 15px; font-size: 2.6rem; font-style: normal; line-height: 1; }.home-tool-art b { position: relative; z-index: 1; margin-top: 12px; font-size: .78rem; }.home-tool-card-blue .home-tool-art { background: linear-gradient(135deg, #2365e8, #77a6fa); }.home-tool-card-purple .home-tool-art { background: linear-gradient(135deg, #6348d8, #bc87ff); }.home-tool-card-yellow .home-tool-art { color: #1d2744; background: linear-gradient(135deg, #ffc94d, #ffe7a0); }.home-tool-card-green .home-tool-art { background: linear-gradient(135deg, #1e8c76, #8ed5bf); }.home-tool-copy { padding: 18px 19px 20px; }.home-tool-copy small { color: var(--tool-brand-dark); font-size: .65rem; font-weight: 900; letter-spacing: .04em; }.home-tool-copy h3 { margin: 9px 0 5px; font-size: 1rem; letter-spacing: -.05em; }.home-tool-copy p { margin: 0; color: var(--tool-muted); font-size: .78rem; line-height: 1.55; }

.home-trust-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; margin-top: 128px; padding: 58px 0; border-top: 1px solid var(--tool-border); border-bottom: 1px solid var(--tool-border); }.home-trust-section h2 { margin: 0; font-size: clamp(1.7rem, 3.3vw, 2.8rem); line-height: 1.15; letter-spacing: -.08em; }.home-trust-section h2 span { color: var(--tool-brand); }.home-trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.home-trust-list > div { padding-left: 17px; border-left: 2px solid #bfd3fa; }.home-trust-list strong { color: var(--tool-brand); font: 800 .82rem/1 Outfit, sans-serif; }.home-trust-list h3 { margin: 16px 0 7px; font-size: .94rem; letter-spacing: -.04em; }.home-trust-list p { margin: 0; color: var(--tool-muted); font-size: .76rem; line-height: 1.55; }
.home-about-card { margin-top: 72px; padding: 44px; background: linear-gradient(135deg, #fff, #f1f6ff); }.home-about-card h2 { max-width: 620px; font-size: clamp(1.6rem, 3vw, 2.55rem); }.home-about-card p:not(.tool-kicker) { max-width: 690px; margin: 18px 0 0; color: var(--tool-muted); }.home-about-card .button { margin-top: 24px; }

.page-heading { margin-bottom: 34px; }.page-heading h1 { letter-spacing: -.08em; }.page-heading p:last-child { max-width: 760px; }.breadcrumbs a { color: var(--tool-brand-dark); }
.section-heading { margin: 72px 0 20px; }.section-heading h2, .content-card h2 { letter-spacing: -.07em; }.tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }.tool-card { min-height: 224px; padding: 20px; border-radius: 16px; box-shadow: 0 10px 22px rgba(44, 76, 116, .04); }.tool-card-featured { grid-column: span 1; background: linear-gradient(145deg, #edf4ff, #fff); border-color: #cfe0ff; }.tool-card-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #fff; background: var(--tool-brand); font-size: 1.15rem; }.tool-card h3 { margin-top: 16px; font-size: 1rem; }.tool-card p { font-size: .8rem; line-height: 1.55; }.tool-card-meta { color: var(--tool-brand-dark); font-size: .7rem; }
.tool-shell, .content-card, .guide-card { box-shadow: 0 10px 22px rgba(44, 76, 116, .04); }.drop-zone:hover, .drop-zone.is-dragging, .lab-drop.is-dragging { border-color: var(--tool-brand); background: #f2f7ff; }.upload-icon { color: var(--tool-brand-dark); background: #e2edff; }.button-primary { color: #fff; background: var(--tool-brand); box-shadow: 4px 4px 0 rgba(20, 87, 217, .14); }.button-primary:hover { background: var(--tool-brand-dark); }.button-danger { background: var(--tool-brand); }.button-dark { background: var(--tool-ink); }.tool-footer { background: #fff; }

@media (max-width: 980px) {
    .tool-nav a { padding-inline: 7px; font-size: .76rem; }.home-hero-inner { grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: 18px; }.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .tool-header-inner, .tool-container, .tool-footer-inner { width: min(100% - 28px, 1200px); }.tool-header-inner { min-height: 66px; }.tool-header-search { display: none; }.tool-nav { top: 66px; right: 14px; left: 14px; }.home-hero-inner { display: block; min-height: 0; padding-top: 54px; padding-bottom: 28px; }.home-hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }.home-hero-copy > p:not(.tool-kicker) { font-size: .9rem; }.home-search { margin-top: 22px; }.home-tags { margin-bottom: 6px; }.home-hero-visual { min-height: 300px; margin-top: 28px; transform: scale(.94); transform-origin: center top; }.hero-tool-window { right: 7%; width: 82%; }.hero-float-gif { right: 0; }.hero-float-check { right: 8%; }.category-section { padding-top: 38px; }.home-section-heading { align-items: start; }.home-section-heading h2 { font-size: 1.6rem; }.category-grid { display: flex; gap: 9px; padding-bottom: 7px; overflow-x: auto; scroll-snap-type: x mandatory; }.category-tile { min-width: 126px; scroll-snap-align: start; }.home-tools-section { padding-top: 76px; }.home-tool-grid, .home-trust-list { grid-template-columns: 1fr; }.home-trust-section { display: block; margin-top: 78px; padding: 42px 0; }.home-trust-list { gap: 22px; margin-top: 32px; }.home-about-card { margin-top: 48px; padding: 28px 22px; }.tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.tool-card { min-height: 210px; padding: 16px; }.tool-card h3 { font-size: .9rem; }.tool-card p { font-size: .74rem; }.tool-card-meta { display: block; }.tool-card-meta span { display: block; }.tool-card-meta span + span { margin-top: 4px; }.page-heading h1 { font-size: 2.4rem; }.section-heading { display: block; margin-top: 52px; }.section-heading p { margin-top: 6px; }
}

/* Shared header and filter states are kept consistent on every tool page. */
.tool-logo { flex: 0 0 auto; white-space: nowrap; }
.tool-logo > span:last-child { white-space: nowrap; }
.tool-nav { min-width: 0; flex-wrap: nowrap; }
.tool-nav a { white-space: nowrap; }
.home-hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(400px, .88fr); gap: 38px; }
.home-hero h1 { font-size: clamp(2.4rem, 4.25vw, 4.3rem); }
.home-hero h1 span { display: inline-block; white-space: nowrap; }
.hero-window-top b { white-space: nowrap; }
.toolbox-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 11px; color: var(--tool-muted); font-size: .78rem; }
.toolbox-filter-bar strong { color: var(--tool-ink); }
.toolbox-filter-bar a { color: var(--tool-brand-dark); font-weight: 800; }
.toolbox-filter-bar a[hidden] { display: none; }
[data-tool-empty] { margin: 24px 0 0; padding: 28px; border: 1px dashed #cbd9ee; border-radius: 16px; color: var(--tool-muted); background: #fff; text-align: center; }

@media (max-width: 980px) {
    .home-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr); gap: 20px; }
}

@media (max-width: 900px) {
    .tool-header-inner { position: relative; min-height: 68px; }
    .tool-menu-toggle { display: inline-block; }
    .tool-header-search { display: none; }
    .tool-nav { display: none; position: absolute; z-index: 20; top: 68px; right: 0; left: 0; flex-direction: column; align-items: stretch; padding: 8px; border: 1px solid var(--tool-border); border-radius: 14px; background: #fff; box-shadow: 0 16px 30px rgba(31, 45, 75, .12); }
    .tool-nav.is-open { display: flex; }
    .tool-nav a { width: 100%; padding: 11px 12px; }
}

@media (max-width: 680px) {
    .tool-header-inner { min-height: 66px; }
    .tool-nav { top: 66px; right: 0; left: 0; }
    .home-hero-inner { display: block; min-height: 0; padding-top: 54px; padding-bottom: 28px; }
    .home-hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
    .home-hero h1 span { white-space: normal; }
    .toolbox-filter-bar { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* Lite / Full information architecture. Shared tools keep their original canonical URLs. */
.tool-header-controls { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; margin-left: 8px; }
.tool-nav a { padding-inline: 7px; }
.tool-theme-toggle { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid var(--tool-border); border-radius: 9px; color: var(--tool-ink); background: rgba(255,255,255,.82); font-size: .95rem; cursor: pointer; }
.tool-theme-toggle:hover { color: var(--tool-brand); border-color: #a8c2f5; }
.tool-language-control select { min-height: 32px; padding: 0 23px 0 8px; border: 1px solid var(--tool-border); border-radius: 9px; color: var(--tool-ink); background: rgba(255,255,255,.82); font: 700 .72rem/1 'Noto Sans KR', sans-serif; cursor: pointer; }

html[data-theme="dark"] { color-scheme: dark; --tool-ink: #eef4ff; --tool-muted: #aebbd0; --tool-soft: #0c1324; --tool-surface: #141d32; --tool-border: #2a3a57; --tool-brand: #76a0ff; --tool-brand-dark: #9abaff; --tool-navy: #0a1122; }
html[data-theme="dark"] body { color: var(--tool-ink); background: var(--tool-soft); }
html[data-theme="dark"] .tool-header { border-color: #22314c; background: rgba(10,17,34,.92); }
html[data-theme="dark"] .tool-nav a, html[data-theme="dark"] .tool-header-search { color: #b7c4d8; }
html[data-theme="dark"] .tool-nav a:hover, html[data-theme="dark"] .tool-nav a[aria-current="page"] { color: #fff; background: #1b2a45; }
html[data-theme="dark"] .tool-logo-mark { color: #fff; background: #2667f5; box-shadow: 3px 3px 0 #30466b; }
html[data-theme="dark"] .tool-mode-switcher, html[data-theme="dark"] .tool-header-controls { border-color: #2a3a57; background: #111b30; }
html[data-theme="dark"] .tool-mode-switcher a { color: #aebbd0; }
html[data-theme="dark"] .tool-header-controls select, html[data-theme="dark"] .tool-theme-toggle { color: #eaf1ff; border-color: #2a3a57; background: #111b30; }
html[data-theme="dark"] .tool-theme-toggle:hover { color: #fff; border-color: #6f96e8; }
html[data-theme="dark"] .tool-nav { background: #111b30; }
html[data-theme="dark"] .content-card, html[data-theme="dark"] .tool-shell, html[data-theme="dark"] .guide-card, html[data-theme="dark"] .tool-card, html[data-theme="dark"] .home-tool-card, html[data-theme="dark"] .home-mode-card, html[data-theme="dark"] .category-tile { color: var(--tool-ink); border-color: var(--tool-border); background: var(--tool-surface); }
html[data-theme="dark"] .tool-card-featured { border-color: #31538d; background: linear-gradient(145deg, #1a2b4b, #141d32); }
html[data-theme="dark"] .home-hero { background: radial-gradient(circle at 82% 18%, rgba(69,111,208,.24), transparent 36%), linear-gradient(135deg, #101b31, #0c1324); }
html[data-theme="dark"] .home-search, html[data-theme="dark"] .home-tags a, html[data-theme="dark"] .home-search input { color: #eef4ff; border-color: #2a3a57; background: #111b30; }
html[data-theme="dark"] .home-search input::placeholder { color: #8090aa; }
html[data-theme="dark"] .home-tags { color: #aebbd0; }
html[data-theme="dark"] .home-mode-lite { background: linear-gradient(135deg, #16243e, #141d32); }
html[data-theme="dark"] .home-mode-full { color: #fff; background: linear-gradient(135deg, #17213d, #2458bb); }
html[data-theme="dark"] .home-about-card { background: linear-gradient(135deg, #16243e, #111b30); }
html[data-theme="dark"] .section-heading p, html[data-theme="dark"] .page-heading p, html[data-theme="dark"] .content-card p, html[data-theme="dark"] .content-card li, html[data-theme="dark"] .guide-card p, html[data-theme="dark"] .guide-card li, html[data-theme="dark"] .home-tool-copy p, html[data-theme="dark"] .home-trust-list p, html[data-theme="dark"] .home-about-card p:not(.tool-kicker), html[data-theme="dark"] .home-mode-card p { color: var(--tool-muted); }
html[data-theme="dark"] .home-mode-full p { color: #d3def3; }
html[data-theme="dark"] .drop-zone, html[data-theme="dark"] .lab-drop, html[data-theme="dark"] .control-field, html[data-theme="dark"] .check-field, html[data-theme="dark"] .preview-panel, html[data-theme="dark"] .lab-output, html[data-theme="dark"] .lab-stat, html[data-theme="dark"] .lab-check-item, html[data-theme="dark"] .lab-color-chip, html[data-theme="dark"] .lab-preview, html[data-theme="dark"] .lab-result-list li { color: #eaf1ff; border-color: #2a3a57; background: #111b30; }
html[data-theme="dark"] .drop-zone:hover, html[data-theme="dark"] .drop-zone.is-dragging, html[data-theme="dark"] .lab-drop.is-dragging { background: #1a2a45; }
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select, html[data-theme="dark"] .lab-field textarea { color: #eaf1ff; border-color: #2a3a57; background: #111b30; }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #8090aa; }
html[data-theme="dark"] .preview-panel h3, html[data-theme="dark"] .lab-table th { color: #eaf1ff; background: #18233a; }
html[data-theme="dark"] .canvas-wrap.checkerboard { background-color: #17233a; background-image: linear-gradient(45deg, #22304a 25%, transparent 25%), linear-gradient(-45deg, #22304a 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #22304a 75%), linear-gradient(-45deg, transparent 75%, #22304a 75%); }
html[data-theme="dark"] .tool-footer { border-top-color: #22314c; background: #0d1528; }
html[data-theme="dark"] .hero-float-card { border-color: #2a3a57; background: rgba(17,27,48,.95); }
html[data-theme="dark"] .hero-float-card span { color: #aebbd0; }
html[data-theme="dark"] [data-tool-empty] { border-color: #38547f; background: #111b30; }

@media (max-width: 900px) {
    .tool-header-controls { margin-left: auto; }
    .tool-language-control select { max-width: 86px; }
}
@media (max-width: 680px) {
    .tool-header-inner { gap: 8px; }
    .tool-mode-switcher { margin-right: 0; }
    .tool-mode-switcher a { padding-inline: 6px; }
    .tool-header-controls { gap: 4px; margin-left: 0; }
    .tool-theme-toggle { width: 30px; height: 30px; }
    .tool-language-control select { width: 74px; padding-inline: 6px; font-size: .68rem; }
}

/* English and future Latin-script translations need roomier, calmer typography. */
html[data-language="en"] body { font-family: "Noto Sans KR", "Segoe UI", Arial, sans-serif; }
html[data-language="en"] h1, html[data-language="en"] h2, html[data-language="en"] h3, html[data-language="en"] .button { letter-spacing: -0.035em; }
html[data-language="en"] .tool-header-inner { gap: 20px; }
html[data-language="en"] .tool-nav { gap: 0; }
html[data-language="en"] .tool-nav a { padding-inline: 6px; font-size: .72rem; letter-spacing: -.025em; }
html[data-language="en"] .tool-mode-switcher a { letter-spacing: 0; }
html[data-language="en"] .tool-kicker { letter-spacing: .12em; }
html[data-language="en"] .tool-hero h1, html[data-language="en"] .page-heading h1 { max-width: 900px; line-height: 1.12; letter-spacing: -.045em; }
html[data-language="en"] .page-heading h1 { font-size: clamp(1.9rem, 3.8vw, 3.25rem); }
html[data-language="en"] .page-heading p { line-height: 1.72; }
html[data-language="en"] .section-heading h2, html[data-language="en"] .content-card h2 { line-height: 1.26; letter-spacing: -.04em; }
html[data-language="en"] .section-heading > p { max-width: 360px; line-height: 1.62; }
html[data-language="en"] .tool-card { min-height: 226px; }
html[data-language="en"] .tool-card h3 { font-size: 1rem; line-height: 1.32; letter-spacing: -.035em; }
html[data-language="en"] .tool-card p { font-size: .84rem; line-height: 1.62; }
html[data-language="en"] .tool-card-meta { font-size: .7rem; line-height: 1.35; }
html[data-language="en"] .tool-shell-header h2, html[data-language="en"] .guide-card h2 { line-height: 1.3; letter-spacing: -.04em; }
html[data-language="en"] .guide-card h3 { line-height: 1.35; letter-spacing: -.03em; }
html[data-language="en"] .guide-card li, html[data-language="en"] .guide-card p, html[data-language="en"] .content-card li, html[data-language="en"] .content-card p { line-height: 1.72; }
html[data-language="en"] .home-hero h1 { line-height: 1.06; letter-spacing: -.06em; }
html[data-language="en"] .home-hero-copy > p:not(.tool-kicker) { line-height: 1.75; }
html[data-language="en"] .home-mode-card h3, html[data-language="en"] .home-section-heading h2 { letter-spacing: -.05em; }
html[data-language="en"] .home-mode-card p, html[data-language="en"] .home-tool-copy p { line-height: 1.68; }
html[data-language="en"] .tool-layout { align-items: start; }
html[data-language="en"] .lab-field label, html[data-language="en"] .control-field label { line-height: 1.4; }

html[data-language="ja"] body, html[data-language="zh"] body { font-family: "Noto Sans KR", "Yu Gothic", "Microsoft YaHei", Arial, sans-serif; }
html[data-language="ja"] h1, html[data-language="ja"] h2, html[data-language="ja"] h3, html[data-language="zh"] h1, html[data-language="zh"] h2, html[data-language="zh"] h3 { letter-spacing: -.02em; line-height: 1.3; }

@media (max-width: 680px) {
    html[data-language="en"] .tool-header-inner { gap: 8px; }
    html[data-language="en"] .tool-header-controls { margin-left: 0; }
}

.tool-mode-switcher { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 3px; border: 1px solid #dce5f2; border-radius: 999px; background: rgba(255,255,255,.82); }
.tool-mode-switcher a { padding: 4px 8px; border-radius: 999px; color: #778397; font: 800 .68rem/1 Outfit, "Noto Sans KR", sans-serif; letter-spacing: .02em; }
.tool-mode-switcher a:hover, .tool-mode-switcher a[aria-current="page"] { color: #fff; background: var(--tool-brand); }
.home-mode-section { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding-top: 70px; }
.home-mode-section .home-section-heading > p { max-width: 330px; margin: 0; color: var(--tool-muted); font-size: .82rem; line-height: 1.6; }
.home-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-mode-card { position: relative; min-height: 230px; padding: 28px; overflow: hidden; border: 1px solid var(--tool-border); border-radius: 18px; background: #fff; box-shadow: 0 14px 28px rgba(44,76,116,.05); transition: transform 160ms ease, box-shadow 160ms ease; }
.home-mode-card::after { position: absolute; right: -46px; bottom: -70px; width: 190px; height: 190px; border: 1px solid rgba(38,103,245,.16); border-radius: 50%; content: ""; }
.home-mode-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px rgba(44,76,116,.11); }
.home-mode-lite { background: linear-gradient(135deg, #fff, #f5f9ff); }
.home-mode-full { color: #fff; background: linear-gradient(135deg, #17213d, #2458bb); }
.home-mode-label { display: flex; align-items: center; gap: 9px; color: var(--tool-brand); font: 800 .78rem/1 Outfit, sans-serif; letter-spacing: .16em; }
.home-mode-label span { color: #96a4bb; font-size: .66rem; letter-spacing: .02em; }
.home-mode-full .home-mode-label { color: #bcd2ff; }.home-mode-full .home-mode-label span { color: #8fa9de; }
.home-mode-card h3 { margin: 32px 0 8px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.07em; }
.home-mode-card p { max-width: 440px; margin: 0; color: var(--tool-muted); font-size: .86rem; line-height: 1.7; }.home-mode-full p { color: #d3def3; }
.home-mode-link { position: absolute; right: 28px; bottom: 26px; z-index: 1; color: var(--tool-brand-dark); font-size: .78rem; font-weight: 900; }.home-mode-full .home-mode-link { color: #fff; }
.mode-main { padding-top: 28px; }.mode-breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--tool-muted); font-size: .78rem; }.mode-breadcrumbs a { color: var(--tool-brand-dark); }.mode-breadcrumbs strong { color: var(--tool-ink); }
.mode-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 30px; align-items: end; padding: clamp(34px, 5vw, 68px); border-radius: 26px; color: #fff; background: linear-gradient(125deg, #15213f, #235fcf); box-shadow: 0 22px 46px rgba(39,83,155,.16); }
.mode-full .mode-hero { background: linear-gradient(125deg, #17213d, #683fd0); }.mode-hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.06; letter-spacing: -.09em; }.mode-hero .tool-kicker { color: #bfd4ff; }.mode-hero-copy > p:not(.tool-kicker) { max-width: 640px; margin: 22px 0 0; color: #dce7fb; font-size: 1rem; line-height: 1.75; }
.mode-hero .button-light { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); }.mode-hero .button-light:hover { background: rgba(255,255,255,.18); }.mode-hero-note { padding: 22px; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; background: rgba(255,255,255,.09); }.mode-hero-note span { color: #bcd2ff; font: 800 .7rem/1 Outfit, sans-serif; letter-spacing: .16em; }.mode-hero-note strong { display: block; margin-top: 14px; font-size: 1.12rem; letter-spacing: -.05em; }.mode-hero-note p { margin: 12px 0 0; color: #cbd8ee; font-size: .78rem; line-height: 1.65; }
.mode-benefits { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; margin-top: 88px; padding: 0 4px; }.mode-benefits h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -.08em; }.mode-benefits .tool-kicker, .mode-policy-card .tool-kicker { color: var(--tool-brand-dark); }.mode-benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.mode-benefit-list > div { padding-left: 16px; border-left: 2px solid #bfd3fa; }.mode-benefit-list strong { color: var(--tool-brand); font: 800 .82rem/1 Outfit, sans-serif; }.mode-benefit-list h3 { margin: 16px 0 7px; font-size: .95rem; letter-spacing: -.05em; }.mode-benefit-list p { margin: 0; color: var(--tool-muted); font-size: .78rem; line-height: 1.62; }
.mode-tools-section { margin-top: 76px; }.mode-tools-section .section-heading { margin-top: 0; }.mode-tool-grid .tool-card { min-height: 224px; }.mode-full .mode-tool-card .tool-card-icon { background: #6d52d8; }.mode-policy-card { margin-top: 72px; padding: 34px; }.mode-policy-card h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); }.mode-policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }.mode-policy-grid > div { padding-top: 17px; border-top: 2px solid #dce6f5; }.mode-policy-grid strong { font-size: .9rem; }.mode-policy-grid p { margin: 8px 0 0; color: var(--tool-muted); font-size: .78rem; line-height: 1.62; }
@media (max-width: 980px) { .tool-mode-switcher { margin-left: auto; }.home-mode-section { width: min(100% - 40px, 1200px); }.mode-hero { grid-template-columns: 1fr; }.mode-benefits { grid-template-columns: 1fr; gap: 28px; }.mode-benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .tool-mode-switcher { margin-left: auto; margin-right: 4px; }.home-mode-section { width: min(100% - 28px, 1200px); padding-top: 52px; }.home-mode-grid { grid-template-columns: 1fr; }.home-mode-card { min-height: 210px; padding: 23px; }.home-mode-card h3 { margin-top: 25px; }.home-mode-link { right: 23px; bottom: 22px; }.mode-main { padding-top: 18px; }.mode-breadcrumbs { margin-bottom: 12px; }.mode-hero { padding: 30px 23px; border-radius: 21px; }.mode-hero h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }.mode-hero-copy > p:not(.tool-kicker) { font-size: .9rem; }.mode-hero-note { padding: 18px; }.mode-benefits { margin-top: 60px; }.mode-benefit-list, .mode-policy-grid { grid-template-columns: 1fr; gap: 20px; }.mode-tools-section { margin-top: 58px; }.mode-policy-card { margin-top: 52px; padding: 24px 20px; } }
