:root {
  --base: #ffffff;
  --base-2: #f6f4f1;
  --contrast: #14120f;
  --contrast-2: #6b6660;
  --accent: #c1622d;
  --accent-ink: #ffffff;
  --dark-bg: #f3e4d4;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
  color: var(--contrast);
  background: var(--base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.logo { font-weight: 800; font-size: 21.5px; letter-spacing: -.03em; }
.logo span { color: var(--accent); }

nav.site-nav { display: flex; gap: 28px; }
nav.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  position: relative; padding-bottom: 4px;
}
nav.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .25s ease;
}
nav.site-nav a:hover::after { right: 0; }

.menu-toggle { display: none; }
.menu-toggle-btn { display: none; font-size: 1.6rem; background: none; border: none; cursor: pointer; }

@media (max-width: 780px) {
  nav.site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--base); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  nav.site-nav a { padding: 14px 24px; border-top: 1px solid rgba(0,0,0,.05); }
  .menu-toggle:checked ~ nav.site-nav { max-height: 400px; }
  .menu-toggle-btn { display: block; }
}

/* sections */
section { padding: 96px 24px; font-size: 17.5px; }
.dark { background: var(--dark-bg); color: var(--contrast); }
.alt { background: var(--base-2); }
.eyebrow {
  display: block; text-align: center; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; font-size: 14px; color: var(--accent); margin-bottom: 14px;
}
h1, h2 { font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 6vw, 43px); text-align: center; margin: 0 0 18px; line-height: 1.25; }
h2 { font-size: 30px; text-align: center; margin: 0 0 36px; }
p.lead { text-align: center; font-size: 18.5px; font-weight: 400; max-width: 620px; margin: 0 auto 34px; color: var(--contrast-2); }

.cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 700; transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn.outline { background: transparent; color: var(--contrast); border: 1px solid rgba(0,0,0,.3); }

.placeholder {
  border: 1px dashed rgba(0,0,0,.25); border-radius: var(--radius);
  min-height: 240px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--contrast-2); background: rgba(0,0,0,.02);
}
.dark .placeholder { border-color: rgba(0,0,0,.2); background: rgba(255,255,255,.4); }
.placeholder.small { min-height: 170px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 32px; max-width: 940px; margin: 44px auto 0; }
.feature { text-align: center; }
.feature .icon {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.feature p { margin: 0; font-size: 17px; font-weight: 400; }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 26px; }
.grid4 figure { margin: 0; }
.grid4 figcaption { text-align: center; margin-top: 12px; font-size: 15px; font-weight: 400; }

.cols2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 32px; text-align: center; }
.steps .num {
  width: 52px; height: 52px; line-height: 52px; margin: 0 auto 14px;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent);
  font-size: 1.3rem; font-weight: 800;
}

details {
  border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius); padding: 16px 20px;
  margin-bottom: 12px; max-width: 820px; margin-left: auto; margin-right: auto;
  transition: border-color .2s ease;
}
details[open] { border-color: var(--accent); }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--contrast-2); }

footer.site-footer {
  background: var(--base-2); color: var(--contrast-2); padding: 28px 24px; border-top: 1px solid rgba(0,0,0,.06);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* subpage content (story, etc.) */
.article { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.article h1 { text-align: left; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article .meta { color: var(--contrast-2); font-size: .9rem; margin-bottom: 32px; }
.article p { margin: 0 0 20px; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--accent); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
