:root {
    --primary: #0f172a;
    --primary-accent: #0ea5e9;
    --secondary-accent: #10b981;
    --bg-light: #ffffff;
    --bg-surface: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-dark: #0b0f19;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-card: 14px;
    --radius-btn: 8px;
    --transition-base: 0.2s ease;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: keep-all;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    transition: opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-base);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.35rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw + 0.3rem, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 1.2vw + 0.2rem, 1.35rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.95rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

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

code,
kbd,
samp,
pre {
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.05rem;
    }

    h5 {
        font-size: 0.95rem;
    }

    input,
    button,
    .text-break-mobile {
        font-size: 0.9rem;
    }
}

/* ===== header_macro ===== */
#site_header {
    width: 100%;
    background-color: var(--bg-light, #ffffff);
    border-bottom: 1px solid #e2e8f0;
}

#site_header .brand-logo-img {
    max-width: 48px;
    height: auto;
    object-fit: contain;
}

#site_header .brand-name-title {
    color: var(--primary, #0f172a);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

#site_header .brand-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted, #64748b);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#site_header .nav-link {
    color: var(--text-main, #0f172a);
    font-size: 0.95rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

#site_header .cta-action-btn {
    background-color: var(--primary-accent, #0ea5e9);
    border-color: var(--primary-accent, #0ea5e9);
    color: var(--text-inverse, #ffffff);
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

#site_header .cta-action-btn:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    color: var(--text-inverse, #ffffff);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 1050;
}

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

.mobile-menu-container {
    width: 290px;
    max-width: 85%;
    margin-left: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-menu-container .nav-link {
    color: var(--text-main, #0f172a);
}

.mobile-menu-container .nav-link:hover {
    background-color: var(--bg-muted, #f1f5f9);
    color: var(--primary-accent, #0ea5e9);
}

.mobile-menu-container .btn-primary {
    background-color: var(--primary-accent, #0ea5e9);
    border-color: var(--primary-accent, #0ea5e9);
}

/* ===== hero_macro ===== */
#hero_section {
    overflow: hidden;
    min-height: 90vh;
    background-color: var(--bg-dark);
    position: relative;
    width: 100%
}

.hero-wrapper {
    width: 100%
}

.hero-bg-layer {
    z-index: 1
}

.hero-bg-img {
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85)
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.72) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(11, 15, 25, 0.95) 100%);
    z-index: 2;
    position: absolute
}

#hero_section .container {
    z-index: 3
}

.hero-badge-primary {
    background-color: rgba(14, 165, 233, 0.25);
    border: 1px solid var(--primary-accent);
    color: var(--text-inverse);
    font-size: 0.875rem;
    backdrop-filter: blur(4px)
}

.hero-badge-secondary {
    background-color: rgba(16, 185, 129, 0.25);
    border: 1px solid var(--secondary-accent);
    color: var(--text-inverse);
    font-size: 0.875rem;
    backdrop-filter: blur(4px)
}

.hero-badge-date {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-inverse);
    font-size: 0.875rem;
    backdrop-filter: blur(4px)
}

.hero-heading {
    font-size: clamp(1.125rem, 4vw, 2.75rem);
    line-height: 1.25;
    color: var(--text-inverse);
    word-break: keep-all;
    hyphens: auto
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    max-width: 820px;
    color: #e2e8f0;
    word-break: keep-all;
    hyphens: auto
}

.hero-topic-badge {
    background-color: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-inverse);
    font-size: 0.9rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px)
}

.hero-topic-badge:hover {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-inverse);
    transform: translateY(-2px)
}

@media(max-width:767.98px) {
    #hero_section {
        min-height: auto;
        padding-top: 4.5rem;
        padding-bottom: 3.5rem
    }

    .hero-heading {
        font-size: 1.125rem;
        line-height: 1.2
    }

    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.4
    }

    .hero-badge-primary,
    .hero-badge-secondary,
    .hero-badge-date,
    .hero-topic-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem
    }
}

/* ===== featured_article_macro ===== */
#editorial_article {
    overflow: hidden;
}

