:root {
  --ink: #0b0b0f;
  --sub: #8a8a93;
  --body: #44444c;
  --hairline: #e6e6ea;
  --bg: #f6f6f7;
  --peach: #f8c79a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; }

/* 머리말 ------------------------------------------------------------ */

.top {
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-right: auto;
}

.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }

.top nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  text-decoration: none;
}

.top nav a:hover { color: var(--ink); }
.top nav a + a { margin-left: 14px; }

/* 첫 화면 ----------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: #fff;
  padding: 78px 22px 84px;
  text-align: center;
}

.hero img {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.32;
  margin-bottom: 14px;
}

.hero p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.hero .accent { color: var(--peach); }

/* 본문 -------------------------------------------------------------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px 90px;
}

section { padding-top: 58px; }

h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 22px;
}

h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 5px;
}

p, li { color: var(--body); font-size: 14.5px; }

.features { display: grid; gap: 26px; }

@media (min-width: 620px) {
  .features { grid-template-columns: 1fr 1fr; gap: 30px 34px; }
}

.faq { border-top: 1px solid var(--hairline); }

.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 17px 2px;
}

.faq summary {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--sub);
  font-weight: 400;
  font-size: 19px;
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p { margin-top: 9px; padding-right: 26px; }

.contact {
  background: var(--bg);
  border-radius: 16px;
  padding: 26px 24px;
  margin-top: 8px;
}

.contact a {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--peach);
}

/* 약관 문서 --------------------------------------------------------- */

.doc { padding-top: 52px; }

.doc h1 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.doc .updated { color: var(--sub); font-size: 12.5px; margin-bottom: 34px; }

.doc article { margin-bottom: 27px; }

.doc article p { white-space: pre-line; }

/* 꼬리말 ------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--hairline);
  padding: 30px 22px 46px;
}

footer .inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 12.5px;
  color: var(--sub);
}

footer a { color: var(--sub); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .spacer { margin-left: auto; }
