/*
 * 글꼴은 외부(CDN·Google Fonts) 요청 없이 사이트에서 직접 내려준다. 둘 다 SIL Open Font License 1.1 (fonts/*/LICENSE.txt)
 * - Pretendard Variable: build.mjs가 fonts/pretendard/의 동적 서브셋 CSS를 링크한다 (pretendard@1.3.9)
 * - Hedvig Letters Serif: 회사 소개 워드마크용 latin 400 (@fontsource/hedvig-letters-serif@5.3.1)
 */
@font-face {
  font-family: 'Hedvig Letters Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/hedvig-letters-serif/hedvig-letters-serif-latin-400-normal.woff2) format('woff2');
}

/* 낙낙피플 랜딩. 색은 앱 디자인 토큰(apps/mobile/src/theme/tokens.ts)을 바탕으로 웹 명도 대비(WCAG AA)에 맞췄어요. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-warm: #faf8f4;
  --surface-muted: #f4f4f5;
  --border: #e6e8e6;
  --text: #1c201d;
  --text-muted: #4e5953;
  --text-subtle: #57635c;
  --primary: #2d6e2a;
  --primary-pressed: #225520;
  --primary-soft: #eaf5e9;
  --on-primary: #ffffff;
  --brand: #54b751;
  --accent: #ffac33;
  --radius-md: 12px;
  --radius-lg: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  accent-color: var(--primary);
  caret-color: var(--primary);
  scrollbar-color: var(--border) transparent;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { line-height: 1.22; margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary-soft); color: var(--text); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { border-radius: 8px; }
.header-nav { display: flex; align-items: center; min-width: 0; margin-left: auto; }
.header-tabs { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.header-tabs::-webkit-scrollbar { display: none; }
/* 중간 폭: 탭이 넘치면 로고를 줄바꿈하지 않고 탭 띠를 가로로 넘긴다 */
@media (min-width: 601px) and (max-width: 760px) { .header-tabs a { padding: 8px 8px; font-size: 14px; } }
.header-tabs a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.header-tabs a:hover { color: var(--text); background: var(--surface-muted); }
.header-tabs a[aria-current='true'] { color: var(--text); font-weight: 600; }
.header-cta {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; border-radius: 8px; white-space: nowrap;
  background: var(--primary); color: var(--on-primary); font-size: 15px; font-weight: 600; padding: 8px 16px;
}
.header-cta:hover { background: var(--primary-pressed); }
/* 모바일: 1줄 브랜드·앱 받기, 2줄 섹션 탭 띠 (넘치면 가로 스크롤 + 끝 페이드) */
@media (max-width: 600px) {
  html { scroll-padding-top: 112px; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 0 12px; }
  .brand { height: 44px; }
  .header-cta { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 14px; }
  .header-nav { order: 3; flex: 0 0 calc(100% + 40px); margin: 2px -20px 0; position: relative; }
  .header-tabs {
    width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    padding: 0 14px 6px; gap: 2px; scroll-padding-inline: 14px;
  }
  .header-tabs::-webkit-scrollbar { display: none; }
  .header-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; font-size: 15px; }
  .header-nav::before, .header-nav::after {
    content: ''; position: absolute; top: 0; bottom: 6px; width: 32px; pointer-events: none;
    opacity: 0; transition: opacity 160ms ease;
  }
  .header-nav::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
  .header-nav::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
  .header-nav.fade-start::before, .header-nav.fade-end::after { opacity: 1; }
}

/* 공통 */
.section { padding: 96px 0; }
.section-muted { background: var(--surface-muted); }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 16px; max-width: 18ch; }
.section p { color: var(--text-muted); font-size: 17px; max-width: 36em; }
.text-link { font-weight: 600; font-size: 17px; }

.button-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-md);
  background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.button-primary:hover { background: var(--primary-pressed); }