#editorial_article .card {
    transition: transform .2s ease, box-shadow .2s ease;
}

#editorial_article .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}

#editorial_article .modal-content {
    border-radius: 1rem;
}

#editorial_article .modal-body p {
    margin-bottom: 1rem;
}

/* ===== daily_chronicle_macro ===== */
#activity_timeline {
    overflow: hidden;
}

#activity_timeline h2,
#activity_timeline h3 {
    hyphens: auto;
}

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

    #activity_timeline h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #activity_timeline p {
        font-size: 0.825rem !important;
    }
}

/* ===== sensor_infographics_macro ===== */
.sensor-info-section {
    background-color: var(--bg-surface);
    color: var(--text-main);
    hyphens: auto
}

.text-main-color {
    color: var(--text-main) !important
}

.text-muted-color {
    color: var(--text-muted) !important
}

.text-primary-accent {
    color: var(--primary-accent) !important
}

.text-inverse {
    color: var(--text-inverse) !important
}

.sensor-badge {
    background-color: var(--bg-muted);
    border: 1px solid rgba(14, 165, 233, 0.2)
}

.metric-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    transition: all .25s ease
}

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

.metric-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-accent);
    font-size: 1.25rem;
    flex-shrink: 0
}

.js-chevron {
    transition: transform .3s ease
}

.metric-card.is-active .js-chevron {
    transform: rotate(180deg)
}

.metric-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease;
    opacity: 0
}

.metric-card.is-active .metric-details {
    max-height: 160px;
    opacity: 1
}

.central-device-container {
    max-width: 320px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.02) 70%)
}

.device-overlay-tag {
    max-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.disclaimer-box {
    background-color: var(--bg-light);
    border-color: rgba(14, 165, 233, 0.25) !important
}

.disclaimer-text {
    font-size: 0.95rem;
    line-height: 1.5
}

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

    .sensor-info-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2
    }

    .disclaimer-text {
        font-size: 0.85rem
    }
}

/* ===== digital_evolution_macro ===== */
#tracking_evolution .evolution-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

#tracking_evolution .evolution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12) !important;
}

#tracking_evolution .evolution-badge {
    transition: background-color 0.25s ease, color 0.25s ease;
}

#tracking_evolution .evolution-card:hover .evolution-badge {
    background-color: var(--primary-accent) !important;
    color: var(--text-inverse) !important;
}

@media (max-width: 767.98px) {
    #tracking_evolution h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #tracking_evolution h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #tracking_evolution .evolution-card {
        padding: 1.25rem !important;
    }
}

/* ===== behavioral_triggers_macro ===== */
#notification_triggers {
    position: relative;
    width: 100%;
}

#notification_triggers .transition-all {
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

#notification_triggers .js-notification-pill:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

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

    #notification_triggers h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }
}

/* ===== tech_insights_macro ===== */
#technology_breakdown .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

#technology_breakdown .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12) !important;
}

#technology_breakdown .modal-content {
    border-radius: 1rem;
}

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

    #technology_breakdown h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #technology_breakdown .modal-title {
        font-size: 1rem !important;
    }
}

/* ===== comparison_analysis_macro ===== */
.data-vs-feelings-section {
    width: 100%;
    position: relative;
    font-family: inherit;
}

.data-vs-feelings-section .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-vs-feelings-section .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 767.98px) {
    .data-vs-feelings-section h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    .data-vs-feelings-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    .data-vs-feelings-section h4 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }
}

/* ===== analytics_breakdown_macro ===== */
#why_stats_matter {
    width: 100%;
    position: relative;
}

#why_stats_matter .js-analytics-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    width: 100%;
}

#why_stats_matter .js-analytics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}

@media (max-width: 767.98px) {
    #why_stats_matter .analytics-heading {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #why_stats_matter .analytics-subheading {
        font-size: 0.8125rem !important;
        line-height: 1.4 !important;
        hyphens: auto;
    }

    #why_stats_matter h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #why_stats_matter p {
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
    }
}

/* ===== tech_limitations_macro ===== */
#accuracy_limitations .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

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

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

    #accuracy_limitations h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }
}

