:root {
    --primary-accent: #0D9488;
    --primary-accent-hover: #0F766E;
    --secondary-accent: #38BDF8;
    --background-main: #F8FAFC;
    --background-card: #FFFFFF;
    --background-alt: #F1F5F9;
    --background-footer: #0F172A;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-inverse: #FFFFFF;
    --text-inverse-muted: #94A3B8;
    --border-color: #E2E8F0;
    --card-radius: 1rem;
    --button-radius: 0.75rem;
    --modal-radius: 1.25rem;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --modal-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Noto Sans KR', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--background-main);
    color: var(--text-main);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-default);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-default);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    word-break: keep-all;
    overflow-wrap: break-word;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.65rem, 5vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.4rem, 4.5vw, 1.85rem);
    }

    h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    h4 {
        font-size: clamp(1.05rem, 3.5vw, 1.25rem);
    }

    h5 {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }

    h6 {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }

    input,
    textarea,
    select,
    a,
    p {
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* ===== header_section ===== */
#header {
    overflow: hidden;
    background-color: #FFFFFF;
    border-bottom-color: var(--border-color, #E2E8F0);
    z-index: 100
}

.site-brand .brand-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--primary-accent, #0D9488)
}

.site-brand .brand-title {
    font-size: 1.15rem;
    color: var(--text-main, #0F172A);
    letter-spacing: -0.02em
}

@media (max-width:767.98px) {
    .site-brand .brand-title {
        font-size: 0.8rem;
        hyphens: auto;
        line-height: 1.2
    }
}

.nav-link {
    color: var(--text-main, #0F172A);
    white-space: nowrap;
    transition: color 0.2s ease
}

.nav-link:hover {
    color: var(--primary-accent, #0D9488)
}

.btn-cta {
    background-color: var(--primary-accent, #0D9488);
    border-radius: 6px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    color: #FFFFFF
}

.btn-cta:hover {
    background-color: var(--primary-accent-hover, #0F766E);
    color: #FFFFFF
}

.mobile-toggle-btn {
    color: var(--text-main, #0F172A);
    padding: 4px;
    cursor: pointer
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 1050;
    display: none;
    opacity: 1
}

.mobile-menu-overlay.is-active {
    display: block
}

.mobile-menu-inner {
    background-color: #FFFFFF
}

.close-btn {
    color: var(--text-main, #0F172A);
    padding: 4px;
    cursor: pointer
}

.mobile-nav-link {
    font-size: 1.05rem;
    color: var(--text-main, #0F172A);
    border-bottom: 1px solid var(--border-color, #E2E8F0);
    min-height: 44px
}

/* ===== hero_section ===== */
#hero-section {
    overflow: hidden;
}

#hero-section .js-scroll-btn:hover {
    background-color: var(--primary-accent-hover) !important;
    color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
    #hero-section h1 {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #hero-section p {
        font-size: 0.875rem !important;
    }
}

/* ===== featured_article_section ===== */
.featured-article-block {
    background-color: var(--background-main);
    color: var(--text-main);
    overflow: hidden;
}

.featured-main-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
}

.featured-hero-wrap {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}

.featured-banner-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.featured-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.featured-badge-pill {
    background-color: var(--primary-accent);
    letter-spacing: -0.2px;
    font-size: 0.875rem;
}

.featured-article-title {
    color: var(--text-main);
    font-size: 1.85rem;
    line-height: 1.35;
    word-break: keep-all;
    hyphens: auto;
}

@media (max-width:767.98px) {
    .featured-article-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .featured-banner-img {
        height: 220px;
    }

    .step-title {
        font-size: 0.875rem;
    }

    .checklist-heading,
    .tool-card-title,
    .summary-box-title {
        font-size: 0.875rem;
    }

    .featured-summary-btn {
        width: 100%;
        justify-content: center;
    }
}

.font-sm {
    font-size: 0.875rem;
}

.heroicon-svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.meta-text {
    color: var(--text-muted);
}

.lead-text {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.75;
}

.section-desc {
    color: var(--text-main);
    line-height: 1.7;
}

.step-title {
    color: var(--text-main);
    font-size: 1.25rem;
}

.step-num-badge {
    background-color: rgba(13, 148, 136, 0.12);
    color: var(--primary-accent);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.checklist-box {
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
}

.checklist-heading {
    color: var(--text-main);
    font-size: 1rem;
}

.checklist-items li {
    color: var(--text-main);
    line-height: 1.55;
    font-size: 0.95rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-accent);
}

.tip-callout-box {
    background-color: rgba(56, 189, 248, 0.08);
    border-left-color: var(--secondary-accent) !important;
}

.callout-text {
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-card {
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
}

.tool-card-title {
    color: var(--primary-accent);
    font-size: 1.05rem;
}

.tool-card-desc {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.55;
}

.featured-summary-btn {
    background-color: var(--primary-accent);
    color: #ffffff;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.featured-summary-btn:hover {
    background-color: var(--primary-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.summary-collapse-card {
    display: none;
    background-color: var(--background-alt);
    border: 1px solid var(--primary-accent);
    animation: fadeInCard 0.3s ease-in-out;
}

.summary-collapse-card.is-active {
    display: block;
}

.summary-box-title {
    color: var(--primary-accent);
    font-size: 1.1rem;
}

.summary-box-text {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.95rem;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== latest_posts_section ===== */
#latest-posts .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#latest-posts .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

#latest-posts .btn:hover {
    background-color: var(--primary-accent-hover) !important;
}

@media (max-width: 767.98px) {
    #latest-posts h2 {
        font-size: 1.125rem !important;
        line-height: 1.3;
        hyphens: auto;
    }

    #latest-posts h3 {
        font-size: 1rem !important;
        line-height: 1.3;
        hyphens: auto;
    }

    #latest-posts h4 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }
}

/* ===== popular_posts_section ===== */
#popular-posts {
    overflow: hidden;
    background-color: var(--background-main);
    color: var(--text-main);
    hyphens: auto
}

.popular-posts-wrapper {
    width: 100%
}

.popular-badge {
    background-color: rgba(13, 148, 136, 0.12);
    color: var(--primary-accent);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    display: inline-block
}

.popular-heading {
    color: var(--text-main);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3
}

.popular-subtext {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 720px
}

.popular-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08)
}

.popular-card-image-wrap {
    height: 240px;
    overflow: hidden
}

.popular-card-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.popular-card:hover .popular-card-img {
    transform: scale(1.03)
}

.popular-tag {
    background-color: rgba(15, 23, 42, 0.75);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600
}

.popular-meta {
    color: var(--text-muted);
    font-size: 0.875rem
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-accent)
}

.popular-card-title {
    color: var(--text-main);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4
}

.popular-card-summary {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.6
}

.btn-popular-modal {
    background-color: var(--primary-accent);
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    transition: background-color 0.2s ease
}

.btn-popular-modal:hover {
    background-color: var(--primary-accent-hover);
    color: #FFFFFF
}

.popular-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem
}

.popular-modal-container {
    background-color: var(--background-card);
    color: var(--text-main);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color)
}