.button-primary:active { transform: scale(0.98); }
.button-ghost {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--primary);
  background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; cursor: pointer; min-height: 44px;
}
.button-secondary {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 20px; border-radius: var(--radius-md);
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.button-secondary:hover { border-color: var(--primary); background: var(--primary-soft); }
.button-ghost:hover { background: var(--primary-soft); border-color: transparent; }

/* 스토어 버튼 */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 164px; min-height: 60px; padding: 8px 20px; border-radius: var(--radius-md);
  background: var(--text); color: var(--bg); text-decoration: none; line-height: 1.25;
  transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.store:hover { opacity: 0.88; }
.store:active { transform: scale(0.98); }
.store-sub { font-size: 12px; font-weight: 500; opacity: 0.82; }
.store-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.store.is-soon { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.store.is-soon:hover { opacity: 1; border-color: var(--primary); background: var(--primary-soft); }
.store.is-soon .store-sub { color: var(--primary); opacity: 1; font-weight: 600; }
.stores-note { margin-top: 12px; color: var(--text-subtle); font-size: 14px; line-height: 1.6; }
.cta .stores-note, .invite .stores-note { text-align: center; }

/* 히어로: 장식 박스를 걷어내고 여백과 화면에 집중 */
.hero {
  overflow-x: clip;
  padding: 72px 0 96px;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border);
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-copy { width: 46%; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 span, .cta h2 span, .cta .lead span { display: inline-block; }
.feature h2 > span { display: block; }
.hero h1 {
  color: var(--text);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.lead { color: var(--text-muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; max-width: 28em; }

/* 앱 화면 목업 */
.phone-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.phone {
  --b: 6px;
  position: relative; width: 100%; overflow: hidden; background: var(--surface);
  border: var(--b) solid var(--text); border-radius: 32px;
  box-shadow: 0 24px 48px -12px rgba(28, 32, 29, 0.16);
}
.phone img { width: 100%; display: block; }
.phone-item figcaption {
  color: var(--text-subtle); font-size: 13px; font-weight: 500; text-align: center;
}

/* 히어로 화면 둘러보기: 프레임은 고정, 안쪽 트랙만 옆으로 넘어간다 */
.tour { width: 50%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
/* 비율은 테두리 안쪽 화면에 건다: 스크린샷이 잘리지 않아야 .spot 좌표(%)가 맞는다 */
.tour-phone { box-sizing: content-box; width: calc(min(280px, 100%) - 2 * var(--b)); aspect-ratio: 720 / 1566; background-size: cover; isolation: isolate; container-type: inline-size; }
.tour-track { display: flex; height: 100%; transition: transform 720ms cubic-bezier(0.65, 0, 0.35, 1); }
.tour-track img { width: 100%; height: 100%; flex: none; object-fit: cover; object-position: top; }
.spot {
  position: absolute; left: 3.5%; top: 69%; width: 93%; height: 20%;
  border-radius: 7cqw; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 999px rgba(16, 20, 18, 0.42), 0 0 0 2px rgba(255, 255, 255, 0.95);
  transition: left 600ms cubic-bezier(0.65, 0, 0.35, 1), top 600ms cubic-bezier(0.65, 0, 0.35, 1),
    width 600ms cubic-bezier(0.65, 0, 0.35, 1), height 600ms cubic-bezier(0.65, 0, 0.35, 1), opacity 300ms ease;
}
.tour.is-ready .spot { opacity: 1; }
.tour.is-moving .spot, .tour.no-spot .spot { opacity: 0; transition: opacity 200ms ease; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(340px, 100%); }
.tour-steps button {
  width: 100%; min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 4px 0;
  background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-subtle);
  text-align: left; border-radius: 6px; white-space: nowrap;
}
.tour-steps button[aria-current='step'] { color: var(--text); }
.tour-bar { position: relative; display: block; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.tour-bar::after { content: ''; position: absolute; inset: 0; background: var(--primary); transform-origin: left; transform: scaleX(0); }
.tour-steps button[aria-current='step'] .tour-bar::after { transform: scaleX(1); }
.tour.is-playing button[aria-current='step'] .tour-bar::after { animation: tour-fill var(--tour-dur, 3200ms) linear both; }
.tour.is-paused button[aria-current='step'] .tour-bar::after { animation-play-state: paused; }
@keyframes tour-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 혼자 ●──● 친구와 */
.duo { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 24px; width: min(360px, 100%); }
.duo-end { display: flex; align-items: flex-end; gap: 6px; flex: none; }
.duo-end b { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1; padding-bottom: 6px; }
.duo-end img { width: 32px; height: auto; }
.duo-group { display: flex; }
.duo-group img + img { margin-left: -11px; }
.duo-crew { flex-direction: row-reverse; }
.duo-line { position: relative; flex: 1; height: 10px; margin-bottom: 8px; }
.duo-line::before, .duo-line::after {
  content: ''; position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
}
.duo-line::before { left: 0; }
.duo-line::after { right: 0; background: var(--accent); }
.duo-line i { position: absolute; left: 5px; right: 5px; top: 4px; height: 2px; background: var(--primary); transform-origin: left; }

/* 강조: 화면을 어둡게 하고 한 줄만 프레임 밖으로 꺼낸다 */
.phone-stage { position: relative; width: 100%; }
.dim { position: absolute; inset: 0; background: rgba(16, 20, 18, 0.5); pointer-events: none; }
.pop {
  --iw: 720; --ih: 1566; --cx: 26.2; --cw: 667.6; --r: 44; --b: 6px; --tx: 0px; --ty: 0px; --s: 1.12;
  position: absolute; pointer-events: none; overflow: hidden;
  left: calc(var(--b) + (100% - 2 * var(--b)) * var(--cx) / var(--iw));
  top: calc(var(--b) + (100% - 2 * var(--b)) * var(--cy) / var(--ih));
  width: calc((100% - 2 * var(--b)) * var(--cw) / var(--iw));
  aspect-ratio: var(--cw) / var(--ch);
  /* 실제 화면 조각을 경계 그대로 잘라 같은 모서리로 띄운다 (r·cw·ch는 720px 폭 스크린샷 기준) */
  border-radius: calc(100% * var(--r) / var(--cw)) / calc(100% * var(--r) / var(--ch));
  transform: translate(var(--tx), var(--ty)) scale(var(--s));
  box-shadow: 0 16px 32px -10px rgba(16, 20, 18, 0.45);
}
.pop img { position: absolute; max-width: none; width: calc(100% * var(--iw) / var(--cw)); left: calc(-100% * var(--cx) / var(--cw)); top: calc(-100% * var(--cy) / var(--ch)); }

/* 루틴 체크 영상: iOS 시뮬레이터 녹화(iPhone 17, 상태바 포함)를 720x1566으로 줄였다.
   탭 표시는 영상 속에서 누른 '스트레칭 10분' 줄 자리(x 37.3%, y 64.9%)에 맞춘다 */
.clip-phone { aspect-ratio: 720 / 1566; background: #f4f5f3; }
.clip { display: block; width: 100%; height: 100%; object-fit: cover; }
.tap {
  position: absolute; left: 37.3%; top: 64.9%; width: 14%; aspect-ratio: 1; margin: -7% 0 0 -7%;
  border-radius: 50%; background: rgba(28, 32, 29, 0.18); border: 2px solid rgba(28, 32, 29, 0.35);
  opacity: 0; transform: scale(0.4); pointer-events: none;
}
.clip-phone.is-tap .tap { animation: tap 700ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes tap { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
/* 영상 멈추기·다시 보기 (WCAG 2.2.2) */
.clip-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(16, 20, 18, 0.62); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.clip-toggle:hover { background: rgba(16, 20, 18, 0.78); }
.clip-toggle .i-play, .clip-toggle .i-replay { display: none; }
.clip-toggle[data-state='paused'] .i-pause, .clip-toggle[data-state='ended'] .i-pause { display: none; }
.clip-toggle[data-state='paused'] .i-play { display: block; }
.clip-toggle[data-state='ended'] .i-replay { display: block; }

/* 인증 보기: 실기기에서 캡처한 화면을 차례로 넘긴다 */
.shot { position: relative; width: 100%; aspect-ratio: 720 / 1566; background: #141414; overflow: hidden; }
.shot-page { position: absolute; inset: 0; transition: opacity 360ms ease; }
.shot-page:not(.is-on) { opacity: 0; }
.shot-page img { display: block; width: 100%; height: auto; }
.shot-phone { background: #141414; }

/* 떠 있는 카드: 캠프 루틴 줄 + 인증 동그라미 (앱 ProofStrip) */
.float-card {
  position: absolute; pointer-events: none; z-index: 2;
  background: #fff; border: 2px solid #f0f0f0; border-radius: 22px;
  box-shadow: 0 18px 36px -12px rgba(16, 20, 18, 0.35);
}
/* 폰 아래 '응원했어요' 버튼(화면 아래 5~10%)을 가리지 않도록 그 위에 띄운다 */
.proof-card { left: -22%; bottom: 14%; width: 100%; max-width: 268px; padding: 12px 12px 10px; display: grid; gap: 10px; }
.proof-card-top { display: flex; align-items: center; gap: 10px; }
.proof-card-name { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.proof-card-name b { font-size: 16px; font-weight: 700; color: #313131; }
.proof-card-name small { font-size: 13px; font-weight: 600; color: #66757f; }
.r-check { position: relative; width: 40px; height: 40px; border-radius: 12px; background: #f4f4f5; flex: none; }
.r-check::after { content: ''; position: absolute; left: 15px; top: 9px; width: 9px; height: 17px; border: solid #54b751; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.proof-strip { display: flex; gap: 10px; }
.proof-strip > span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 50px; }
.proof-strip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #54b751; }
.proof-strip small { font-size: 12px; font-weight: 600; color: #313131; }

/* 왜 필요할까: 단톡방 인증 vs 캠프 인증 */
.why { padding: 112px 0; border-bottom: 1px solid var(--border); overflow-x: clip; }
.why-head { max-width: 34rem; margin-bottom: 48px; }
.why h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin-bottom: 20px; }
.why h2 > span { display: block; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.why-card { margin: 0; padding: 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 20px; }
.why-card figcaption { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.why-tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(28, 32, 29, 0.08); color: var(--text-muted); }
.why-tag-rc { background: var(--primary-soft); color: var(--primary); }
.why-chat { background: #eef0f2; }
.why-rc { background: var(--surface); border: 2px solid var(--primary-soft); box-shadow: 0 24px 48px -24px rgba(45, 110, 42, 0.35); }
.chat { display: flex; flex-direction: column; gap: 6px; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.chat-who { font-size: 12px; font-weight: 600; color: var(--text-subtle); margin-top: 6px; }
.chat-bubble { background: #fff; padding: 8px 12px; border-radius: 4px 16px 16px 16px; font-size: 15px; line-height: 1.45; max-width: 85%; }
.chat-photo img { width: 104px; height: 140px; object-fit: cover; border-radius: 12px; }
.chat-day { align-self: center; margin: 8px 0 2px; font-size: 12px; color: var(--text-subtle); background: rgba(28, 32, 29, 0.06); padding: 2px 10px; border-radius: 999px; }
.why-pains { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid rgba(28, 32, 29, 0.1); display: grid; gap: 6px; }
.why-pains li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text-muted); }
.why-pains li::before, .why-pains li::after { content: ''; position: absolute; left: 4px; top: 50%; width: 12px; height: 2px; background: #a1a8a4; }
.why-pains li::before { transform: rotate(45deg); }
.why-pains li::after { transform: rotate(-45deg); }
.why-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.why-steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--surface-warm); }
.why-steps li::before { content: counter(step); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.why-steps b { font-size: 16px; }
.why-proofs { display: flex; }
.why-proofs img { width: 56px; height: 72px; border-radius: 12px; object-fit: cover; border: 2px solid #54b751; background: #fff; }
.why-proofs { gap: 8px; }
.why-gauge { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: #f4f4f5; font-size: 14px; font-weight: 600; color: #313131; }
.why-gauge-track { flex: 1; height: 16px; padding: 2px; border-radius: 999px; background: #fff; }
.why-gauge-track i { display: block; width: 75%; height: 100%; border-radius: 999px; background: #ffac33; transform-origin: left; }
.why-gauge-count { font-size: 16px; }
.why-result { display: grid; gap: 6px; }
.why-rank { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #2a6427; color: #fff; font-size: 15px; font-weight: 700; }
/* 1등 MVP는 따로 띄운다: 주황 테두리와 빛, 살짝 크게 */
.why-rank-mvp {
  position: relative; z-index: 1; background: #fff; color: #313131; padding-block: 10px;
  box-shadow: 0 0 0 2px #ffac33, 0 10px 22px -10px rgba(255, 172, 51, 0.75);
  transform: scale(1.03);
}
.why-rank i { font-style: normal; width: 14px; text-align: center; }
.why-rank em { font-style: normal; margin-left: auto; }
.badge-mvp, .badge-short { display: inline-flex; align-items: center; gap: 3px; padding: 2px 10px; border-radius: 999px; background: #ffac33; color: #313131; font-size: 13px; font-weight: 700; }
.why-foot { font-size: 15px; color: var(--text-muted); margin-top: auto; }
@media (max-width: 880px) {
  .why { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .why { padding: 64px 0; }
  .why-head { margin-bottom: 32px; }
  .why h2 { font-size: 30px; margin-bottom: 14px; }
  .why-card { padding: 20px; border-radius: 20px; }
  .proof-card { left: -16%; bottom: 14%; width: 92%; max-width: 226px; padding: 10px; gap: 8px; }
  .proof-strip > span { width: 40px; }
  .proof-strip img { width: 36px; height: 36px; }
  .proof-card-name b { font-size: 14px; }
  .proof-card-name small { font-size: 12px; }
  .why-chat .chat-photo img { width: 84px; height: 112px; }
  .proof-strip { gap: 6px; }
  .proof-strip img { width: 40px; height: 40px; }
  .r-check { width: 36px; height: 36px; }
  .r-check::after { left: 13px; top: 7px; }
}

/* 알림 카드: 캠프 폰 위로 튀어나온다 (앱 알림 문구 그대로) */
.notis { list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; top: 9%; width: 118%; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.noti {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: rgba(250, 250, 250, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px -10px rgba(16, 20, 18, 0.35), 0 0 0 1px rgba(16, 20, 18, 0.05);
  font-size: 13px; line-height: 1.4; color: var(--text);
}
.noti img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.noti-body { display: flex; flex-direction: column; min-width: 0; }
.noti-head { display: flex; justify-content: space-between; gap: 8px; }
.noti-head b { font-weight: 700; }
.noti time { color: var(--text-subtle); font-size: 12px; }

/* 손그림 원·밑줄 */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark svg { position: absolute; pointer-events: none; overflow: visible; }
.mark path { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark-circle { left: -16%; top: -14%; width: 132%; height: 130%; }
.mark-circle path { stroke-width: 3px; }
.mark-under { left: -4%; bottom: -0.32em; width: 108%; height: 0.5em; }
h2 .mark-under { bottom: -0.04em; height: 0.3em; }
.mark-under path { stroke-width: 3px; }

/* 스크롤 모션: JS가 있고 모션을 줄이지 않은 경우에만 시작 상태를 둔다. 기본은 완성된 모습. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-in) .duo-line i { transform: scaleX(0); }
  .js [data-reveal]:not(.is-in) .duo-line::after,
  .js [data-reveal]:not(.is-in) .duo-group img { opacity: 0; transform: translateY(8px) scale(0.6); }
  .duo-line i { transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1) 200ms; }
  .duo-line::after { transition: opacity 240ms ease 1050ms, transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 1050ms; }
  .duo-group img { transition: opacity 240ms ease, transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .duo-group img:nth-child(5) { transition-delay: 1050ms; }
  .duo-group img:nth-child(4) { transition-delay: 1150ms; }
  .duo-group img:nth-child(3) { transition-delay: 1250ms; }
  .duo-group img:nth-child(2) { transition-delay: 1350ms; }
  .duo-group img:nth-child(1) { transition-delay: 1450ms; }

  .js [data-reveal]:not(.is-in) .dim { opacity: 0; }
  .js [data-reveal]:not(.is-in) .pop { opacity: 0; transform: none; box-shadow: none; }
  .dim { transition: opacity 600ms ease 300ms; }
  .pop { transition: opacity 250ms ease 450ms, transform 700ms cubic-bezier(0.34, 1.4, 0.64, 1) 450ms, box-shadow 700ms ease 450ms; }
  .pop-late { transition-delay: 900ms; }

  .js [data-reveal]:not(.is-in) .float-card { opacity: 0; transform: translateY(24px) scale(0.94); }
  .float-card { transition: opacity 300ms ease 700ms, transform 600ms cubic-bezier(0.34, 1.4, 0.64, 1) 700ms; }

  .js [data-reveal]:not(.is-in) .chat > *,
  .js [data-reveal]:not(.is-in) .why-pains li,
  .js [data-reveal]:not(.is-in) .why-steps li { opacity: 0; transform: translateY(10px); }
  .chat > *, .why-pains li, .why-steps li { transition: opacity 300ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
  .chat > :nth-child(2) { transition-delay: 250ms; } .chat > :nth-child(3) { transition-delay: 600ms; }
  .chat > :nth-child(4) { transition-delay: 950ms; } .chat > :nth-child(5) { transition-delay: 1200ms; }
  .chat > :nth-child(6) { transition-delay: 1550ms; }
  .why-pains li:nth-child(1) { transition-delay: 1900ms; } .why-pains li:nth-child(2) { transition-delay: 2050ms; } .why-pains li:nth-child(3) { transition-delay: 2200ms; }
  .why-steps li:nth-child(1) { transition-delay: 300ms; } .why-steps li:nth-child(2) { transition-delay: 700ms; } .why-steps li:nth-child(3) { transition-delay: 1100ms; }
  .js [data-reveal]:not(.is-in) .why-gauge-track i { transform: scaleX(0); }
  .why-gauge-track i { transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 1000ms; }



  .js [data-reveal]:not(.is-in) .noti { opacity: 0; transform: translateY(-28px) scale(0.92); }
  .noti { transition: opacity 300ms ease, transform 560ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .noti:nth-child(1) { transition-delay: 1100ms; }
  .noti:nth-child(2) { transition-delay: 1700ms; }

  .js .mark:not(.is-in) path { stroke-dashoffset: 1; }
  .mark path { transition: stroke-dashoffset 800ms cubic-bezier(0.65, 0, 0.35, 1) 250ms; }
}

/* 기능 소개: 개인 루틴 → 캠프 → 주간 결산 */
.feature { padding: 112px 0; border-bottom: 1px solid var(--border); overflow-x: clip; }
.feature-tinted { background: var(--surface-warm); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 72px; }
.feature-reverse { grid-template-columns: 1.1fr 1fr; }
.feature-reverse .feature-copy { order: 2; }
.feature-copy { max-width: 27rem; }
.feature h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.feature-text { color: var(--text-muted); font-size: 18px; line-height: 1.7; }
.feature-note {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle); font-size: 15px; line-height: 1.6;
}
.feature-stage { display: flex; align-items: center; justify-content: center; }
.feature-stage .phone-item { width: 256px; }
.feature-stage-pair { gap: 24px; align-items: flex-start; }
.feature-stage-pair .phone-item { width: calc(50% - 12px); max-width: 232px; }
.feature-stage-pair .phone-item:nth-child(2) { margin-top: 32px; }

/* 다운로드 */
.cta { padding: 112px 0; border-bottom: 1px solid var(--border); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-icon { border-radius: 20px; margin-bottom: 24px; box-shadow: 0 12px 28px -8px rgba(28, 32, 29, 0.14); }
.cta .stores { justify-content: center; }

@media (max-width: 880px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-copy, .tour { width: 100%; }
  .hero-copy .duo { margin-left: auto; margin-right: auto; }
  .hero-copy { align-items: center; text-align: center; }
  .hero .stores { justify-content: center; }
  /* 좁은 화면: 앱 화면을 먼저 보여 주고 신청 폼은 그 아래로 */
  .hero-copy { display: contents; }
  .hero-inner { align-items: center; gap: 0; }
  .hero-copy > * { order: 0; }
  .hero-inner > .tour { order: 1; margin-top: 32px; }
  .hero-cta { order: 2; width: 100%; max-width: 30rem; margin-top: 32px; }
  /* 출시 후: 스토어 버튼은 리드 문구 바로 아래, 앱 화면은 그 아래로 (첫 화면에서 바로 설치) */
  .is-launched .hero-cta { order: 0; margin-top: 0; }
  .is-launched .hero-cta .stores { margin-top: 24px; }
  .feature { padding: 80px 0; }
  .feature-grid, .feature-reverse { grid-template-columns: 1fr; gap: 48px; }
  .feature-reverse .feature-copy { order: 0; }
  .feature-copy { max-width: 32rem; text-align: left; }
}
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 16px; }
  .hero .stores, .cta .stores { width: 100%; }
  .page-home .store { flex: 1; min-width: 0; padding: 8px 12px; }
  .page-home .store-name { white-space: nowrap; }
  .tour-phone { width: calc(60% - 2 * var(--b)); }
  .tour { gap: 16px; }
  .phone { --b: 4px; border-radius: 24px; }
  .pop { --b: 4px; }
  .noti { padding: 8px 10px; gap: 8px; font-size: 12px; border-radius: 14px; }
  .noti img { width: 28px; height: 28px; }
  .phone-item figcaption { font-size: 12px; }
  .feature { padding: 64px 0; }
  .feature-grid { gap: 36px; }
  .feature h2 { font-size: 30px; margin-bottom: 14px; }
  .feature-text { font-size: 16px; }
  .feature-note { font-size: 14px; margin-top: 18px; padding-top: 16px; }
  .feature-stage .phone-item { width: 216px; }
  .feature-stage-pair { gap: 14px; }
  .feature-stage-pair .phone-item { width: calc(50% - 7px); }
  .feature-stage-pair .phone-item:nth-child(2) { margin-top: 20px; }
  .cta { padding: 72px 0; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 32px; }
  .page-home .store { padding: 8px 10px; }
  .page-home .store-name { font-size: 16px; }
}

/* 회사 소개 */
.about { display: grid; gap: 16px 24px; align-items: start; }
.about h2 { margin-bottom: 0; }
.mc-wordmark {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: #102329; text-decoration: none;
}
.mc-wordmark img { width: 32px; height: auto; flex: none; }
.mc-wordmark-name {
  font-family: 'Hedvig Letters Serif', Georgia, serif;
  font-size: 30px; font-weight: 400; letter-spacing: -0.035em; line-height: 1.15;
}
.about-body { display: grid; gap: 12px; max-width: 600px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.6fr; } }
@media (max-width: 600px) {
  .mc-wordmark { gap: 8px; }
  .mc-wordmark img { width: 26px; }
  .mc-wordmark-name { font-size: 24px; }
}

/* 푸터 */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.biz { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 0; line-height: 1.7; }
.biz > span:not(:last-child)::after { content: '|'; margin: 0 10px; color: var(--border); }
/* 모바일: 줄이 바뀌면 구분자가 줄 끝에 매달리므로 한 줄에 하나씩 */
@media (max-width: 600px) {
  .biz { flex-direction: column; }
  .biz > span:not(:last-child)::after { content: none; }
}
.biz a { color: inherit; }
.biz .nowrap { white-space: nowrap; }
.copy { margin-top: 16px; color: var(--text-subtle); font-size: 13px; }

/* 약관 */
.legal { padding-top: 48px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 48px 0 14px; padding-top: 8px; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text); font-size: 16px; line-height: 1.75; }
.legal p { margin: 12px 0; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; }
.legal li { margin: 6px 0; }
.legal blockquote { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-muted); }
.legal blockquote p { margin: 0; color: var(--text); }
.legal code { font-size: 0.92em; background: var(--surface-muted); padding: 1px 5px; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
@media (max-width: 600px) { .legal table { font-size: 14px; } .legal th, .legal td { padding: 8px 10px; } }
.legal th, .legal td { overflow-wrap: break-word; text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); line-height: 1.6; }
.legal th { background: var(--surface-muted); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
.toc { margin: 24px 0 8px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.toc-title { font-weight: 700; margin: 0 0 8px !important; }
.toc ol { list-style: none; margin: 0; padding-left: 0; columns: 2 220px; column-gap: 24px; }
.toc li { margin: 0; padding: 3px 0; font-size: 15px; break-inside: avoid; }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.legal-other { margin-top: 48px !important; }
.legal-archived { margin: 0 0 20px !important; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-muted); font-size: 15px !important; }

/* 초대 */
.invite { padding-top: 40px; padding-bottom: 72px; max-width: 520px; }
.invite-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.invite-icon { border-radius: 22px; border: 2px solid var(--border); margin-bottom: 24px; }
.invite-hero { width: 100%; height: auto; border-radius: 20px; margin-bottom: 24px; background: #FFF8ED; }
.invite h1 { font-size: 28px; margin-bottom: 8px; }
.invite-meta { color: var(--primary); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.invite-routines { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.invite-routines li { padding: 6px 14px; border-radius: 999px; background: var(--surface-muted); font-weight: 600; font-size: 15px; }
.invite-desc { color: var(--text-muted); margin: 8px 0 24px; }
.invite .button-primary, .invite .button-secondary { width: 100%; }
.invite .button-primary + .button-secondary { margin-top: 12px; }
.invite-fallback { margin-top: 12px; padding: 12px 16px; width: 100%; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--text); font-size: 15px; text-align: left; }
.invite-code {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 16px; padding: 12px 16px; width: 100%; border-radius: var(--radius-md); background: var(--surface-muted);
}
.invite-code span { color: var(--text-muted); font-size: 14px; }
.invite-code strong { font-size: 20px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; -webkit-user-select: all; user-select: all; }
.invite-copy-msg { min-height: 1.5em; margin-top: 6px; color: var(--primary); font-size: 14px; font-weight: 600; }
.invite-copy-msg:empty { min-height: 0; margin: 0; }
.invite-help { margin-top: 16px; width: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); text-align: left; }
.invite-help-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.invite-steps { margin: 0; padding-left: 1.4em; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.invite-steps strong { color: var(--text); }
.invite .stores { justify-content: center; margin-top: 20px; }
[hidden] { display: none !important; }

/* 404 */
.notfound { padding-top: 56px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 480px; }
.notfound p { color: var(--text-muted); margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour-track, .spot { transition: none; }
}
.legal td a { overflow-wrap: anywhere; word-break: break-all; }
/* 고정 id 앵커 (/privacy/#retention): 빈 인라인 요소는 위치가 잡히지 않을 수 있어 블록으로 */
.legal span[id] { display: block; }

/* 접근성 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 30; padding: 10px 16px; border-radius: 8px;
  background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 히어로 위 한 줄 소개 */
.eyebrow {
  display: inline-flex; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
}
.hero-cta { width: 100%; max-width: 30rem; }

/* 히어로 자동 넘김 멈추기 */
.tour-toggle {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--text-subtle);
  background: none; border: 1px solid var(--border); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer;
}
/* 자리는 처음부터 잡아 두고(레이아웃 밀림 방지), 자동 넘김이 있을 때만 보인다 */
.tour-toggle:not(.is-on) { visibility: hidden; }
.tour-toggle:hover { color: var(--text); border-color: var(--text-subtle); }

/* 출시 알림 폼 */
/* minmax(0, 1fr): 이메일 칸의 기본 최소 너비 때문에 320폭에서 버튼이 화면 밖으로 밀리지 않게 */
.notify { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; text-align: left; }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-os { border: 0; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notify-os legend { float: left; margin-right: 4px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.notify-os-item { position: relative; }
.notify-os-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.notify-os-item span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 15px; font-weight: 600; color: var(--text-muted);
}
.notify-os-item input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.notify-os-item input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.notify-row { display: flex; gap: 8px; }
.notify-email {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--surface); font: inherit; font-size: 16px; color: var(--text);
}
.notify-email:focus { outline: 3px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.notify-email[aria-invalid='true'] { border-color: #b3261e; }
.notify-submit {
  flex: none; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--radius-md); cursor: pointer;
  background: var(--primary); color: var(--on-primary); font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap;
}
.notify-submit:hover { background: var(--primary-pressed); }
.notify-submit[disabled] { opacity: 0.6; cursor: progress; }
.notify-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--text-subtle); cursor: pointer; }
.notify-agree input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; }
.notify-agree b { color: var(--text); font-weight: 600; }
.notify-more { margin: -4px 0 0 26px; font-size: 13px; }
.notify-more a { color: var(--text-subtle); }
.notify-msg { font-size: 14px; font-weight: 600; min-height: 1.4em; color: var(--text-muted); }
.notify-msg[data-tone='ok'] { color: var(--primary); }
.notify-msg[data-tone='error'] { color: #b3261e; }
.notify-msg a { color: inherit; }
.notify.is-done .notify-os, .notify.is-done .notify-row, .notify.is-done .notify-agree { display: none; }
.cta .notify, .invite .notify { max-width: 30rem; margin-left: auto; margin-right: auto; }
@media (max-width: 360px) { .notify-submit { padding: 0 14px; } }


/* 자주 묻는 질문 */
.faq { padding: 96px 0; border-bottom: 1px solid var(--border); }
.faq-inner { display: grid; gap: 32px; }
.faq h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 20px; font-size: 17px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; color: var(--text-subtle); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
@media (min-width: 900px) { .faq-inner { grid-template-columns: 1fr 1.6fr; align-items: start; } }
@media (max-width: 600px) { .faq { padding: 64px 0; } .faq summary { font-size: 16px; padding: 12px 16px; } .faq details p { padding: 0 16px 16px; font-size: 15px; } }

/* 모바일 하단 고정 버튼: 첫 신청 폼을 지나면 나오고, 다운로드 섹션부터는 숨는다 */
.sticky-cta { display: none; }
@media (max-width: 600px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20;
    min-height: 52px; border-radius: 14px; background: var(--primary); color: var(--on-primary);
    font-size: 16px; font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 28px -10px rgba(16, 20, 18, 0.45);
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .js .sticky-cta:not(.is-on) { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
}

/* T19: 사칭·삭제 요청 폼 & 초대 미리보기 */
.web-form { display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.web-field { display: flex; flex-direction: column; gap: 6px; }
.web-field label { font-size: 14px; font-weight: 700; color: var(--text); }
.web-field input, .web-field textarea {
  font: inherit; font-size: 15px; line-height: 1.5; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--text);
}
.web-field input:focus, .web-field textarea:focus { outline: none; border-color: #111; }
.web-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid #111;
  background: #111; color: #fff; font: inherit; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; align-self: flex-start;
}
.web-btn:disabled { opacity: 0.5; cursor: default; }
.web-status { font-size: 14px; font-weight: 600; min-height: 20px; }
.web-status[data-kind='error'] { color: #b3261e; }
.web-status[data-kind='ok'] { color: #111; }
.invite-eyebrow { font-size: 13px; font-weight: 700; color: var(--text-subtle); margin-bottom: 8px; }
.invite-meta { font-size: 17px; font-weight: 700; color: var(--text); }
.invite-actions { margin: 28px 0 18px; }
.invite-note { font-size: 13px; color: var(--text-subtle); }
