:root {
    --bg: #f4f6f8;
    --ink: #16181d;
    --muted: #5d6572;
    --line: #e3e6eb;
    --accent: #59bb12;
    --accent-ink: #14300a;
    --paper: #ffffff;
    --soft: #f3f8ea;
    --header: 68px;
    --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(89, 187, 18, 0.14), transparent 55%),
        var(--bg);
    color: var(--ink);
    font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    letter-spacing: -0.015em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.16;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 0.28em; }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

button { font: inherit; color: inherit; }

.skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 40;
    background: var(--paper);
    padding: 8px 12px;
    border-radius: 8px;
}

.skip:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header);
    padding: 0 28px;
    background: rgba(244, 246, 248, 0.86);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
}

.brand { display: inline-flex; text-decoration: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo svg { width: 32px; height: 32px; }

.logo-type {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.site-nav { display: flex; gap: 8px; }

.site-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 650;
}

.site-nav a.is-active { background: var(--ink); color: #fff; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    content: "";
}

.nav-toggle-lines { position: relative; }

.nav-toggle-lines::before,
.nav-toggle-lines::after { position: absolute; left: 0; }

.nav-toggle-lines::before { top: -5px; }

.nav-toggle-lines::after { top: 5px; }

.eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
    gap: 48px;
    align-items: center;
    width: min(var(--max), calc(100% - 56px));
    margin: 0 auto;
    padding: 64px 0 24px;
}

.lede, .dek { max-width: 36rem; color: var(--muted); font-size: 1.08rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
}

.btn-accent { background: var(--accent); color: var(--accent-ink); }

.btn-ghost { border-color: #cfd4dc; background: var(--paper); color: var(--ink); }

.ttalk {
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #525252;
    font-size: 12px;
    line-height: 1.45;
    box-shadow: 0 18px 40px rgba(22, 24, 29, 0.08);
}

.ttalk p { margin: 0; }

.ttalk-best {
    position: relative;
    overflow: hidden;
    border: 1px solid #59bb12;
    background: #fff;
}

.ttalk-ribbon {
    position: absolute;
    top: 10px;
    left: -22px;
    z-index: 1;
    width: 84px;
    padding: 2px 0;
    background: #59bb12;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    transform: rotate(-45deg);
}

.ttalk-row, .ttalk-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 16px 14px 12px 18px;
}

