/* PicLog content pages — warm, editorial "paper" system.
   Shared by intro, guide hub + articles, about, privacy, terms, contact. */
:root {
  --ink: #241f1b;
  --ink-soft: #6b635b;
  --ink-faint: #9a9086;
  --line: #e7e1d8;
  --line-soft: #f0eae1;
  --shell: #f4efe7;
  --paper: #fffdf9;
  --panel: #f7f4ef;
  --accent: #b06a4f;      /* muted clay — used sparingly */
  --accent-soft: #f3e3d9;
  --tape: #dfe7d6;
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(60, 45, 30, 0.04), 0 10px 30px rgba(60, 45, 30, 0.06);
  --shadow-lift: 0 2px 4px rgba(60, 45, 30, 0.06), 0 18px 44px rgba(60, 45, 30, 0.12);
  --font: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Nanum Myeongjo", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 8% -12%, #faf4ea 0%, transparent 55%),
    radial-gradient(1000px 560px at 100% -6%, #ece3d5 0%, transparent 52%),
    var(--shell);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--ink); text-underline-offset: 3px; transition: opacity 0.15s, color 0.15s; }
a:hover { opacity: 0.72; }

.wrap {
  width: min(760px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.25rem 0 4.5rem;
}
.wrap.wide { width: min(1040px, calc(100% - 2.4rem)); }

/* ---- header / nav ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand:hover { opacity: 1; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.15rem; height: 2.15rem;
  border-radius: 0.7rem;
  background: var(--ink); color: #fff;
  font-size: 1.35rem; line-height: 1;
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: 0.97rem; letter-spacing: -0.01em; }
.brand > span > span, .brand-sub { display: block; font-size: 0.68rem; color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.05rem; font-size: 0.85rem; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 0.15rem 0; }
.nav a:hover { color: var(--ink); opacity: 1; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }

/* ---- typography ---- */
h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.18; margin: 0 0 0.85rem;
  letter-spacing: -0.025em; font-weight: 700; color: var(--ink);
}
h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin: 2.6rem 0 0.75rem; letter-spacing: -0.015em; font-weight: 700;
}
h3 { font-size: 1.06rem; margin: 1.6rem 0 0.45rem; font-weight: 600; }
p, li { font-size: 1.0rem; color: #37312b; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft); margin: 0 0 1.6rem; line-height: 1.65;
}
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.9rem;
}
.meta { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 1.4rem; }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }
strong { color: var(--ink); }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote {
  margin: 1.5rem 0; padding: 0.6rem 0 0.6rem 1.1rem;
  border-left: 3px solid var(--accent); color: var(--ink-soft); font-style: italic;
}
main :is(p, ul, ol) { max-width: 68ch; }

/* ---- breadcrumb ---- */
.crumbs { font-size: 0.8rem; color: var(--ink-faint); margin: 0 0 1rem; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 0.4rem; opacity: 0.6; }

/* ---- hero ---- */
.hero { padding: 0.5rem 0 0.5rem; position: relative; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }

/* ---- buttons ---- */
.btn, .cta, .cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.15rem; border-radius: 0.85rem;
  font-size: 0.9rem; font-weight: 600; text-decoration: none !important;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.btn-primary, .cta {
  background: var(--ink); color: #fff !important; box-shadow: var(--shadow);
}
.btn-primary:hover, .cta:hover { opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost, .cta-secondary {
  background: var(--paper); color: var(--ink) !important; border-color: var(--line);
}
.btn-ghost:hover, .cta-secondary:hover { opacity: 1; border-color: var(--ink-faint); transform: translateY(-1px); }

/* ---- cards / grids ---- */
.feature-grid { display: grid; gap: 0.9rem; margin: 1.6rem 0; }
@media (min-width: 620px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature {
  padding: 1.1rem 1.15rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow);
}
.feature .ico { font-size: 1.4rem; line-height: 1; display: block; margin-bottom: 0.55rem; }
.feature h3 { margin: 0 0 0.35rem; font-size: 1.0rem; }
.feature p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

.card-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
@media (min-width: 620px) { .card-list.two { grid-template-columns: 1fr 1fr; } }
.card-list a {
  display: block; text-decoration: none; padding: 1.05rem 1.15rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow);
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
}
.card-list a:hover { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--ink-faint); }
.card-list strong { display: block; margin-bottom: 0.22rem; font-size: 1.0rem; letter-spacing: -0.01em; }
.card-list span { display: block; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }

/* section label for grouped hubs */
.group-title {
  display: flex; align-items: baseline; gap: 0.6rem;
  margin: 2.6rem 0 0.2rem; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint);
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.4rem 0; display: grid; gap: 0.75rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0.05rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700;
  background: var(--accent-soft); color: var(--accent);
}

/* FAQ */
.faq { margin: 1.4rem 0; display: grid; gap: 0.6rem; }
.faq details {
  border: 1px solid var(--line); border-radius: 0.85rem;
  background: var(--paper); padding: 0.2rem 1rem; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 0.8rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq p { margin: 0.7rem 0 0.9rem; font-size: 0.95rem; color: var(--ink-soft); }

/* callout panel */
.panel {
  margin: 1.8rem 0; padding: 1.2rem 1.3rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}
.panel :is(p, ul) { margin: 0.4rem 0; }
.panel :first-child { margin-top: 0; }

/* decorative tape accent */
.tape {
  display: inline-block; padding: 0.15rem 0.9rem; transform: rotate(-2deg);
  background: var(--tape); color: #4a5540; font-size: 0.75rem; font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---- footer ---- */
.site-footer {
  margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; opacity: 1; }
.site-footer .sep { flex: 1; }

@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
