/* 매니미 홈페이지 하위 페이지 공통(요금제·앱 다운로드·결과물 모음). 홈과 같은 서체·색·머리 메뉴 */
:root {
  color-scheme: light;
  --ink: #111816; --ink-2: #353f3b; --ink-3: #5f6964; --canvas: #f1f3f2; --night: #0e1412;
  --mint: #1BDBC8; --mint-h: #16C4B3; --on-mint: #06281d; --mint-soft: #DEF3EE; --mint-ink: #00998C; --line: rgba(17,24,22,.1);
  --gut: clamp(16px, 5.4vw, 88px); --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--canvas); color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  font-size: 17px; line-height: 1.5; letter-spacing: -0.025em; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.in { max-width: 1240px; margin: 0 auto; }
.br-m { display: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border: 0; border-radius: 16px; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn--mint { background: var(--mint); color: var(--on-mint); }
.btn--mint:hover { background: var(--mint-h); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a3430; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17,24,22,.16); }
.btn--sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; }

/* 머리 메뉴(홈과 같음) */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--gut); background: rgba(241,243,242,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.nav__logo svg { display: block; height: 24px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-right: auto; font-size: 15px; color: var(--ink-2); }
.nav__links a { position: relative; }
.nav__links a:hover, .nav__login:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav__links a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--mint); }
.nav__login { font-size: 15px; color: var(--ink-2); }

/* 페이지 머리: 가운데 큰 제목 */
.hero { padding: clamp(72px, 12vh, 136px) var(--gut) clamp(48px, 7vh, 80px); text-align: center; }
.hero h1 { font-size: clamp(36px, 5vw, 76px); line-height: 1.14; letter-spacing: -0.055em; font-weight: 800; text-wrap: balance; }
.hero p { margin: 22px auto 0; max-width: 40ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hl { background: linear-gradient(transparent 58%, rgba(27,219,200,.45) 58%, rgba(27,219,200,.45) 94%, transparent 94%); }

/* 구역 */
.sec { padding: clamp(96px, 14vh, 160px) var(--gut); }
.sec--white { background: #fff; }
.sec__h { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.16; letter-spacing: -0.055em; font-weight: 800; text-align: center; text-wrap: balance; }
.sec__lead { margin: 18px auto 0; max-width: 46ch; text-align: center; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }

/* 질문 */
.faq { max-width: 820px; margin: clamp(40px, 6vh, 64px) auto 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.035em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 62ch; }

/* 끝 */
.end { padding: clamp(96px, 14vh, 150px) var(--gut) 48px; text-align: center; background: var(--canvas); }
.end h2 { margin: 0 0 32px; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.16; letter-spacing: -0.055em; font-weight: 800; }
.end__foot { margin-top: clamp(72px, 12vh, 120px); font-size: 14px; color: var(--ink-3); }
.end__foot a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .br-m { display: inline; }
  .nav { flex-wrap: wrap; height: auto; gap: 0 14px; padding-top: 12px; }
  .nav__logo svg { height: 20px; }
  .nav__login { margin-left: auto; }
  .nav__links { order: 9; width: calc(100% + var(--gut) * 2); margin: 8px calc(var(--gut) * -1) 0; padding: 0 var(--gut); gap: 22px; overflow-x: auto; scrollbar-width: none; font-size: 14px; white-space: nowrap; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { padding: 8px 0 10px; }
  .nav__links a[aria-current="page"]::after { bottom: 2px; }
  .faq summary { font-size: 18px; padding: 20px 36px 20px 0; }
  .sec { padding-top: 80px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.end__foot { display: flex; flex-direction: column; gap: 6px; line-height: 1.6; }
.end__foot p { margin: 0; }
.end__foot b { font-weight: 700; color: var(--ink-2, #353f3b); }
.end__foot p span { white-space: nowrap; }

/* 12-01 휴대폰 머리: 메뉴는 오른쪽 위 버튼(☰)을 눌러 펼친다. 로고 · 무료로 시작하기 · 메뉴 버튼 한 줄 */
.nav__menu { display: none; }
@media (max-width: 760px) {
  body .nav { flex-wrap: wrap; height: auto; align-items: center; gap: 0 6px; padding-top: 8px; padding-bottom: 8px; }
  body .nav .nav__logo { margin-right: auto; }
  body .nav .nav__links, body .nav .nav__login { display: none; }
  body .nav .nav__menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 12px; background: none; cursor: pointer; }
  body .nav .nav__menu i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
  body .nav.is-open .nav__menu i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body .nav.is-open .nav__menu i:nth-child(2) { opacity: 0; }
  body .nav.is-open .nav__menu i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body .nav.is-open { background: rgba(241, 243, 242, .98); }
  body .nav.is-open .nav__links { display: flex; flex-direction: column; order: 9; width: 100%; margin: 12px 0 0; padding: 0; gap: 0; overflow: visible; border-top: 1px solid rgba(17, 24, 22, .1); font-size: 20px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); white-space: normal; }
  body .nav.is-open .nav__links a { padding: 18px 0; border-bottom: 1px solid rgba(17, 24, 22, .08); }
  body .nav.is-open .nav__links a::after { display: none; }
  body .nav.is-open .nav__login { display: block; order: 10; width: 100%; margin: 0; padding: 20px 0 16px; font-size: 17px; color: var(--ink-3); }
}
@media (max-width: 760px) { body .nav .nav__menu { color: var(--ink); } }