.popular-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0
}

.popular-modal-close:hover {
    color: var(--text-main)
}

.popular-modal-title {
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35
}

.popular-modal-subtitle {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600
}

.popular-modal-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6
}

.popular-modal-list {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7
}

.popular-modal-list strong {
    color: var(--text-main)
}

.popular-modal-tip {
    background-color: var(--background-alt);
    border-left: 4px solid var(--primary-accent);
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5
}

.btn-secondary-modal {
    background-color: var(--background-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease
}

.btn-secondary-modal:hover {
    background-color: var(--border-color);
    color: var(--text-main)
}

@media(max-width:767.98px) {
    .popular-heading {
        font-size: 1rem;
        line-height: 1.2
    }

    .popular-card-title {
        font-size: 0.875rem;
        line-height: 1.25
    }

    .popular-modal-title {
        font-size: 1rem;
        line-height: 1.2
    }

    .popular-modal-container {
        padding: 1.25rem
    }

    .popular-card-image-wrap {
        height: 190px
    }
}

/* ===== about_author_section ===== */
.about-author-section {
    hyphens: auto;
}

.about-author-section .author-avatar-wrapper {
    width: 200px;
    height: 200px;
}

@media (max-width: 767.98px) {
    .about-author-section h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    .about-author-section .author-avatar-wrapper {
        width: 150px;
        height: 150px;
    }

    .about-author-section .author-avatar-wrapper img {
        width: 150px !important;
        height: 150px !important;
    }
}

/* ===== team_blog_section ===== */
.team-blog-section {
    background-color: var(--background-main);
    overflow: hidden;
}

.team-blog-section .sub-badge {
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
}

.team-blog-section .badge-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-accent);
}

