/* 심포라 홈페이지: 흰 바탕, 먹색 글씨, 남색 한 색. 제목 명조(Noto Serif KR), 본문 Pretendard */
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("fonts/Pretendard-Medium.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("fonts/Pretendard-Bold.subset.woff2") format("woff2"); }

:root {
  color-scheme: only light;
  --paper: #FFFFFF;
  --tint: #F7F7F5;
  --ink: #1A1A1A;
  --body: #2B2B2B;
  --muted: #777774;
  --line: #E6E5E1;
  --point: #2A47F5;
  --logo: #2A47F5;
  --f-logo: "Cormorant Garamond", Georgia, serif;
  --f-head: "Noto Serif KR", "Nanum Myeongjo", serif;
  --f-body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--f-body); font-size: 16.5px; line-height: 1.85; font-weight: 500; letter-spacing: -.005em;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--f-head); font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
b { color: var(--ink); font-weight: 700; }
a { color: inherit; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

/* 로고 */
/* 로고: 카드뉴스와 같은 파란 상자 (로고에만 이 파랑을 씀) */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo b { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; padding-bottom: 3px; font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: 13.5px; line-height: 1; color: #fff; background: var(--logo); -webkit-text-stroke: .2px #fff; }
.foot .logo b { width: 72px; height: 72px; font-size: 17.5px; padding-bottom: 4px; }
.foot .logo span { font-size: 22px; }
.top .logo { flex-direction: column; justify-content: center; gap: 7px; }
.top .logo span { font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: 32px; line-height: 1; color: var(--point); letter-spacing: 0; }
.top .logo small { font-family: var(--f-body); font-weight: 500; font-size: 11px; line-height: 1; color: var(--muted); letter-spacing: .3em; padding-left: .3em; }
.logo span { font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--body); }
.nav a:hover { color: var(--point); }

/* 버튼 */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 15.5px; line-height: 1; color: #fff; background: var(--point);
  padding: 15px 26px; border: 1px solid var(--point); border-radius: 2px;
}
.btn:hover { background: #1E36C9; }
.btn--big { font-size: 16.5px; padding: 18px 34px; }
.btn.is-off { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.link { font-size: 15.5px; color: var(--body); text-underline-offset: 5px; text-decoration-color: var(--line); }
.link:hover { color: var(--point); }
.btn:focus-visible, .nav a:focus-visible, .logo:focus-visible, .link:focus-visible, summary:focus-visible { outline: 2px solid var(--point); outline-offset: 3px; }

/* 첫 화면 */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner { padding-top: 120px; padding-bottom: 112px; display: grid; gap: 22px; justify-items: start; }
.hero__tag { font-size: 14px; color: var(--point); font-weight: 700; letter-spacing: .02em; }
.hero h1 { font-size: clamp(36px, 8vw, 58px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.hero__sub { font-size: 17px; color: var(--body); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 14px; }

/* 섹션 공통 */
.sec { padding: 104px 0; border-bottom: 1px solid var(--line); }
.sec--tint { background: var(--tint); }
.sec h2 { font-size: clamp(26px, 5vw, 32px); margin-bottom: 44px; display: grid; gap: 10px; }
.num { font-family: var(--f-logo); font-style: italic; font-size: 20px; font-weight: 700; color: var(--point); line-height: 1; }
.lead { font-size: 17px; margin-bottom: 40px; }
.sec h3 { font-size: 19px; }

/* 01 왜 */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.col { display: grid; gap: 14px; align-content: start; }
.name { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.name__eq { font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: clamp(24px, 5.4vw, 34px); line-height: 1.3; color: var(--muted); }
.name__eq span { color: var(--ink); }
.name__eq strong { color: var(--point); font-weight: 700; }

/* 02 모이는 방식 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; counter-reset: s; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: 18px; color: var(--point); line-height: 1; }
.not { margin-top: 64px; display: grid; gap: 14px; }
.not__title { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 19px; }
.not ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.not li { display: grid; grid-template-columns: 36px 1fr; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.not li::before { content: "\00D7"; font-size: 20px; line-height: 1; color: var(--point); }

/* 03 약속 */
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; border-top: 1px solid var(--ink); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules li::before { content: counter(r); font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: 19px; color: var(--point); line-height: 1.5; }

/* 04 지원 */
.flow { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 28px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.flow span { font-family: var(--f-logo); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--point); }
.flow b { font-family: var(--f-head); font-size: 17.5px; }
.flow p { margin-top: 4px; }
.join__note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* 05 질문 */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; }

/* 03 세 가지 모임 */
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.kinds li { display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto; padding-top: 20px; border-top: 1px solid var(--ink); }
.kinds__who { font-size: 13.5px; font-weight: 700; color: var(--point); }
.kinds__meta { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.term { margin-top: 64px; display: grid; gap: 14px; }
.term__title { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 19px; }
.term ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.term li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.term li b { color: var(--point); }
.term__note { font-size: 14.5px; color: var(--body); }


/* 아래 */
.foot { padding: 56px 0 64px; }
.foot__inner { display: grid; gap: 14px; justify-items: start; color: var(--muted); font-size: 14.5px; }
.foot__ig { color: var(--body); }

/* 휴대폰 하단 고정 버튼 */
.bar { display: none; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  /* 휴대폰: 로고 줄 아래에 메뉴 줄. 내리면 로고 줄은 올라가고 메뉴 줄만 위에 붙어 있음 */
  html { scroll-padding-top: 64px; }
  .top { top: -76px; }
  .top__inner { height: auto; flex-wrap: wrap; gap: 0; justify-content: center; }
  .top .logo { height: 76px; }
  .nav { width: 100%; margin-left: 0; height: 48px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; white-space: nowrap; }
  .hero__inner { padding-top: 80px; padding-bottom: 80px; }
  .hero__sub { font-size: 16px; }
  .sec { padding: 76px 0; }
  .sec h2 { margin-bottom: 36px; }
  .cols, .steps, .kinds { grid-template-columns: 1fr; gap: 36px; }
  .kinds li { grid-template-rows: none; }
  .term li { grid-template-columns: 80px 1fr; }
  .btn--big { width: 100%; }
  .bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  }
  .bar .btn { width: 100%; }
  .foot { padding-bottom: 112px; }
}
