/* ═══════════════════════════════════════════════
   ARVO — Shared Stylesheet (arvo-shared.css)
   모든 페이지(index, norix, lorin, nevora)에서 공통 사용
═══════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Design Tokens ── */

:root {
    --primary-dark: #2c2c2c;
    --primary-light: #f5f5f5;
    --accent-warm: #d4c4b0;
    --accent-navy: #1a3a3a;
    --accent-sage: #7a9b8e;
    --text-dark: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --brown:        #7B542F;
    --linen:        #F3EFE8;
    --dust:         #9A9088;
    --stone:        #4A453D;
    --nbrown:       #A77F60;
    --mid:          #A98B76;
    --mid2:         #C1A17B;
    --maxbrown:     #362706;
    --maxxbrown:    #251a02;
    --arvo-navy:    #1a2332;
    --arvo-terracotta: #d4a574;
    --cream:        #F2EDE6;
    --dark:         #1C1A18;
    --mid3:         #5A544E;
    --light:        #A09890;
    --warm-white:   #F8F5F1;
    --rule:         #D6CFC8;
    --parchment:    #EDE8E1;
    --arvo-warm-gray: #e8e6e1;
    --arvo-light-gray: #BFC9D1;
    --arvo-green:   #7fae9c;
    --arvo-ivory:   #f5f3f0;
    --arvo-mint:    #c8dfd8;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #fff;
}

/* ── Navigation ── */
/* ── 메인 랜딩 nav (index.html — 투명 시작 → 스크롤 시 white) ── */
nav#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* nav#navbar.scrolled {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
} */
nav#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    max-width: 80%;
}
/* nav#navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0;
    display: inline-block;
    transition: transform 0.2s ease-out;
} */

nav#navbar .logo-img {
    height: auto;
    width: 100px;
    display: block;
    transition: transform 0.2s ease-out;
}

nav#navbar a.logo-link       { color: inherit; }
nav#navbar a.logo-link:hover { color: inherit; }
nav#navbar a.logo-link:hover .logo-img { transform: scale(1.06); }
nav#navbar .nav-links        { display: none; gap: 2rem; align-items: center; }
@media (min-width: 768px) { nav#navbar .nav-links { display: flex; } }
nav#navbar a {
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-out;
}
nav#navbar a:hover { color: var(--arvo-terracotta); }

/* ── 브랜드 페이지 nav (sticky 고정 배경 — 색상은 각 브랜드 CSS에서) ── */
nav.site-nav {
    position: sticky;
    top: 0; z-index: 50;
    backdrop-filter: blur(8px);
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
nav.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    /* padding: 4rem 5% 3rem; */
    background: var(--primary-light);
    border-bottom: 1px solid var(--border);
    padding-top: 15rem;
    padding-bottom: 6rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.hero p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

/* Table of Contents */
.toc {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.toc h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.toc ol {
    margin-left: 1.5rem;
}

.toc li {
    margin-bottom: 0.8rem;
}

.toc a {
    color: var(--accent-navy);
    text-decoration: none;
    transition: color 0.3s;
}

.toc a:hover {
    color: var(--accent-sage);
    text-decoration: underline;
}

/* Article Sections */
.article {
    line-height: 2;
}

.article h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-warm);
}

.article h2:first-of-type {
    margin-top: 0;
}

.article h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.article p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: justify;
}

.article ul, .article ol {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-dark);
}

.article li {
    margin-bottom: 0.6rem;
}

/* Callout Box */
.notice {
    background: #fef9f3;
    border-left: 4px solid var(--accent-warm);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.notice.warning {
    background: #fff3cd;
    border-left-color: #ff6b6b;
}

.notice.legal {
    background: #e8f4f8;
    border-left-color: var(--accent-navy);
}

.notice strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.notice p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Definition List */
.definitions {
    margin: 1.5rem 0;
}

.def-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.def-item:last-child {
    border-bottom: none;
}

.def-term {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.def-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Category Box */
.category {
    background: #f9f9f9;
    border-left: 4px solid var(--accent-sage);
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.category-title {
    font-weight: 600;
    color: var(--accent-navy);
    margin-bottom: 0.8rem;
}

.category ul {
    margin-left: 1.5rem;
}

.category li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Footer bottom */
/* .footer-bottom { text-align: center; } */
/* ── Footer ── */
footer {
    padding: 3rem 0;
    background-color: var(--footer-bg, var(--dark));
}
footer .container {max-width: 80%;}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    font-weight: 600; margin-bottom: 1rem; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: rgba(242,237,230,0.28);
}
.footer-section p  { font-size: 0.875rem; color: rgba(242,237,230,0.48); margin: 0; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a {
    color: rgba(242,237,230,0.48);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease-out;
}
.footer-section a:hover { color: var(--parchment); }
.footer-bottom { border-top: 1px solid rgba(242,237,230,0.07); padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: rgba(242,237,230,0.18); margin: 0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 20px 0;
    /* border-top: 1px solid #e5e5e0; */
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(242, 237, 230, 0.18);
}

.business-info-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 11px;
    color: rgba(242, 237, 230, 0.18);
}

.business-info-inline span {
    line-height: 1.4;
}

.business-info-inline a {
    color: rgba(242, 237, 230, 0.18);
    text-decoration: none;
    transition: color 0.2s;
}

.business-info-inline a:hover {
    color: white;
}

/* 약관 링크 */
.footer-legal-links {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
}

.footer-legal-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: white;
}

.footer-legal-links .divider {
    color: #ddd;
    margin: 0 8px;
}