.team-blog-section .hero-icon {
    color: var(--primary-accent);
}

.team-blog-section .section-title {
    color: var(--text-main);
    font-size: 1.875rem;
    letter-spacing: -0.02em;
}

.team-blog-section .section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.team-blog-section .team-card {
    background-color: var(--background-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-blog-section .team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.team-blog-section .avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 3px;
    background-color: var(--border-color);
}

.team-blog-section .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-blog-section .role-tag {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--primary-accent);
    font-size: 0.8125rem;
    font-weight: 600;
}

.team-blog-section .author-name {
    color: var(--text-main);
    font-size: 1.25rem;
}

.team-blog-section .author-subdesc {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.team-blog-section .bio-text {
    color: var(--text-main);
    font-size: 0.9375rem;
    line-height: 1.6;
    hyphens: auto;
}

.team-blog-section .recent-posts-box {
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
}

.team-blog-section .recent-heading {
    color: var(--text-main);
    font-size: 0.875rem;
}

.team-blog-section .recent-icon {
    color: var(--primary-accent);
}

.team-blog-section .post-link {
    color: var(--text-main);
    font-size: 0.875rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.team-blog-section .post-link:hover {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
    background-color: #FFFFFF;
}

.team-blog-section .post-link .arrow-icon {
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.team-blog-section .post-link:hover .arrow-icon {
    color: var(--primary-accent);
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .team-blog-section .section-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .team-blog-section .author-name {
        font-size: 0.875rem;
    }

    .team-blog-section .section-subtitle {
        font-size: 0.875rem;
    }

    .team-blog-section .bio-text {
        font-size: 0.8125rem;
    }

    .team-blog-section .post-link {
        font-size: 0.8125rem;
    }
}

/* ===== testimonials_section ===== */
#testimonials {
    hyphens: auto;
}

#testimonials .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#testimonials .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 767.98px) {
    #testimonials h2 {
        font-size: 1rem !important;
    }

    #testimonials h3 {
        font-size: 0.875rem !important;
    }
}

/* ===== contact_form_section ===== */
#contact-section .custom-input:focus {
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.15) !important;
    outline: none !important;
}

#contact-section .custom-input::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

#contact-section .custom-submit-btn {
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

#contact-section .custom-submit-btn:hover {
    background-color: var(--primary-accent-hover) !important;
}

#contact-section .custom-submit-btn:active {
    transform: scale(0.99);
}

#contact-section .form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

@media (max-width: 767.98px) {
    #contact-section h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    #contact-section p {
        font-size: 0.875rem !important;
    }
}

/* ===== footer_section ===== */
.footer-section {
    background-color: var(--background-footer);
    color: #ffffff;
    width: 100%;
}

.footer-section a.footer-nav-link,
.footer-section a.footer-legal-link {
    color: #f8fafc;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-section a.footer-nav-link:hover,
.footer-section a.footer-legal-link:hover {
    color: var(--secondary-accent) !important;
    opacity: 1 !important;
}

.footer-logo {
    max-width: 52px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .footer-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    .footer-section p {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }
}