.ttalk-photo {
    width: 36px;
    height: 36px;
    border: 1px solid #e8e8e8;
    background:
        radial-gradient(circle at 50% 38%, #d7d7d7 0 7px, transparent 8px),
        radial-gradient(circle at 50% 78%, #d7d7d7 0 12px, #f3f3f3 13px);
}

.ttalk-name {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 700;
    color: #333;
}

.ttalk-name span, .ttalk-actions, .ttalk-rate, .ttalk-login, .ttalk-tabs, .ttalk-count {
    color: #888;
    font-weight: 400;
}

.sns {
    display: inline-grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background: #3b5998;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.ttalk-body { margin-bottom: 8px; color: #333; }

.ttalk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.ttalk-actions span, .guest, .ttalk-tabs span, .ttalk-tabs strong {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 11px;
}

.ttalk-actions b { margin-left: 4px; color: #333; font-weight: 700; }

.ttalk-stars { letter-spacing: 1px; color: #e0a106 !important; }

.ttalk-stars b { color: #888; letter-spacing: 0; font-weight: 400; }

.ttalk-notice {
    padding: 7px 12px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
    color: #777;
    text-align: right;
}

.ttalk-login, .ttalk-rate, .ttalk-write, .ttalk-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-top: 1px solid #e5e5e5;
    background: #f7f7f7;
}

.ttalk-login { font-weight: 700; color: #666; }

.sns-k { background: #3c1e1e; }
.sns-n { background: #03c75a; }
.sns-f { background: #1877f2; }
.sns-g { background: #ea4335; }

.guest { margin-left: auto; }

.ttalk-write { align-items: stretch; background: #fff; }

.ttalk-box {
    display: grid;
    grid-template-columns: 1fr 42px;
    grid-template-rows: 1fr auto;
    gap: 4px 8px;
    flex: 1;
    min-height: 72px;
    padding: 8px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    color: #9a9a9a;
}

.ttalk-box p { grid-column: 1; grid-row: 1; }

.ttalk-count { grid-column: 1; grid-row: 2; justify-self: end; font-size: 18px; font-style: italic; }

.ttalk-box button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid #d0d0d0;
    background: #f3f3f3;
    color: #666;
    font-weight: 700;
}

.ttalk-tabs { justify-content: flex-end; background: #fff; }

.ttalk-tabs strong { border-color: #59bb12; background: #59bb12; color: #14300a; font-weight: 800; }

.ttalk-tabs .on { border-color: #bbb; font-weight: 700; color: #333; }

.ttalk-item { border-top: 1px solid #eee; background: #fff; }

.ttalk-item .ttalk-body + .ttalk-body { margin-top: 8px; }

.band, .page-head, .feature-groups, .solution-list, .legal {
    width: min(var(--max), calc(100% - 56px));
    margin-left: auto;
    margin-right: auto;
}

.band { padding: 72px 0 8px; }

.band-intro { max-width: 640px; margin-bottom: 28px; }

.band-intro .dek,
.page-head .dek,
.area-list p,
.feature-grid p,
.feature-groups p,
.solution-list p,
.legal p { color: var(--muted); }

.area-list, .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.area-list article, .feature-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.area-list h3, .feature-grid h3 { margin-bottom: 8px; font-size: 1.25rem; }

.text-link, .band-more a { color: var(--accent); font-weight: 800; text-decoration: none; }

.band-more { margin: 18px 0 0; }

.feature-preview { padding-bottom: 12px; }

.visit {
    width: min(var(--max), calc(100% - 56px));
    margin: 64px auto 72px;
    padding: 36px;
    border-radius: 28px;
    background: var(--ink);
    color: #f7f8fa;
}

.visit .eyebrow { color: #b6e38a; }

.visit h2 { max-width: 14em; }

.visit p { max-width: 38rem; color: rgba(247, 248, 250, 0.74); }

.visit .btn-ghost { border-color: rgba(255, 255, 255, 0.28); background: transparent; color: #fff; }

.page-head { padding: 64px 0 8px; }

.subnav {
    display: flex;
    gap: 8px;
    width: min(var(--max), calc(100% - 56px));
    margin: 24px auto 0;
    overflow-x: auto;
}

.subnav a {
    flex: none;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    text-decoration: none;
    font-weight: 700;
}

.feature-groups, .solution-list { padding-bottom: 72px; }

.feature-groups section,
.solution-list section,
.area-list article { scroll-margin-top: calc(var(--header) + 12px); }

.feature-groups section { padding-top: 48px; }

.group-intro { max-width: 640px; margin-bottom: 8px; }

.feature-groups h2 { margin-bottom: 8px; }

.feature-groups ol { margin: 0; padding: 0; list-style: none; }

.feature-groups li {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 20px;
    margin-top: 12px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.feature-groups h3 { margin: 0; font-size: 1.05rem; }

.feature-groups li p { margin: 0; }

.solution-list section {
    margin-top: 14px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
}

.solution-list h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }

.solution-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.solution-list li {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: #2f6a10;
    font-size: 14px;
    font-weight: 750;
}

.visit-page { margin-top: 18px; }

.legal { padding-bottom: 88px; }

.legal a { color: var(--accent); font-weight: 800; }

.site-footer {
    padding: 36px 28px 28px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.4fr auto;
    gap: 24px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-name { margin: 14px 0 0; font-weight: 750; }

.site-footer address, .site-footer nav { display: grid; gap: 6px; font-style: normal; }

.site-footer a { text-decoration: none; }

.copyright {
    width: min(var(--max), 100%);
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 14px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }

    .site-header { padding: 0 16px; }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 16px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open { display: flex; }

    .site-nav a { padding: 12px 8px; }

    .hero, .area-list, .feature-grid, .feature-groups li, .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero { padding-top: 36px; }

    .band, .page-head, .feature-groups, .solution-list, .legal, .subnav, .visit, .hero {
        width: min(var(--max), calc(100% - 32px));
    }

    .visit { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