/* ===== future_wearables_macro ===== */
.wearables-future-section {
    overflow: hidden;
    background-color: var(--bg-surface);
    color: var(--text-main);
    hyphens: auto
}

.wearables-future-section .text-main {
    color: var(--text-main) !important
}

.wearables-future-section .text-muted {
    color: var(--text-muted) !important
}

.wearables-future-section .tech-badge {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-accent);
    font-size: 0.875rem;
    font-weight: 600
}

.wearables-future-section .tech-badge i {
    color: var(--primary-accent)
}

.wearables-future-section .feature-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform .2s ease, box-shadow .2s ease
}

.wearables-future-section .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06)
}

.wearables-future-section .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: rgba(14, 165, 233, 0.12);
    color: var(--primary-accent)
}

.wearables-future-section .tech-read-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform .2s ease
}

.wearables-future-section .tech-read-card:hover {
    transform: translateY(-3px)
}

.wearables-future-section .fixed-img {
    height: 200px;
    width: 100%;
    object-fit: cover
}

.wearables-future-section .card-footer-meta {
    border-color: rgba(15, 23, 42, 0.08) !important
}

.wearables-future-section .newsletter-container {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%)
}

.wearables-future-section .custom-input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
    border-radius: 8px 0 0 8px
}

.wearables-future-section .custom-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-accent);
    color: var(--text-inverse);
    box-shadow: none
}

.wearables-future-section .custom-input::placeholder {
    color: rgba(255, 255, 255, 0.6)
}

.wearables-future-section .btn-subscribe {
    background-color: var(--primary-accent);
    color: var(--text-inverse);
    border: none;
    border-radius: 0 8px 8px 0;
    transition: background-color .2s ease;
    white-space: nowrap
}

.wearables-future-section .btn-subscribe:hover {
    background-color: #0284c7;
    color: var(--text-inverse)
}

@media(max-width:767.98px) {
    .wearables-future-section h1 {
        font-size: 1.125rem;
        line-height: 1.2
    }

    .wearables-future-section h2 {
        font-size: 1rem;
        line-height: 1.2
    }

    .wearables-future-section h3 {
        font-size: 0.875rem;
        line-height: 1.2
    }

    .wearables-future-section .custom-input {
        border-radius: 8px;
        margin-bottom: 8px
    }

    .wearables-future-section .btn-subscribe {
        border-radius: 8px;
        width: 100%
    }

    .wearables-future-section .input-group {
        display: flex;
        flex-direction: column
    }
}

/* ===== footer_macro ===== */
#site_footer {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
    overflow: hidden;
    border-top: 1px solid #1e293b;
    hyphens: auto
}

#site_footer .footer-brand-logo {
    max-width: 50px;
    height: auto;
    object-fit: contain
}

#site_footer .footer-brand-title {
    font-size: 1.15rem;
    letter-spacing: -0.02em
}

#site_footer .footer-heading {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em
}

#site_footer .footer-text {
    font-size: 0.875rem;
    line-height: 1.6
}

#site_footer .text-slate-300 {
    color: #cbd5e1
}

#site_footer .text-slate-400 {
    color: #94a3b8
}

#site_footer .text-primary-accent {
    color: var(--primary-accent)
}

#site_footer .footer-nav-link,
#site_footer .footer-legal-link {
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease-in-out
}

#site_footer .footer-nav-link:hover,
#site_footer .footer-legal-link:hover {
    color: var(--primary-accent)
}

#site_footer .footer-micro-notice {
    font-size: 0.75rem;
    line-height: 1.5
}

#site_footer .footer-divider {
    border-color: #1e293b;
    opacity: 1
}

#site_footer .footer-copyright,
#site_footer .footer-editorial-note {
    font-size: 0.75rem
}

@media (max-width:767.98px) {
    #site_footer .footer-heading {
        font-size: 0.95rem;
        line-height: 1.2
    }

    #site_footer .footer-brand-title {
        font-size: 0.75rem
    }

    #site_footer .footer-text,
    #site_footer .footer-nav-link,
    #site_footer .footer-legal-link {
        font-size: 0.8125rem
    }
}