/* site.css - copy of the home page inline <style> block (theme styles, dark navy + amber). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #0f172a;
    --surface: #1e293b;
    --card: #243044;
    --ink: #f8fafc;
    --muted: #94a3b8;
    --line: #334155;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-soft: rgba(245,158,11,0.12);
    --font: 'Noto Sans KR', system-ui, sans-serif;
    --max: 780px;
}
html { scroll-behavior: smooth; }
body#ub-body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); }

#ub-alert {
    background: var(--amber);
    color: #0f172a;
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}
#ub-alert a { color: #0f172a; text-decoration: underline; }

#ub-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 1.25rem;
}
#ub-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
#ub-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
}
#ub-brand img { height: 30px; }
#ub-brand span { font-weight: 700; font-size: 0.86rem; }
#ub-header-btn {
    padding: 0.5rem 1rem;
    background: var(--amber);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.84rem;
    border-radius: 6px;
    text-decoration: none;
}

#ub-hero {
    padding: 2.5rem 1.25rem 2rem;
    border-bottom: 1px solid var(--line);
}
#ub-hero-inner { max-width: var(--max); margin: 0 auto; }
#ub-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.7rem;
}
#ub-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    animation: ub-pulse 1.5s infinite;
}
@keyframes ub-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
#ub-h1 {
    font-size: clamp(1.5rem, 4vw, 2.05rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.85rem;
}
#ub-lead { color: var(--muted); font-size: 1.02rem; max-width: 54ch; margin-bottom: 1.35rem; }
#ub-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
#ub-hero-btn {
    padding: 0.8rem 1.4rem;
    background: var(--amber);
    color: #0f172a;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.94rem;
}
#ub-hero-note { font-size: 0.84rem; color: var(--muted); }

#ub-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.ub-callout {
    background: var(--amber-soft);
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.94rem;
    color: #fde68a;
    line-height: 1.65;
}
.ub-callout strong { color: var(--amber); }

.ub-block {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.45rem 1.55rem;
    margin-bottom: 1rem;
}
.ub-block h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.ub-block p { color: #cbd5e1; margin-bottom: 0.85rem; font-size: 0.98rem; }
.ub-block p:last-child { margin-bottom: 0; }
.ub-block strong { color: var(--ink); font-weight: 600; }

.ub-img {
    margin-top: 1.1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.ub-img a { display: block; line-height: 0; }
.ub-img img { width: 100%; height: auto; display: block; }

#ub-checklist {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    margin: 1.5rem 0;
}
#ub-checklist h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--ink);
}
.ub-check {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}
.ub-check:last-child { border-bottom: none; padding-bottom: 0; }
.ub-check strong { color: var(--amber); font-weight: 600; }

#ub-faq { margin-top: 0.5rem; }
#ub-faq > h2 { font-size: 1.08rem; font-weight: 700; margin-bottom: 1rem; }
.ub-qa {
    border-left: 3px solid var(--amber);
    padding: 0.85rem 0 0.85rem 1rem;
    margin-bottom: 1rem;
}
.ub-qa h3 { font-size: 0.94rem; font-weight: 700; margin-bottom: 0.35rem; line-height: 1.45; }
.ub-qa p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }

#ub-author {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
#ub-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
}
#ub-author-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
#ub-author-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

#ub-foot {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 2rem 1.25rem;
    text-align: center;
}
#ub-foot-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
#ub-foot-logos img { height: 28px; opacity: 0.7; }
#ub-foot-copy { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }
#ub-foot-legal {
    font-size: 0.72rem;
    color: #64748b;
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.55;
}

#ub-stick {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.7rem 1rem;
    background: var(--surface);
    border-top: 1px solid var(--line);
    z-index: 80;
}
#ub-stick a {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: var(--amber);
    color: #0f172a;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

@media (max-width: 600px) {
    #ub-author { flex-direction: column; }
    #ub-stick { display: block; }
    body#ub-body { padding-bottom: 4rem; }
}
