/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700&display=swap');

:root {
    --paper-bg: #F0EAD6;       /* 계란색/종이 배경 */
    --ink-color: #1A1C1E;      /* 진한 잉크색 */
    --paper-primary: #5F6368;  /* 보조 텍스트 및 테두리 */
    --paper-secondary: #E6E0CF;/* 서브 배경 */
}

body {
    background-color: var(--paper-bg);
    color: var(--ink-color);
    font-family: 'Noto Serif KR', serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 720px;
    padding: 60px 20px;
    box-sizing: border-box;
    flex: 1;
}

/* Typography */
h1, h2, h3 {
    color: var(--ink-color);
    margin-bottom: 16px;
}

p {
    color: var(--ink-color);
    margin-bottom: 24px;
    font-size: 16px;
}

.text-muted {
    color: var(--paper-primary);
    font-size: 14px;
}

/* Divider (앱의 HorizontalDivider 느낌) */
hr {
    border: none;
    border-top: 1px solid rgba(95, 99, 104, 0.2); /* PaperPrimary 20% */
    margin: 40px 0;
}

/* Links & Buttons */
a {
    color: var(--ink-color);
    text-decoration: none;
    border-bottom: 1px solid var(--paper-primary);
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

.btn-download {
    display: inline-block;
    background-color: var(--ink-color);
    color: var(--paper-bg);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    margin-top: 24px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-download:hover {
    background-color: #000000;
    transform: translateY(-2px);
    opacity: 1; /* override a:hover */
}

/* Index - Hero Section */
.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero-logo {
    max-width: 100%;
    width: 480px; /* 원본 비율(1408x768)을 고려한 적절한 너비 */
    height: auto;
    margin-bottom: 32px;
    border-radius: 4px;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 32px 20px;
    background-color: var(--paper-secondary);
    border-top: 1px solid rgba(95, 99, 104, 0.1);
}

footer .footer-links {
    margin-bottom: 12px;
}

footer .footer-links a {
    margin: 0 12px;
    font-size: 14px;
    border-bottom: none;
    text-decoration: underline;
    text-decoration-color: var(--paper-primary);
}

/* Privacy Page Specific */
.back-link {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 700;
    border: none;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h3 {
    font-size: 18px;
    border-left: 3px solid var(--ink-color);
    padding-left: 12px;
    margin-bottom: 12px;
}