:root {
    --lio-ink: #20211f;
    --lio-muted: #68717d;
    --lio-line: #dfe3e8;
    --lio-line-strong: #aeb5be;
    --lio-blue: #315fc9;
    --lio-blue-dark: #244cae;
    --lio-blue-soft: #edf3ff;
    --lio-surface: #ffffff;
    --lio-subtle: #f7f9fc;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: var(--lio-surface);
    color: var(--lio-ink);
    font-family: Pretendard, "Noto Sans KR", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.linkio-site { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.site-main { flex: 1; min-height: 620px; }

.site-navbar {
    min-height: 78px;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--lio-line);
}
.site-navbar .container { min-height: 78px; }
.site-navbar .navbar-brand { color: var(--lio-ink); }
.site-navbar .navbar-brand .brand-text { color: var(--lio-ink); font-size: 1.28rem; }
.site-navbar .navbar-nav { gap: .75rem; margin-left: 3.5rem; }
.site-navbar .nav-link { color: #555e69 !important; font-size: .875rem; padding: 1.75rem .7rem !important; }
.site-navbar .nav-link:hover, .site-navbar .nav-link:focus { color: var(--lio-blue) !important; }
.site-navbar .navbar-toggler { border: 0; box-shadow: none !important; }
.site-login-link { color: var(--lio-ink) !important; font-weight: 700; text-decoration: none; }
#auth-buttons .btn { border-radius: 999px; font-size: .78rem; font-weight: 750; padding: .68rem 1rem; }
#auth-buttons .btn-primary { background: var(--lio-ink); border-color: var(--lio-ink); }
#auth-buttons .btn-outline-primary, #auth-buttons .btn-outline-secondary { color: var(--lio-ink); border-color: #cbd1d8; }

.site-footer { margin-top: auto; padding: 2.7rem 0 2.1rem; background: #1c1e1c; color: #b9bdb7; }
.site-footer a { color: #c7cac5 !important; font-size: .78rem; }
.site-footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff !important; font-size: 1.15rem !important; font-weight: 850; text-decoration: none; }
.site-footer-brand img { width: 29px; height: 29px; }
.site-footer-meta { padding-top: 1.3rem; }
.site-footer-meta p { color: #858a83 !important; font-size: .68rem !important; }

.btn { border-radius: 999px; font-weight: 750; }
.btn-primary { background-color: var(--lio-blue); border-color: var(--lio-blue); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--lio-blue-dark); border-color: var(--lio-blue-dark); }
.btn-outline-primary { color: var(--lio-blue); border-color: #9fb5e2; }
.btn-outline-primary:hover { background: var(--lio-blue); border-color: var(--lio-blue); }
.btn-dark { background: var(--lio-ink); border-color: var(--lio-ink); }
.btn-light { background: #fff; border-color: #ccd2d9 !important; }

.card, .accordion-item, .modal-content, .dropdown-menu {
    border: 1px solid var(--lio-line) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    background: #fff;
}
.card-header, .modal-header { background: #fff !important; border-color: var(--lio-line) !important; }
.bg-light { background-color: var(--lio-subtle) !important; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: none !important; }
.rounded, .rounded-3, .rounded-4, .rounded-5 { border-radius: 2px !important; }
.rounded-circle, .rounded-pill { border-radius: 999px !important; }
.border { border-color: var(--lio-line) !important; }
.text-muted, .text-body-secondary { color: var(--lio-muted) !important; }

.form-control, .form-select, .input-group-text {
    min-height: 45px;
    border: 1px solid #d5dae0;
    border-radius: 2px;
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--lio-blue);
    box-shadow: 0 0 0 2px rgba(49,95,201,.1);
}
.form-label { font-size: .78rem; font-weight: 750; color: #424b55; }
.form-text { color: #7b8490; font-size: .7rem; }
.form-check-input:checked { background-color: var(--lio-blue); border-color: var(--lio-blue); }

.nav-tabs { border-bottom-color: var(--lio-line); }
.nav-tabs .nav-link { color: #5e6772; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.nav-tabs .nav-link.active { color: var(--lio-blue); border-bottom-color: var(--lio-blue); background: transparent; font-weight: 800; }
.nav-pills .nav-link { color: #59636f; border: 1px solid var(--lio-line); border-radius: 999px; }
.nav-pills .nav-link.active { color: #fff; background: var(--lio-ink); border-color: var(--lio-ink); }

.table { --bs-table-bg: transparent; color: var(--lio-ink); }
.table > :not(caption) > * > * { padding: .9rem .75rem; border-bottom-color: var(--lio-line); }
.table thead th { color: #727b86; font-size: .7rem; font-weight: 850; background: #fff; border-top: 1px solid var(--lio-line-strong); }
.table-hover > tbody > tr:hover > * { background: #f8faff; }
.pagination .page-link { color: var(--lio-ink); border-color: var(--lio-line); border-radius: 999px !important; margin: 0 .15rem; }
.pagination .active .page-link { background: var(--lio-blue); border-color: var(--lio-blue); }

.alert { border-radius: 2px; border-width: 1px; }
.alert-primary, .alert-info { background: var(--lio-blue-soft); border-color: #c8d7f2; color: #334c7f; }
.badge.bg-primary, .badge.text-bg-primary { background: var(--lio-blue) !important; }

.editorial-kicker { display: none; }
.editorial-title { margin: .8rem 0 .6rem; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; font-weight: 850; letter-spacing: -.055em; }
.editorial-subtitle { color: var(--lio-muted); line-height: 1.75; }
.editorial-page-head { display: flex; justify-content: space-between; align-items: end; padding: 3.8rem 0 2rem; border-bottom: 1px solid var(--lio-line-strong); }

/* 기존 페이지 공통 정리 */
.login-container, .register-container, .form-container { width: min(430px, calc(100% - 32px)); margin: 5rem auto !important; }
.login-header, .register-header, .form-header { font-size: 2.2rem !important; font-weight: 850 !important; letter-spacing: -.05em; text-align: left !important; }
.policy-card, .post-content { color: #4f5965; line-height: 1.85; }
#post-container { border: 1px solid var(--lio-line); border-radius: 2px !important; }
.note-editor.note-frame { border: 1px solid var(--lio-line) !important; border-radius: 2px !important; }
.note-editor .note-toolbar { background: #fff !important; border-color: var(--lio-line) !important; }

/* 결제 페이지 */
#checkout-page .card, .checkout-page .card { border-color: var(--lio-line) !important; }
.checkout-page .sticky-top { top: 1.25rem !important; }
.checkout-page details, .checkout-page .compact-choice, .checkout-page .plan-option { border-color: var(--lio-line) !important; border-radius: 2px !important; box-shadow: none !important; }
.checkout-page .plan-option.active { border-color: var(--lio-blue) !important; background: var(--lio-blue-soft) !important; }
.checkout-page .card-header h5 { font-weight: 850; }
.checkout-page .payment-summary-card, .checkout-page .col-lg-5 .card { border-color: #bdcbe6 !important; }

/* 회원·알림·추천 */
.profile-page .profile-card, .notification-center-item { border-color: var(--lio-line) !important; }
.referral-page { max-width: 1180px; padding-top: 2.8rem; padding-bottom: 5rem; }
.referral-page-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 1.5rem; border-bottom: 1px solid var(--lio-line-strong); }
.referral-page-head h1 { margin: 0 0 .35rem; font-size: 2.35rem; font-weight: 900; letter-spacing: -.055em; }
.referral-page-head p { margin: 0; color: var(--lio-muted); font-size: .82rem; }
.referral-live-badge { padding: .48rem .8rem; border: 1px solid #b9cbea; border-radius: 999px; background: var(--lio-blue-soft); color: var(--lio-blue-dark); font-size: .7rem; font-weight: 850; }
.referral-hero { margin-top: 1.5rem; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 310px; border: 1px solid #c7d5ef; background: var(--lio-blue-soft); }
.referral-hero > * { min-width: 0; }
.referral-hero-copy { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.referral-hero-copy h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.18; font-weight: 900; letter-spacing: -.06em; }
.referral-hero-copy h2 em { color: var(--lio-blue); font-style: normal; }
.referral-hero-copy > p { max-width: 560px; margin: 0; color: #4d5c70; font-size: .86rem; line-height: 1.75; }
.referral-benefits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.referral-benefits span { padding: .42rem .68rem; border: 1px solid #b8c9e8; border-radius: 999px; background: rgba(255,255,255,.72); color: #34445c; font-size: .67rem; font-weight: 750; }
.referral-code-card { margin: 1.4rem; padding: 2rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid #c5cdd9; background: #fff; }
.referral-code-card > span { color: #687585; font-size: .68rem; font-weight: 750; }
.referral-code-row { margin: .8rem 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.referral-code-row strong { font: 900 clamp(1.7rem, 3vw, 2.35rem) ui-monospace, monospace; letter-spacing: .05em; }
.referral-code-card label { margin-bottom: .45rem; color: #687585; font-size: .68rem; font-weight: 750; }
.referral-rules { margin-top: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--lio-line); background: #fafbfc; }
.referral-rules-head h2 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 800; }
.referral-rules-head p { margin: 0; color: #657080; font-size: .75rem; line-height: 1.6; }
.referral-rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .8rem; }
.referral-rule { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.referral-rule-diagram { width: 190px; max-width: 45%; height: auto; flex-shrink: 0; }
.referral-rule-person { fill: #edf2fb; stroke: #bdcbe1; stroke-width: 1.5; }
.referral-rule-letter { fill: #304b75; font: 700 17px system-ui, sans-serif; text-anchor: middle; }
.referral-rule-link, .referral-rule-arrow { fill: none; stroke: #637893; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.referral-rule-blocked, .referral-rule-blocked-arrow { fill: none; stroke: #bd4545; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.referral-rule-blocked { stroke-dasharray: 4 4; }
.referral-rule-block-label { fill: #fceaea; }
.referral-rule-block-text { fill: #a33131; font: 700 11px system-ui, sans-serif; text-anchor: middle; }
.referral-rule-copy h3 { margin: 0 0 .35rem; font-size: .85rem; font-weight: 800; line-height: 1.5; }
.referral-rule-copy p { margin: 0; color: #657080; font-size: .75rem; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
.referral-rule-copy strong { color: #984040; font-weight: 650; }
@media (max-width: 991px) {
    .referral-rules-grid { grid-template-columns: 1fr; gap: .5rem; }
    .referral-rule + .referral-rule { border-top: 1px solid var(--lio-line); padding-top: .5rem; }
}
@media (max-width: 399px) {
    .referral-rules { padding: 1rem; }
    .referral-rule { gap: .5rem; }
    .referral-rule-diagram { max-width: 38%; }
    .referral-rule-copy br { display: none; }
}
.referral-stats { display: grid; grid-template-columns: repeat(3,1fr); margin: 1rem 0; border: 1px solid var(--lio-line); }
.referral-stats article { min-height: 125px; padding: 1.35rem 1.5rem; border-right: 1px solid var(--lio-line); }
.referral-stats article:last-child { border-right: 0; }
.referral-stats small { display: block; color: #717b87; font-size: .68rem; }
.referral-stats strong { display: block; margin: .35rem 0; color: var(--lio-blue); font-size: 1.85rem; font-weight: 900; }
.referral-stats strong.relation { color: var(--lio-ink); font-size: 1.2rem; }
.referral-stats p { margin: 0; color: #7b8590; font-size: .68rem; }
.referral-list-card { margin-top: 1rem; padding: 1.6rem 1.7rem; border: 1px solid var(--lio-line); background: #fff; }
.referral-list-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.referral-list-card h2 { margin: 0 0 .35rem; font-size: 1.05rem; font-weight: 850; }
.referral-list-card header p { margin: 0; color: var(--lio-muted); font-size: .68rem; }
.referral-list-card header > span, .referral-list-card header > div:last-child > span { min-width: 52px; padding: .4rem .55rem; border-radius: 999px; background: var(--lio-blue-soft); color: var(--lio-blue-dark); text-align: center; font-size: .68rem; }
.referral-policy-note { margin: 1rem 0 0; color: #697481; font-size: .68rem; line-height: 1.7; }
@media (max-width: 991px) {
    .referral-hero { grid-template-columns: 1fr; }
    .referral-code-card { margin-top: 0; }
}
@media (max-width: 767px) {
    .referral-page { width: 100%; max-width: 100%; padding-top: 2rem; overflow-x: hidden; }
    .referral-page-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .referral-page-head h1 { font-size: 2rem; }
    .referral-hero { width: 100%; max-width: 100%; overflow: hidden; }
    .referral-hero-copy, .referral-code-card { width: 100%; max-width: 100%; padding: 1.45rem; }
    .referral-hero-copy h2 { font-size: 1.8rem; }
    .referral-hero-copy > p { max-width: calc(100vw - 76px); word-break: keep-all; overflow-wrap: anywhere; }
    .referral-code-card { width: calc(100% - 2rem); margin: 0 1rem 1rem; }
    .referral-code-row { align-items: flex-start; flex-direction: column; }
    .referral-code-card .input-group { width: 100%; display: flex; flex-wrap: nowrap; }
    .referral-code-card .input-group .form-control { width: 1%; min-width: 0; padding: .65rem .7rem; font-size: .72rem; }
    .referral-code-card .input-group .btn { flex: 0 0 auto; padding-right: .7rem; padding-left: .7rem; font-size: .7rem; }
    .referral-stats { grid-template-columns: 1fr; }
    .referral-stats article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--lio-line); }
    .referral-stats article:last-child { border-bottom: 0; }
    .referral-list-card { padding: 1.2rem; }
    .referral-list-card > header { flex-direction: column; }
}
.pricing-card:hover { transform: none !important; box-shadow: none !important; border-color: var(--lio-blue) !important; }

/* 관리자 */
.admin-page { max-width: 1440px; }
.admin-page > h2 { font-size: 2.2rem; font-weight: 850; letter-spacing: -.04em; }
.admin-page .nav-tabs { gap: .15rem; }
.admin-page .tab-pane > .d-flex:first-child h4, .admin-page .tab-pane > h4 { font-weight: 850; }
.banner-admin-preview { position: relative; min-height: 230px; overflow: hidden; background: #1b1e1b; color: #fff; }
.banner-admin-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-admin-preview-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,15,.9), rgba(15,17,15,.18)); }
.banner-admin-preview-copy { position: relative; z-index: 1; min-height: 230px; padding: 1.7rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.banner-admin-preview-copy small { color: #a9c5ff; font: 800 .56rem ui-monospace, monospace; }
.banner-admin-preview-copy strong { margin-top: .9rem; font-size: 1.45rem; line-height: 1.15; }
.banner-admin-preview-copy em { color: #78a2ff; font-size: 1.45rem; font-weight: 850; font-style: normal; line-height: 1.15; }
.banner-admin-preview-copy span { max-width: 80%; margin-top: .65rem; color: #d0d4cf; font-size: .68rem; line-height: 1.55; }
.banner-list-thumb { width: 86px; aspect-ratio: 16/9; object-fit: cover; background: #eef1f5; border: 1px solid var(--lio-line); }

/* 게시판 */
.board-page { max-width: 1180px; padding-top: 2.8rem; padding-bottom: 5rem; }
.board-compact-head { min-height: 122px; padding-bottom: 1.45rem; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--lio-line-strong); }
.board-compact-head h1 { margin: 0; font-size: 2.35rem; line-height: 1; font-weight: 900; letter-spacing: -.055em; }
.board-compact-head p { margin: 0; color: var(--lio-muted); font-size: .75rem; }
.board-toolbar { padding: 1.45rem 0 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.board-toolbar-actions { display: flex; align-items: center; gap: .75rem; }
.board-toolbar-actions #write-post-button-container { flex: 0 0 auto; }
.board-toolbar-actions #write-post-button-container .btn { display: inline-flex; align-items: center; white-space: nowrap; }
.board-filter-active { padding: .55rem .85rem; border-radius: 999px; background: var(--lio-ink); color: #fff; font-size: .68rem; font-weight: 800; }
.board-search { width: min(330px, 100%); }
.board-search .form-control { border-width: 0 0 1px; border-color: var(--lio-line-strong); }
.board-list-head, .board-row { display: grid; grid-template-columns: 80px minmax(0,1fr) 180px 90px; align-items: center; }
.board-list-head { min-height: 43px; border-top: 1px solid var(--lio-line-strong); border-bottom: 1px solid var(--lio-line-strong); color: #78818c; font-size: .62rem; font-weight: 850; }
.board-row { min-height: 90px; border-bottom: 1px solid var(--lio-line); color: var(--lio-ink); text-decoration: none; transition: background .15s ease; }
.board-row:hover { color: var(--lio-ink); background: #f8faff; }
.board-row.notice-row { background: var(--lio-blue-soft); border-top: 1px solid #afc3e8; }
.board-number, .board-views { font: 800 .68rem ui-monospace, monospace; color: #7c8590; }
.notice-row .board-number { width: 38px; padding: .34rem .25rem; border-radius: 999px; background: var(--lio-blue); color: #fff; text-align: center; font-family: inherit; }
.board-title strong { display: inline-block; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; font-size: 1rem; }
.board-title em { margin-left: .5rem; color: var(--lio-blue); font-size: .64rem; font-style: normal; }
.board-title small { display: block; margin-top: .5rem; color: #858e98; font-size: .65rem; }
.board-meta { display: flex; gap: .55rem; align-items: center; color: #6f7883; font-size: .66rem; }
.board-meta i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #dce7f8; color: var(--lio-blue); font-style: normal; font-weight: 850; }

@media (max-width: 767px) {
    .board-page { padding-top: 2rem; }
    .board-compact-head { min-height: auto; align-items: flex-start; flex-direction: column; gap: .8rem; }
    .board-compact-head h1 { font-size: 2rem; }
    .board-toolbar { justify-content: stretch; }
    .board-filter-active { display: none; }
    .board-toolbar-actions { width: 100%; }
    .board-search { width: auto; min-width: 0; flex: 1 1 auto; }
    .board-list-head { display: none; }
    .board-row { grid-template-columns: 50px minmax(0,1fr); }
    .board-meta, .board-views { display: none; }
}

/* 사용법 허브 */
.guide-post-list { border-top: 1px solid var(--lio-line-strong); }
.guide-post-row { min-height: 92px; padding: 1rem .45rem; display: grid; grid-template-columns: 115px minmax(0, 1fr) 110px 22px; align-items: center; gap: 1rem; border-bottom: 1px solid var(--lio-line); color: var(--lio-ink); text-decoration: none; }
.guide-post-row:hover { background: #f8faff; color: var(--lio-ink); }
.guide-post-category { width: fit-content; padding: .38rem .55rem; border-radius: 999px; background: #edf2fa; color: var(--lio-blue); font-size: .62rem; font-weight: 850; }
.guide-post-copy { min-width: 0; }
.guide-post-copy strong, .guide-post-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-post-copy strong { font-size: .9rem; }
.guide-post-copy small { margin-top: .45rem; color: var(--lio-muted); font-size: .68rem; }
.guide-post-date { color: var(--lio-muted); font-size: .65rem; text-align: right; }
.guide-post-row > i { color: #a5adb7; font-size: .75rem; }
.guide-empty { min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .55rem; border-bottom: 1px solid var(--lio-line); color: var(--lio-muted); text-align: center; }
.guide-empty > i { font-size: 1.5rem; }
.guide-empty strong { color: var(--lio-ink); font-size: .9rem; }
.guide-empty span { font-size: .7rem; }

@media (max-width: 767px) {
    .guide-post-row { grid-template-columns: 85px minmax(0, 1fr) 18px; gap: .65rem; }
    .guide-post-date { display: none; }
}

/* 선택한 2안 기반 사용법 랜딩 */
.guide-landing-page { background: #f2f5f9; }
.guide-landing-hero { min-height: 350px; display: flex; align-items: center; background: linear-gradient(118deg, #173c7a 0%, #2459b8 62%, #2f6ddd 100%); color: #fff; }
.guide-landing-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.guide-hero-copy > span { color: #bcd2ff; font-size: .72rem; font-weight: 850; }
.guide-hero-copy h1 { margin: 1rem 0 .8rem; font-size: clamp(2.45rem, 5vw, 3.45rem); line-height: 1.08; font-weight: 900; letter-spacing: -.06em; }
.guide-hero-copy p { max-width: 680px; margin: 0; color: #dbe7ff; font-size: 1rem; line-height: 1.7; }
.guide-hero-tags { margin-top: 1.45rem; display: flex; gap: .55rem; }
.guide-hero-tags em { padding: .48rem .75rem; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: .68rem; font-style: normal; font-weight: 800; }
.guide-hero-search { width: min(390px, 100%); padding: .55rem; display: flex; align-items: center; gap: .65rem; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(10,31,70,.28); backdrop-filter: blur(8px); }
.guide-hero-search i { margin-left: .45rem; color: #cfe0ff; }
.guide-hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font-size: .76rem; }
.guide-hero-search input::placeholder { color: #c8d7f4; }
.guide-hero-search button { padding: .68rem .95rem; border: 0; border-radius: 10px; background: #fff; color: #17428e; font-size: .7rem; font-weight: 850; }
.guide-landing-surface { background: #f2f5f9; }
.guide-landing-content { padding-top: 2.25rem; padding-bottom: 5.5rem; }
.guide-start-grid { margin-top: .4rem; display: grid; grid-template-columns: 1.8fr 1fr; gap: 1rem; }
.guide-start-card { min-height: 205px; padding: 1.7rem 1.8rem; position: relative; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid #dce4ef; border-radius: 18px; color: var(--lio-ink); text-decoration: none; box-shadow: 0 10px 30px rgba(24, 43, 75, .035); }
.guide-start-card:hover { color: var(--lio-ink); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(24,43,75,.08); }
.guide-start-card small { color: var(--lio-blue); font-size: .7rem; font-weight: 900; }
.guide-start-card strong { margin-top: .55rem; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.04em; }
.guide-start-card p { max-width: 650px; margin: .7rem 0 0; color: var(--lio-muted); font-size: .78rem; line-height: 1.65; }
.guide-start-primary { background: #fff; }
.guide-start-primary > span { margin-top: auto; display: flex; gap: .45rem; }
.guide-start-primary > span em { padding: .4rem .62rem; border-radius: 999px; background: #edf4ff; color: #2761c4; font-size: .62rem; font-style: normal; font-weight: 850; }
.guide-start-network { background: #e9f2ff; border-color: #c7dcff; }
.guide-start-network > i { margin-top: auto; align-self: flex-end; color: var(--lio-blue); }
.guide-landing-section-head { margin: 3rem 0 1.15rem; display: flex; justify-content: space-between; align-items: flex-end; }
.guide-landing-section-head h2 { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -.045em; }
.guide-landing-section-head p { margin: .35rem 0 0; color: var(--lio-muted); font-size: .73rem; }
.guide-list-section { margin-top: 2rem; padding: 2rem; scroll-margin-top: 80px; border: 1px solid #dfe5ee; border-radius: 18px; background: #fff; }
.guide-list-heading { margin-top: 0; }
.guide-category-filters { max-width: 600px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem; }
.guide-category-filters button { padding: .42rem .65rem; border: 1px solid #dce3ec; border-radius: 999px; background: #fff; color: #687486; font-size: .62rem; font-weight: 800; }
.guide-category-filters button.active { border-color: var(--lio-ink); background: var(--lio-ink); color: #fff; }

@media (max-width: 900px) {
    .guide-landing-hero { min-height: 390px; }
    .guide-landing-hero-inner { align-items: stretch; flex-direction: column; gap: 1.6rem; }
    .guide-hero-search { width: 100%; }
    .guide-start-grid { grid-template-columns: 1fr; }
    .guide-list-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .guide-category-filters { justify-content: flex-start; }
}

@media (max-width: 600px) {
    .guide-landing-hero { min-height: 410px; }
    .guide-hero-copy h1 { font-size: 2.25rem; }
    .guide-start-card { min-height: 165px; }
    .guide-list-section { padding: 1.2rem; }
}

/* 파일 기반 사용법 상세 */
.guide-detail-page { max-width: 1180px; }
.guide-detail-head { max-width: 930px; padding: .5rem 0 2rem; border-bottom: 1px solid var(--lio-line-strong); }
.guide-detail-head > span { display: inline-flex; padding: .42rem .65rem; border-radius: 999px; background: var(--lio-blue-soft); color: var(--lio-blue); font-size: .66rem; font-weight: 850; }
.guide-detail-head h1 { margin: 1rem 0 .85rem; font-size: clamp(2.15rem, 4vw, 3.25rem); line-height: 1.14; font-weight: 900; letter-spacing: -.058em; word-break: keep-all; }
.guide-detail-head > p { max-width: 780px; margin: 0; color: var(--lio-muted); font-size: .92rem; line-height: 1.75; word-break: keep-all; }
.guide-detail-head > div { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.guide-detail-head em { display: inline-flex; align-items: center; gap: .4rem; color: #7a8798; font-size: .68rem; font-style: normal; }
.guide-detail-head em i { color: var(--lio-blue); }
.guide-doc-compare { margin-top: 1.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.guide-doc-compare > div { min-height: 125px; padding: 1.2rem; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto 1fr; gap: .25rem .8rem; border: 1px solid #dfe5ed; border-radius: 14px; background: #f8faff; }
.guide-doc-compare i { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e7effd; color: var(--lio-blue); font-size: 1rem; }
.guide-doc-compare strong { color: #263246; font-size: .82rem; }
.guide-doc-compare span { color: var(--lio-muted); font-size: .7rem; line-height: 1.55; }
.guide-doc-example-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.guide-doc-example-grid > div { padding: 1rem; border: 1px solid #dfe5ed; border-radius: 12px; background: #f8faff; }
.guide-doc-example-grid strong, .guide-doc-example-grid span { display: block; }
.guide-doc-example-grid strong { color: var(--lio-blue); font-size: .72rem; }
.guide-doc-example-grid span { margin-top: .35rem; color: #59677a; font-size: .68rem; }
.guide-related { padding: 3.2rem 0 2rem; }
.guide-related > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.guide-related h2 { margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -.04em; }
.guide-related > div:first-child > a { color: var(--lio-blue); font-size: .72rem; font-weight: 800; text-decoration: none; }
.guide-related-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.guide-related-grid > a { min-height: 190px; padding: 1.25rem; position: relative; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--lio-line); border-radius: 15px; color: var(--lio-ink); text-decoration: none; }
.guide-related-grid > a:hover { border-color: #9bb9ef; color: var(--lio-ink); transform: translateY(-2px); }
.guide-related-grid span { color: var(--lio-blue); font-size: .64rem; font-weight: 850; }
.guide-related-grid strong { margin-top: .7rem; font-size: .92rem; line-height: 1.45; }
.guide-related-grid p { margin: .55rem 0 0; color: var(--lio-muted); font-size: .68rem; line-height: 1.65; }
.guide-related-grid i { margin-top: auto; align-self: flex-end; color: var(--lio-blue); }

/* 게시글 상세 */
.post-detail-page { max-width: 1180px; }
.post-detail-page #post-container { border: 0 !important; }
.post-editorial-head { padding: .35rem 0 1.7rem; border-bottom: 1px solid var(--lio-line-strong); }
.post-editorial-head h1 { margin: 0; max-width: 850px; font-size: clamp(2rem, 3.5vw, 2.7rem); line-height: 1.16; font-weight: 900; letter-spacing: -.055em; }
.post-guide-intro { margin-bottom: 1rem; }
.post-guide-intro span { display: inline-flex; padding: .38rem .62rem; border-radius: 999px; background: var(--lio-blue-soft); color: var(--lio-blue); font-size: .65rem; font-weight: 850; }
.post-guide-intro p { max-width: 720px; margin: .8rem 0 0; color: var(--lio-muted); font-size: .82rem; line-height: 1.7; }
.guide-post-summary { max-width: 760px; margin: .85rem 0 0; color: var(--lio-muted); font-size: .82rem; line-height: 1.7; }
.guide-post-back { margin-bottom: 1.6rem; display: inline-flex; align-items: center; gap: .45rem; color: #647186; font-size: .72rem; font-weight: 750; text-decoration: none; }
.guide-post-back:hover { color: var(--lio-blue); }
.post-editorial-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 0; }
.post-editorial-meta span { padding: 0 1.25rem; display: inline-flex; align-items: baseline; gap: .5rem; border-left: 1px solid var(--lio-line); }
.post-editorial-meta span:first-child { padding-left: 0; border-left: 0; }
.post-editorial-meta small { color: #87909a; font-size: .65rem; }
.post-editorial-meta strong { font-size: .72rem; }
.post-editorial-body { padding: 2.6rem 0 3rem; display: grid; grid-template-columns: minmax(0,760px); border-bottom: 1px solid var(--lio-line); }
.post-editorial-body .post-content { min-height: 0; font-size: .95rem; line-height: 1.95; }
.post-content .guide-content-block { margin: 2rem 0; padding: 1.5rem; border: 1px solid var(--lio-line); border-radius: 16px; background: #f8faff; }
.post-content .guide-content-block h2, .post-content .guide-content-block h3 { margin-top: 0; font-weight: 900; letter-spacing: -.035em; }
.post-content .guide-content-steps ol { margin: 1.2rem 0 0; padding-left: 1.25rem; }
.post-content .guide-content-steps li + li { margin-top: 1rem; }
.post-content .guide-content-steps p, .post-content .guide-content-tip p { margin: .25rem 0 0; color: var(--lio-muted); }
.post-content .guide-content-check { border-left: 4px solid var(--lio-blue); }
.post-content .guide-content-tip { background: #fff8e8; border-color: #efd898; }
.guide-article-layout { padding: 2.6rem 0 3.5rem; display: grid; grid-template-columns: 210px minmax(0, 780px); gap: 3.2rem; align-items: start; border-bottom: 1px solid var(--lio-line); }
.guide-article-toc { position: sticky; top: 95px; padding: 1rem 0; border-top: 2px solid var(--lio-ink); border-bottom: 1px solid var(--lio-line); }
.guide-article-toc > strong { display: block; margin-bottom: .7rem; font-size: .72rem; }
.guide-article-toc a { padding: .55rem 0; display: grid; grid-template-columns: 25px 1fr; gap: .35rem; color: #697587; font-size: .65rem; line-height: 1.45; text-decoration: none; }
.guide-article-toc a:hover { color: var(--lio-blue); }
.guide-article-toc b { color: #a0acbb; font: 800 .58rem ui-monospace, monospace; }
.guide-article-content { color: #344054; font-size: .92rem; line-height: 1.85; }
.guide-article-content > p:first-child { margin-top: 0; }
.guide-doc-callout { margin: 0 0 1.8rem; padding: 1.2rem 1.3rem; border: 1px solid #cbdffd; border-radius: 14px; background: #edf5ff; }
.guide-doc-callout strong, .guide-doc-callout p { display: block; }
.guide-doc-callout strong { color: #173f82; font-size: .85rem; }
.guide-doc-callout p { margin: .3rem 0 0; color: #52647c; font-size: .72rem; line-height: 1.65; }
.guide-doc-callout.warning { border-color: #efdca8; background: #fff8e8; }
.guide-doc-callout.warning strong { color: #8b5c06; }
.guide-doc-callout.success { border-color: #bce4ce; background: #effaf4; }
.guide-doc-callout.success strong { color: #147044; }
.guide-doc-words { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.guide-doc-words > div { padding: 1rem 1.1rem; border: 1px solid #dfe5ed; border-radius: 13px; background: #fff; }
.guide-doc-words b, .guide-doc-words span { display: block; }
.guide-doc-words b { color: var(--lio-blue); font-size: .78rem; }
.guide-doc-words span { margin-top: .35rem; color: #5f6d80; font-size: .7rem; line-height: 1.55; }
.guide-article-content > .guide-doc-lead-image { width: 100%; margin: 1rem 0 1.8rem; border: 1px solid #dfe4eb; border-radius: 14px; background: #f8fafc; }
.guide-doc-flow { margin: 0 0 2.8rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.guide-doc-flow.guide-doc-flow-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-doc-flow > div { min-height: 105px; padding: .9rem; border: 1px solid #dfe5ed; border-radius: 13px; background: #fff; }
.guide-doc-flow b, .guide-doc-flow span { display: block; }
.guide-doc-flow b { color: var(--lio-blue); font-size: .72rem; }
.guide-doc-flow span { margin-top: .45rem; color: #344054; font-size: .69rem; line-height: 1.5; }
.guide-doc-section { padding: 2.5rem 0; border-top: 1px solid #e4e8ee; }
.guide-doc-section:last-of-type { padding-bottom: 1.5rem; }
.guide-doc-step { display: inline-flex; margin-bottom: .65rem; color: var(--lio-blue); font: 850 .65rem ui-monospace, monospace; }
.guide-doc-section h2 { margin: 0; color: #172033; font-size: 1.55rem; line-height: 1.35; font-weight: 900; letter-spacing: -.045em; scroll-margin-top: 95px; }
.guide-doc-section > p { margin: .75rem 0 0; color: #5d6a7c; font-size: .8rem; line-height: 1.8; }
.guide-doc-section img { width: auto; max-width: 100%; height: auto; margin: 1.4rem auto 0; display: block; border: 1px solid #dfe4eb; border-radius: 12px; background: #f8fafc; }
.guide-doc-subtitle { margin: 2rem 0 .7rem; color: #273448; font-size: 1rem; font-weight: 900; letter-spacing: -.025em; }
.guide-doc-link { margin-top: 1rem; display: inline-flex; color: var(--lio-blue); font-size: .73rem; font-weight: 850; text-decoration: none; }
.guide-doc-numbered { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.guide-doc-numbered li { padding: 1rem 0; display: grid; grid-template-columns: 34px 1fr; gap: .8rem; border-bottom: 1px solid #e5e9ef; }
.guide-doc-numbered li:first-child { border-top: 1px solid #e5e9ef; }
.guide-doc-numbered li > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e7effd; color: var(--lio-blue); font-size: .68rem; }
.guide-doc-numbered strong, .guide-doc-numbered span { display: block; }
.guide-doc-numbered strong { color: #2c394c; font-size: .77rem; }
.guide-doc-numbered span { margin-top: .28rem; color: #647186; font-size: .7rem; line-height: 1.65; }
.guide-doc-answer { margin-top: 1.2rem; padding: 1rem 1.1rem; display: flex; align-items: flex-start; gap: .75rem; border-left: 4px solid #28a267; border-radius: 0 12px 12px 0; background: #effaf4; }
.guide-doc-answer strong { flex: 0 0 auto; color: #147044; font-size: .72rem; }
.guide-doc-answer span { color: #516b5e; font-size: .7rem; line-height: 1.6; }
.guide-doc-simple-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.guide-doc-simple-tags span { padding: .45rem .65rem; border: 1px solid #cedcf3; border-radius: 999px; background: #f2f6fd; color: #2458ae; font-size: .68rem; font-weight: 800; }
.guide-doc-example-box { margin-top: 1.2rem; padding: 1.1rem; border: 1px solid #cbdffd; border-radius: 13px; background: #f2f7ff; }
.guide-doc-example-box strong, .guide-doc-example-box span, .guide-doc-example-box code { display: block; }
.guide-doc-example-box strong { color: #174eaa; font-size: .76rem; }
.guide-doc-example-box span { margin-top: .35rem; color: #5a687b; font-size: .7rem; line-height: 1.6; }
.guide-doc-section .guide-doc-example-box code { margin-top: .8rem; padding: .65rem .75rem; border-radius: 8px; background: #172033; color: #fff; font-size: .68rem; white-space: normal; }
.guide-doc-result-compare > div:first-child i { background: #e3f7eb; color: #188653; }
.guide-doc-result-compare > div:last-child i { background: #fff0e7; color: #db5b12; }
.guide-doc-beginner-ip { margin-top: 1.2rem; padding: 1.1rem; border: 1px solid #ffd09f; border-radius: 14px; background: #fff9f1; }
.guide-doc-beginner-ip > strong { display: block; margin-bottom: .6rem; color: #914508; font-size: .78rem; }
.guide-doc-beginner-ip > div { padding: .65rem 0; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: .75rem; border-top: 1px solid #f0ddc8; }
.guide-doc-section .guide-doc-beginner-ip code { width: fit-content; padding: .3rem .45rem; border-radius: 6px; background: #fff; color: #a94600; font-size: .7rem; font-weight: 800; }
.guide-doc-beginner-ip span { color: #64594e; font-size: .7rem; line-height: 1.55; }
.guide-doc-one-line { margin-top: .8rem; padding: .9rem 1rem; display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: .5rem; border: 1px solid #dce3ed; border-radius: 12px; background: #f8faff; text-align: center; }
.guide-doc-one-line b, .guide-doc-one-line span { font-size: .72rem; }
.guide-doc-one-line b { color: var(--lio-blue); }
.guide-doc-one-line span { color: #39475a; font-weight: 750; }
.guide-doc-one-line i { color: #97a5b7; }
.guide-doc-ip-check { margin-top: 1.2rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: .7rem; }
.guide-doc-ip-check > div { padding: 1.2rem; border: 1px solid #dfe5ed; border-radius: 14px; background: #f8faff; }
.guide-doc-ip-check > .private { border-color: #ffc998; background: #fff8ef; }
.guide-doc-ip-check strong, .guide-doc-ip-check span { display: block; }
.guide-doc-ip-check strong { margin-bottom: .7rem; color: #293548; font-size: .78rem; }
.guide-doc-section .guide-doc-ip-check code { margin: .28rem .25rem .28rem 0; padding: .28rem .42rem; display: inline-block; border-radius: 6px; background: #fff; border: 1px solid #e2e7ee; color: #344054; font-size: .68rem; }
.guide-doc-ip-check span { margin-top: .7rem; color: #5f6d80; font-size: .7rem; line-height: 1.65; }
.guide-doc-checklist { margin: 1rem 0 0; padding: 1rem 1.1rem; border-radius: 13px; background: #f6f8fb; list-style: none; }
.guide-doc-checklist li { position: relative; padding-left: 1.3rem; color: #4f5d70; font-size: .75rem; }
.guide-doc-checklist li + li { margin-top: .55rem; }
.guide-doc-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--lio-blue); font-weight: 900; }
.guide-doc-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.guide-doc-actions a { padding: .65rem .85rem; border: 1px solid #cddbf1; border-radius: 10px; color: #2458ae; font-size: .7rem; font-weight: 850; text-decoration: none; }
.guide-doc-section code { padding: .18rem .35rem; border-radius: 5px; background: #182237; color: #fff; font-size: .72rem; }
.guide-doc-section table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: .75rem; }
.guide-doc-section th, .guide-doc-section td { padding: .75rem .85rem; border: 1px solid #dfe5ed; text-align: left; }
.guide-doc-section th { width: 27%; background: #f6f8fb; color: #293548; }
.post-editorial-actions { border-top: 0 !important; }
#comment-section { margin-top: 3.5rem !important; }
#comment-section > .d-flex { padding-bottom: 1rem; border-bottom: 1px solid var(--lio-line-strong); }
#comment-section .card { border-width: 0 0 1px !important; }

@media (max-width: 767px) {
    .post-editorial-head h1 { font-size: 2rem; }
    .post-editorial-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-editorial-meta span { padding: 0 .7rem; align-items: flex-start; flex-direction: column; gap: .2rem; }
    .post-editorial-meta span:first-child { padding-left: 0; }
    .post-editorial-body { grid-template-columns: 1fr; gap: 1.5rem; }
	.guide-article-layout { grid-template-columns: 1fr; gap: 1.2rem; }
	.guide-article-toc { position: static; }
	.guide-doc-flow, .guide-doc-flow.guide-doc-flow-three { grid-template-columns: 1fr 1fr; }
	.guide-detail-head h1 { font-size: 2.1rem; }
	.guide-doc-compare, .guide-related-grid { grid-template-columns: 1fr; }
	.guide-doc-example-grid { grid-template-columns: 1fr; }
	.guide-doc-ip-check { grid-template-columns: 1fr; }
	.guide-doc-words { grid-template-columns: 1fr; }
	.guide-doc-answer { flex-direction: column; gap: .3rem; }
	.guide-doc-beginner-ip > div { grid-template-columns: 95px 1fr; }
}

@media (max-width: 460px) {
	.guide-doc-flow, .guide-doc-flow.guide-doc-flow-three { grid-template-columns: 1fr; }
	.guide-doc-section h2 { font-size: 1.35rem; }
}

/* 홈페이지 */
.home-page { background: #fff; }
.home-slider { position: relative; height: 526px; overflow: hidden; background: #171916; color: #fff; }
.home-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.home-slide.active { opacity: 1; pointer-events: auto; }
.home-slide picture, .home-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-slide-image { object-fit: cover; }
.home-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,19,16,.92) 0%, rgba(17,19,16,.75) 36%, rgba(17,19,16,.1) 70%, rgba(17,19,16,.2) 100%); }
.home-slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.home-slide-copy { width: min(610px, 52vw); }
.home-eyebrow { display: none; }
.home-slide-copy h1 { margin: 0 0 1.1rem; font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1.04; font-weight: 900; letter-spacing: -.065em; }
.home-slide-copy h1 em { color: #78a2ff; font-style: normal; }
.home-slide-copy p { max-width: 560px; margin: 0; color: #d1d5d0; font-size: 1rem; line-height: 1.75; }
.home-slide-actions, .home-inline-actions { display: flex; gap: .65rem; margin-top: 1.7rem; }
.home-button { min-height: 47px; padding: 0 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 850; text-decoration: none; }
.home-button:hover { color: inherit; transform: translateY(-1px); }
.home-button-light { background: #fff; color: var(--lio-ink); }
.home-button-ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.home-button-blue { background: var(--lio-blue); color: #fff; }
.home-button-outline { background: #fff; border-color: #c7cdd4; color: var(--lio-ink); }
.home-button-dark { background: var(--lio-ink); color: #fff; }
.home-button-light:hover, .home-button-outline:hover { color: var(--lio-ink); }
.home-button-ghost:hover, .home-button-blue:hover, .home-button-dark:hover { color: #fff; }
.home-slider-controls { position: absolute; z-index: 5; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; justify-content: flex-end; align-items: center; gap: 1rem; font: 800 .64rem ui-monospace, monospace; }
.home-slider-dots { display: flex; gap: .35rem; }
.home-slider-dots button { width: 22px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.28); }
.home-slider-dots button.active { width: 55px; background: #fff; }
.home-slider-arrows { display: flex; gap: .4rem; }
.home-slider-arrows button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(255,255,255,.04); color: #fff; }
.home-slider.single .home-slider-controls { display: none; }
.home-ticker { min-height: 42px; padding: .55rem 1rem; display: flex; align-items: center; justify-content: center; gap: .85rem; background: var(--lio-blue); color: #fff; text-decoration: none; font-size: .68rem; }
.home-ticker:hover { color: #fff; }
.home-ticker span { font-weight: 900; letter-spacing: .1em; }
.home-ticker b { color: #dce7ff; font-weight: 500; }
.home-ticker em { font-style: normal; font-weight: 800; }
.home-intro { padding: 5rem 0; }
.home-intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 5.5rem; }
.home-intro-copy h2, .home-news h2, .home-workflow h2, .home-plans h2, .home-final h2 { margin: .8rem 0 1.1rem; font-size: clamp(2.25rem, 3.7vw, 3.15rem); line-height: 1.1; font-weight: 900; letter-spacing: -.06em; }
.home-intro-copy h2 em, .home-final h2 em { color: var(--lio-blue); font-style: normal; }
.home-intro-copy > p { color: var(--lio-muted); line-height: 1.8; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--lio-line); border-bottom: 1px solid var(--lio-line); }
.home-feature-grid article { min-height: 205px; padding: 1.5rem 1.2rem; border-right: 1px solid var(--lio-line); }
.home-feature-grid article:last-child { border-right: 0; }
.home-feature-grid span, .home-news-grid span, .home-workflow-grid span, .home-plan-grid > article > span { display: none; }
.home-feature-grid h3 { margin: .2rem 0 .8rem; font-size: 1.08rem; line-height: 1.45; font-weight: 850; }
.home-feature-grid p { color: #747e89; font-size: .68rem; line-height: 1.65; }
.home-feature-grid i { color: var(--lio-blue); font-style: normal; }
.home-news { padding: 3rem 0; border-top: 1px solid var(--lio-line); }
.home-news h2 { margin-bottom: 1.4rem; font-size: 1.8rem; }
.home-news-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: .7rem; }
.home-news-grid a { min-height: 136px; padding: 1.3rem; border: 1px solid var(--lio-line); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.home-news-grid a.featured { background: #dce7f8; border-color: #bfd0eb; }
.home-news-grid strong { font-size: 1.03rem; line-height: 1.4; }
.home-workflow { padding: 5.4rem 0; background: var(--lio-ink); color: #fff; }
.home-workflow .editorial-kicker, .home-workflow-grid span { color: #78a2ff; }
.home-workflow-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: end; }
.home-workflow-head p { margin: 0; color: #b9bdb7; line-height: 1.8; }
.home-workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.home-workflow-grid article { min-height: 250px; padding: 1.7rem 1.5rem; border-right: 1px solid rgba(255,255,255,.18); }
.home-workflow-grid article:last-child { border-right: 0; }
.home-workflow-grid h3 { margin: .4rem 0 1.1rem; font-size: 1.5rem; line-height: 1.35; font-weight: 850; }
.home-workflow-grid p { color: #9fa49d; font-size: .72rem; line-height: 1.7; }
.home-plans { padding: 5.3rem 0 5.7rem; }
.home-plans-head { display: flex; justify-content: space-between; align-items: end; }
.home-plans-head > a { color: var(--lio-blue); font-size: .78rem; font-weight: 800; text-decoration: none; }
.home-plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 2.2rem; }
.home-plan-grid article { min-height: 350px; padding: 1.8rem; border: 1px solid var(--lio-line); position: relative; }
.home-plan-grid article.featured { background: var(--lio-blue); border-color: var(--lio-blue); color: #fff; transform: translateY(-10px); }
.home-plan-grid article.featured > span { color: #d9e4ff; }
.home-plan-grid h3 { margin: .2rem 0 .6rem; font-size: 1.75rem; font-weight: 850; }
.home-plan-grid strong { display: block; font-size: 2rem; }
.home-plan-price { margin-top: .7rem; color: var(--lio-blue); }
.home-plan-price b { font-size: 1rem; font-weight: 850; }
.home-plan-grid .featured .home-plan-price { color: #fff; }
.home-plan-grid p { margin-top: 1rem; color: var(--lio-muted); font-size: .78rem; }
.home-plan-grid .featured p { color: #d9e4ff; }
.home-plan-grid article > a { position: absolute; left: 1.8rem; right: 1.8rem; bottom: 1.6rem; padding: .78rem; border: 1px solid #c9cfd6; border-radius: 999px; text-align: center; color: inherit; font-size: .75rem; font-weight: 850; text-decoration: none; }
.home-plan-grid .featured > a { background: #fff; border-color: #fff; color: var(--lio-ink); }
.home-final { padding: 5rem 0; background: #dce7f8; }
.home-final .container { display: flex; justify-content: space-between; align-items: center; }
.home-final .container > div { display: flex; gap: .6rem; }

@media (max-width: 991px) {
    .home-slider { height: 590px; }
    .home-slide-overlay { background: linear-gradient(180deg, rgba(17,19,16,.25), rgba(17,19,16,.94) 78%); }
    .home-slide-content { align-items: flex-end; padding-bottom: 7.5rem; }
    .home-slide-copy { width: 100%; }
    .home-slide-copy h1 { font-size: 2.65rem; }
    .home-intro-grid, .home-workflow-head { grid-template-columns: 1fr; gap: 2rem; }
    .home-feature-grid { overflow-x: auto; }
    .home-feature-grid article { min-width: 210px; }
    .home-plan-grid { display: flex; overflow-x: auto; padding-top: .75rem; }
    .home-plan-grid article { min-width: 290px; }
    .home-final .container { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
}

@media (max-width: 767px) {
    .home-slide-copy p { max-width: 100%; padding-right: .5rem; font-size: .9rem; word-break: keep-all; overflow-wrap: anywhere; }
    .home-news-grid { display: flex; overflow-x: auto; }
    .home-news-grid a { min-width: 270px; }
    .home-workflow-grid { display: flex; overflow-x: auto; }
    .home-workflow-grid article { min-width: 270px; }
    .home-ticker { justify-content: flex-start; white-space: nowrap; overflow: hidden; }
    .home-final .container > div { align-items: stretch; flex-direction: column; width: 100%; }
}

@media (max-width: 991px) {
    .site-navbar { min-height: 68px; padding: .65rem 0; }
    .site-navbar .container { min-height: auto; }
    .site-navbar .navbar-nav { margin-left: 0; gap: 0; padding-top: 1rem; }
    .site-navbar .nav-link { padding: .75rem 0 !important; }
    #auth-buttons { padding: .75rem 0; }
    .site-footer-top { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
    .editorial-page-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
