/* LANDVISION · 구글 톤 UI */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-elevated: #ffffff;
  --ink: #202124;
  --slate: #3c4043;
  --muted: #5f6368;
  --muted-light: #70757a;
  --border: #dadce0;
  --border-strong: #dadce0;
  /* LANDVISION 워드마크 V 톤 */
  --brand-v: #c2410c;
  --brand-v-hover: #9a3412;
  --brand-v-soft: rgba(194, 65, 12, 0.12);
  --brand-v-footer: #fb923c;
  --brand-v-ring: rgba(194, 65, 12, 0.35);
  /* UI 포인트: 파랑 대신 중립 그레이 */
  --accent: #3c4043;
  --accent-hover: #202124;
  --accent-ring: rgba(60, 64, 67, 0.22);
  --teal: #3c4043;
  --teal-soft: rgba(60, 64, 67, 0.1);
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.12);
  --shadow-md: 0 1px 6px rgba(60, 64, 67, 0.14);
  --shadow-lg: 0 2px 12px rgba(60, 64, 67, 0.16);
  --radius: 8px;
  --radius-pill: 999px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Nav —— */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
}

/* 사이트명: LANDVISION · 대문자 · Black(900) · 가로 약 90% */
.brand-title {
  font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.05rem, 3.3vw, 1.42rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  transform: scaleX(0.9);
  transform-origin: left center;
}

/* LAND–VISION 사이 V 강조 */
.brand-title__accent {
  color: var(--brand-v);
}

.footer .brand-title__accent {
  color: var(--brand-v-footer);
}

.nav__brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f3f4;
  box-shadow: none;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.nav__brand-icon svg {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.nav__links {
  display: none;
  gap: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink);
}

@media (min-width: 900px) {
  /* 브랜드·로그인은 고정, 메뉴는 남는 폭 안에서 가운데 정렬. 폭이 부족하면 가로 스크롤로 끝 메뉴(마이 등)까지 노출 */
  .nav__brand {
    flex-shrink: 0;
  }

  .nav__actions {
    flex-shrink: 0;
  }

  .nav__links {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .nav__links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* 좁은 화면: PC와 동일한 메뉴를 두 번째 줄에 가로 스크롤로 표시 → sticky 헤더에 항상 보임 */
@media (max-width: 899px) {
  .nav__inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav__brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav__actions {
    order: 2;
    flex-shrink: 0;
  }

  .nav__links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    gap: 0.5rem 0.75rem;
    font-size: 0.75rem;
    margin: 0.4rem 0 0;
    padding: 0.5rem 0.35rem;
    border-top: 1px solid var(--border);
  }

  .nav__links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

}

.nav__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav__links a[aria-current='page'] {
  color: var(--brand-v);
  font-weight: 600;
}

.nav__links a[aria-current='page']:hover {
  color: var(--brand-v-hover);
}

.nav__actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.nav__beta {
  flex-shrink: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--muted);
  background: #f1f3f4;
  border: 1px solid transparent;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
}

.nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #f1f3f4;
  border: 1px solid rgba(60, 64, 67, 0.22);
  text-decoration: none;
}

.nav__login:hover {
  color: var(--ink);
  background: #e8eaed;
}

.nav__nickname {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3c4043;
  background: #f1f3f4;
  border: 1px solid rgba(60, 64, 67, 0.2);
  text-decoration: none;
  cursor: pointer;
  max-width: min(42vw, 11rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__nickname:hover {
  color: #202124;
  background: #e8eaed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.08s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  box-shadow: none;
}

.btn--primary:hover {
  background: #000;
}

.btn--outline {
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: 24px;
}

.btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--bg);
  border-color: var(--border-strong);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(60, 64, 67, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 64, 67, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 28px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 640px);
  height: 360px;
  background: radial-gradient(ellipse, rgba(60, 64, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-v);
  background: var(--brand-v-soft);
  border: 1px solid rgba(194, 65, 12, 0.22);
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  color: var(--brand-v);
}

.hero__lead {
  margin: 1.15rem auto 0;
  max-width: 34rem;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.65;
}

.hero__lead--stacked {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(0.95rem, 2.6vw, 1.08rem);
  font-weight: 500;
  color: var(--slate);
  line-height: 1.6;
  padding: 0 0.5rem;
}

/* Chrome 새 탭 느낌 — 순백, 넓은 알약 검색, 원형 바로가기 (홈은 상단 네비 없음) */
.page-google-home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.page-google-home .nav {
  display: none;
}

.page-google-home .chrome-home-utility {
  z-index: 110;
}

/* 홈은 상단 네비를 숨기므로, 분석 API 대기 중에만 좌측 상단 브랜드로 홈 이동 */
.chrome-home-brand {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  box-sizing: border-box;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.85rem 1.25rem;
  padding-right: 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.chrome-home-brand:hover {
  color: var(--brand-v);
}

.chrome-home-brand:focus-visible {
  outline: 2px solid rgba(194, 65, 12, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

body.is-land-analyzing .chrome-home-brand {
  display: inline-flex;
}

.page-google-home .hero--minimal .hero__grid,
.page-google-home .hero--minimal .hero__glow {
  display: none;
}

.chrome-home-utility {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
}

.chrome-home-login {
  appearance: none;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  background: #f1f3f4;
  border: 1px solid rgba(60, 64, 67, 0.22);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.chrome-home-login:hover {
  background: #e8eaed;
  color: var(--ink);
}

.chrome-home-login:focus-visible {
  outline: 2px solid rgba(60, 64, 67, 0.4);
  outline-offset: 2px;
}

.chrome-home-nickname {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3c4043;
  background: #f1f3f4;
  border: 1px solid rgba(60, 64, 67, 0.2);
  text-decoration: none;
  cursor: pointer;
  max-width: min(50vw, 12rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chrome-home-nickname:hover {
  color: #202124;
  background: #e8eaed;
}

.page-google-home .main-google {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.page-google-home .home-bottom-copy {
  flex-shrink: 0;
  margin-top: auto;
  padding: 1rem 1.25rem 1.35rem;
  text-align: center;
}

.page-google-home .home-bottom-copy p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: #70757a;
  line-height: 1.4;
}

/* 분석 등: 푸터를 뷰포트 하단·가운데 (홈 .page-google-home 과 동일 패턴) */
.page-land-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.page-land-shell .main-google {
  flex: 1 0 auto;
  width: 100%;
}

.page-land-shell .home-bottom-copy {
  flex-shrink: 0;
  margin-top: auto;
  padding: 1rem 1.25rem 1.35rem;
  text-align: center;
}

.page-land-shell .home-bottom-copy p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: #70757a;
  line-height: 1.4;
}

.hero--minimal {
  position: relative;
  overflow: hidden;
}

.page-google-home .hero--minimal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: min(56svh, 480px);
  padding: clamp(4rem, 2vh, 4.35rem) 1.25rem 1.25rem;
  overflow: visible;
}

.hero--minimal .hero__grid {
  opacity: 0.32;
}

.hero--minimal .hero__glow {
  opacity: 0.42;
}

.hero__title--wordmark {
  font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.35rem, 7.5vw, 3.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.hero__tagline-minimal {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-light);
  letter-spacing: 0;
}

.page-google-home .hero__title--wordmark {
  transform: translateY(-0.3cm);
  word-spacing: 0.12em;
}

.page-google-home .hero__tagline-minimal {
  transform: translateY(-0.3cm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}

.page-google-home .search-wrap--google .hero__server-notice {
  margin: calc(1cm + 0.85rem) 0 0;
  padding: 0 0.35rem;
  text-align: center;
  font-size: clamp(0.6875rem, 2.15vw, 0.8125rem);
  font-weight: 600;
  color: var(--brand-v);
  letter-spacing: 0.01em;
  line-height: 1.35;
  word-break: keep-all;
}

.page-google-home .search-wrap--google .hero__server-notice > span {
  display: block;
}

.page-google-home .search-wrap--google .hero__server-notice .hero__server-notice-line2 {
  margin-top: 0.28rem;
}

.hero__tagline-beta {
  flex-shrink: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--muted);
  background: #f1f3f4;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(60, 64, 67, 0.12);
}

.page-google-home .hero__tagline-beta {
  color: var(--brand-v);
  background: var(--brand-v-soft);
  border: 1px solid rgba(194, 65, 12, 0.22);
}

.page-google-home .hero__inner {
  max-width: min(calc(1360px * 0.65), calc(96vw * 0.65));
  width: 100%;
  transform: translateY(calc(-1 * clamp(3.9rem, 15.6vh, 9.75rem)));
}

.page-google-home .search-wrap--google {
  margin-top: 1.7rem;
  max-width: min(calc(1360px * 0.65), calc(96vw * 0.65));
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.search-form--google {
  min-height: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2);
  height: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2);
  border-radius: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2 / 2);
  border: 1px solid #dadce0;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.12),
    0 2px 10px rgba(60, 64, 67, 0.06);
  align-items: center;
  background: #fff;
}

.search-form--google:hover {
  box-shadow:
    0 2px 4px rgba(60, 64, 67, 0.14),
    0 4px 14px rgba(60, 64, 67, 0.09);
  border-color: transparent;
}

.search-form--google:focus-within {
  border-color: transparent;
  box-shadow:
    0 2px 6px rgba(32, 33, 36, 0.16),
    0 6px 18px rgba(32, 33, 36, 0.08),
    0 0 0 1px var(--brand-v-ring);
}

.search-form--google .search-form__icon {
  padding-left: 0.75rem;
  padding-right: 0.1rem;
  align-self: center;
  color: #9aa0a6;
}

.search-form--google .search-form__icon svg {
  width: 17px;
  height: 17px;
}

.search-form--google .search-form__input {
  min-height: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2);
  padding: 0 0.85rem 0 0;
  font-size: 15px;
}

@media (min-width: 768px) {
  .search-form--google .search-form__input {
    font-size: 0.9375rem;
  }
}

.nt-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.35rem;
  margin-top: 1.65rem;
  max-width: 100%;
}

.nt-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 4.25rem;
  text-decoration: none;
  color: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem 0 0;
  -webkit-tap-highlight-color: transparent;
}

.nt-shortcut__circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f1f3f4;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.nt-shortcut:hover .nt-shortcut__circle,
.nt-shortcut:focus-visible .nt-shortcut__circle {
  background: #e8eaed;
  color: #3c4043;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.nt-shortcut:focus-visible {
  outline: none;
}

.nt-shortcut:focus-visible .nt-shortcut__label {
  text-decoration: underline;
  color: var(--ink);
}

.nt-shortcut:hover .nt-shortcut__label {
  color: var(--ink);
}

.page-google-home .nt-shortcut:hover .nt-shortcut__circle,
.page-google-home .nt-shortcut:focus-visible .nt-shortcut__circle {
  background: var(--brand-v-soft);
  color: var(--brand-v);
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.22);
}

.page-google-home .nt-shortcut:focus-visible .nt-shortcut__label {
  color: var(--brand-v);
}

.page-google-home .nt-shortcut:hover .nt-shortcut__label {
  color: var(--brand-v);
}

.nt-shortcut__label {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #5f6368;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.google-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.45rem;
}

.google-search-btn {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 1.1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  color: #3c4043;
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

a.google-search-btn {
  color: #3c4043;
}

.google-search-btn:hover {
  border-color: #dadce0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  color: #202124;
}

.google-search-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-google-home .google-search-btn:focus-visible {
  outline: 2px solid var(--brand-v);
  outline-offset: 2px;
}

/* 분석 페이지·정적 analyze — 실행 버튼(주황) */
.land-analyze-submit {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  margin-right: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: var(--brand-v, #ea580c);
  border: 1px solid #c2410c;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.land-analyze-submit:hover {
  background: #c2410c;
  border-color: #9a3412;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.land-analyze-submit:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.55);
  outline-offset: 2px;
}

.page-google-home .search-wrap--google .form-error {
  text-align: center;
  margin-top: 0.75rem;
}

.page-google-home .search-wrap--google .address-hint {
  text-align: center;
  margin: 0.4rem 0 0;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.page-google-home .search-wrap--google .land-live-banner {
  text-align: center;
  margin-top: 0.65rem;
}

.page-google-home .search-wrap--google .search-hint {
  margin-top: 1.1rem;
  font-weight: 400;
  color: #70757a;
}

/* Search bar */
.search-wrap {
  margin-top: 2.25rem;
  width: 100%;
  max-width: min(900px, 94vw);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.35rem;
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: calc(4.25rem + 6px);
  background: var(--bg-elevated);
  border: 1px solid #dfe1e5;
  border-radius: 28px;
  box-shadow: none;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s;
}

.search-form:hover {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.15);
  border-color: transparent;
}

.search-form:focus-within {
  border-color: transparent;
  box-shadow:
    0 1px 6px rgba(32, 33, 36, 0.2),
    0 0 0 1px var(--accent-ring);
}

/* 기본 .search-form보다 뒤에서 덮어써야 높이·테두리가 유지됨 (48px×0.7×1.1×1.2×1.1×1.2) */
.search-form.search-form--google {
  min-height: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2);
  height: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2);
  border-radius: calc(48px * 0.7 * 1.1 * 1.2 * 1.1 * 1.2 / 2);
  border: 1px solid #dadce0;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.12),
    0 2px 10px rgba(60, 64, 67, 0.06);
  align-items: center;
}

.search-form.search-form--google:hover {
  box-shadow:
    0 2px 4px rgba(60, 64, 67, 0.14),
    0 4px 14px rgba(60, 64, 67, 0.09);
  border-color: transparent;
}

.search-form.search-form--google:focus-within {
  border-color: transparent;
  box-shadow:
    0 2px 6px rgba(32, 33, 36, 0.16),
    0 6px 18px rgba(32, 33, 36, 0.08),
    0 0 0 1px var(--brand-v-ring);
}

.search-form__icon {
  display: flex;
  align-items: center;
  padding-left: 1.15rem;
  color: var(--muted);
}

.search-form__icon svg {
  width: 24px;
  height: 24px;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1rem;
  font-size: 1.08rem;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--ink);
  min-height: 3.5rem;
}

.search-form__input:focus {
  outline: none;
}

.search-form__input::placeholder {
  color: #9aa0a6;
}

.search-form__submit {
  margin: 10px;
  padding: 0 1.65rem;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: background 0.15s;
}

.search-form__submit svg {
  width: 19px;
  height: 19px;
}

.search-form__submit:hover {
  background: var(--accent-hover);
}

.form-error {
  text-align: left;
  font-size: 0.8125rem;
  color: #b45309;
  margin-top: 0.6rem;
  min-height: 1.2em;
  padding: 0 0.25rem;
}

.land-live-banner {
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 0.65rem 1rem;
  border-radius: 8px;
}

.land-live-banner--warn {
  background: #fef7e0;
  border: 1px solid #f9e8a8;
  color: #6d4c00;
}

.search-hint {
  margin: 0.95rem 0 0;
  font-size: clamp(0.8125rem, 2vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted-light);
  text-align: center;
  letter-spacing: 0;
}

/* —— Stats —— */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__cell {
  background: var(--bg-elevated);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stats__num {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stats__label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* 숫자형 지표 대신 기능·가치 문구 */
.stats--features .stats__cell {
  padding: 1.35rem 0.85rem;
}

.stats--features .stats__num {
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.stats--features .stats__label {
  margin-top: 0.5rem;
  line-height: 1.45;
  max-width: 15rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— Section —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section__title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section__desc {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.section__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-v, #c2410c);
}

.section--services-hero .section__head {
  max-width: 42rem;
}

.section__title--services {
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.35;
}

.section__desc--lead {
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
}

/* —— 서비스 페이지: 히어로·가치 제안·로드맵 (page-services 범위) —— */
.page-services .section--services-hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(168deg, #fffbf7 0%, #ffffff 42%, #f4f6f8 100%);
  border-bottom: 1px solid var(--border);
}

.page-services .section--services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% -25%, rgba(194, 65, 12, 0.16), transparent 58%);
  pointer-events: none;
}

.page-services .section__services-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 3.75rem;
}

.page-services .section--services-hero .section__head {
  max-width: min(100%, 56rem);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

.page-services .section--services-hero .section__eyebrow {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--brand-v-soft);
  border: 1px solid rgba(194, 65, 12, 0.22);
  box-shadow: 0 1px 2px rgba(194, 65, 12, 0.06);
}

.page-services .section__title--services {
  font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
  font-size: clamp(1rem, 3.9vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--ink);
  white-space: nowrap;
}

.page-services .section__desc--lead {
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--slate);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 960px) {
  .page-services .section__desc--lead {
    white-space: normal;
    font-size: clamp(0.92rem, 1.55vw, 1.1rem);
  }
}

.page-services .services-master-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1.15rem 0 1.65rem;
}

.page-services .services-master-diagram__node {
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 65, 12, 0.25);
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.8125rem;
  font-weight: 700;
}

.page-services .services-master-diagram__arrow {
  color: #c2410c;
  font-weight: 700;
}

.page-services .services-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(218, 220, 224, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(60, 64, 67, 0.08);
}

.page-services .services-stage__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9a3412;
}

.page-services .services-stage__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #202124);
}

.page-services .services-stage__lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #3c4043;
}

.page-services .services-stage__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5f6368;
}

.page-services .services-stage__bullets {
  margin: 0.95rem 0 0;
  padding-left: 1.05rem;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #202124;
}

.page-services .services-stage__bullets li + li {
  margin-top: 0.28rem;
}

.page-services .services-stage__diagram {
  border-radius: 12px;
  border: 1px solid rgba(194, 65, 12, 0.2);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
  padding: 0.9rem;
}

.page-services .services-diagram__title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a3412;
  letter-spacing: 0.03em;
}

.page-services .services-diagram {
  font-size: 0.8rem;
  color: #3c4043;
}

.page-services .services-diagram--stack {
  display: grid;
  gap: 0.4rem;
}

.page-services .services-diagram--stack > div {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 0.42rem 0.5rem;
  text-align: center;
}

.page-services .services-diagram--stack .is-emphasis {
  border-color: #c2410c;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.page-services .services-diagram__merge {
  text-align: center;
  color: #c2410c;
  font-weight: 700;
}

.page-services .services-diagram--cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
}

.page-services .services-diagram--cards > div {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 0.45rem 0.4rem;
  text-align: center;
}

.page-services .services-diagram--cards .is-source {
  background: #f8fafc;
}

.page-services .services-diagram--cards .is-result {
  background: #fff7ed;
  border-color: rgba(194, 65, 12, 0.35);
}

.page-services .services-diagram--matrix {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.page-services .services-diagram--matrix > div {
  padding: 0.45rem 0.4rem;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  background: #fff;
}

.page-services .services-diagram--matrix > div:nth-child(3n) {
  border-right: 0;
}

.page-services .services-diagram--matrix > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.page-services .services-diagram--matrix .head {
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

@media (max-width: 959px) {
  .page-services .services-stage {
    grid-template-columns: 1fr;
  }

  .page-services .services-diagram--cards {
    grid-template-columns: 1fr;
  }

  .page-services .services-diagram--cards > span {
    text-align: center;
    transform: rotate(90deg);
  }
}

.page-services .cards--services-pillars {
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .page-services .cards--services-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-services .cards--services-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
  }
}

.page-services .cards--services-pillars .card {
  position: relative;
  padding: 1.65rem 1.45rem 1.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(218, 220, 224, 0.95);
  box-shadow: 0 4px 28px rgba(60, 64, 67, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-services .cards--services-pillars .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #9a3412, #ea580c 55%, #fdba74);
  opacity: 0.92;
}

.page-services .cards--services-pillars .card:nth-child(2)::before {
  background: linear-gradient(90deg, #c2410c, #f97316 50%, #fed7aa);
}

.page-services .cards--services-pillars .card:nth-child(3)::before {
  background: linear-gradient(90deg, #7c2d12, #ea580c 45%, #fb923c);
}

.page-services .cards--services-pillars .card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 65, 12, 0.35);
  box-shadow: 0 14px 44px rgba(60, 64, 67, 0.14);
}

.page-services .cards--services-pillars .card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(194, 65, 12, 0.28);
  color: var(--brand-v);
  margin-bottom: 1.1rem;
}

.page-services .cards--services-pillars .card__icon svg {
  width: 24px;
  height: 24px;
}

.page-services .cards--services-pillars .card__title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-services .cards--services-pillars .card__text {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--muted);
}

.page-services .services-step-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.8rem;
}

.page-services .services-step-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 65, 12, 0.2);
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.25;
}

.page-services .services-step-points {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--ink, #202124);
  font-size: 0.82rem;
  line-height: 1.5;
}

.page-services .services-step-points li + li {
  margin-top: 0.28rem;
}

.page-services .section--services-roadmap {
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.page-services .section__services-roadmap-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 3.5rem;
}

.page-services .section--services-roadmap .section__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.page-services .section__eyebrow--roadmap {
  color: var(--muted);
  background: rgba(60, 64, 67, 0.06);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

.page-services .section__title--roadmap {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.page-services .cards--services-roadmap {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .page-services .cards--services-roadmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.page-services .cards--services-roadmap .card {
  background: #fff;
  border-radius: 11px;
  padding: 1.5rem 1.35rem 1.55rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-services .cards--services-roadmap .card:hover {
  border-color: #c4c7c5;
  box-shadow: var(--shadow-md);
}

.page-services .cards--services-roadmap .card__icon {
  background: #fff;
  border-color: var(--border);
  color: var(--slate);
}

@media (prefers-reduced-motion: reduce) {
  .page-services .cards--services-pillars .card {
    transition: none;
  }

  .page-services .cards--services-pillars .card:hover {
    transform: none;
  }
}

/* —— YouTube (플레이스홀더, API 연동 전) —— */
.section--youtube {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.youtube-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .youtube-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.youtube-card {
  margin: 0;
}

.youtube-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #eef2f6 0%, #f8fafc 42%, #e8edf3 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.youtube-card__ph {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  pointer-events: none;
}

.youtube-card__play {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  opacity: 0.85;
}

.youtube-card__play svg {
  margin-left: 3px;
}

.youtube-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.youtube-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Contact (문의) —— */
.contact-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.contact-page__head {
  margin-bottom: 2rem;
}

.contact-page__head .section__title {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
}

/* —— 게시판 —— */
.board-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 12rem);
}

.board-page__head {
  margin-bottom: 1.75rem;
}

.board-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.board-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.board-table th,
.board-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.board-table th {
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--slate);
  background: linear-gradient(180deg, #fafbfc 0%, var(--bg-subtle) 100%);
}

.board-table tbody tr {
  transition: background 0.12s ease;
}

.board-table tbody tr:hover {
  background: rgba(60, 64, 67, 0.05);
}

.board-table tbody tr:last-child td {
  border-bottom: none;
}

/* 자유게시판 목록: 페이지당 최대 10행만 표시(스크립트 보조) */
#board-posts-body > tr:nth-child(n + 11) {
  display: none !important;
}

.board-table td:first-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  width: 4.5rem;
}

.board-table td:nth-child(3) {
  font-size: 0.8125rem;
  white-space: nowrap;
}

.board-table a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.board-table a:hover {
  color: var(--accent);
  text-decoration: none;
}

.board-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  background: var(--bg-subtle);
  border-radius: 10px;
  border-left: 3px solid var(--brand-v);
}

.board-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  padding: 0.3rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.board-tab {
  appearance: none;
  margin: 0;
  padding: 0.5rem 1.2rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

.board-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.board-tab.is-active {
  color: var(--brand-v);
  font-weight: 600;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.board-panel[hidden] {
  display: none !important;
}

.board-panel:not([hidden]) {
  display: block;
}

.board-toolbar__write {
  flex-shrink: 0;
}

/* 주요 CTA(글쓰기·문의 보내기): 기본 파란 primary 대신 브랜드 오렌지 */
a.board-toolbar__write.btn--primary,
.contact-form__actions .btn.btn--primary {
  background: var(--brand-v);
  color: #fff !important;
  border: none;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(194, 65, 12, 0.32);
}

a.board-toolbar__write.btn--primary:hover,
.contact-form__actions .btn.btn--primary:hover {
  background: var(--brand-v-hover);
  color: #fff !important;
}

a.board-toolbar__write.btn--primary:focus-visible,
.contact-form__actions .btn.btn--primary:focus-visible {
  outline: 2px solid var(--brand-v-ring);
  outline-offset: 2px;
}

.board-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.board-search__cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.board-search__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.board-search__input {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 22rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.board-search__input:focus {
  outline: none;
  border-color: var(--brand-v);
  box-shadow: 0 0 0 2px var(--brand-v-ring);
}

.board-list-summary {
  margin: 0;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.board-list-summary[hidden] {
  display: none !important;
}

.board-pagination {
  margin-top: 0.75rem;
}

.board-pagination[hidden] {
  display: none !important;
}

.board-pagination__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.board-pagination__btn {
  appearance: none;
  margin: 0;
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.board-pagination__btn:hover:not(:disabled) {
  border-color: var(--brand-v);
  color: var(--brand-v);
}

.board-pagination__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.board-pagination__btn--active {
  border-color: var(--brand-v);
  background: var(--brand-v-soft);
  color: var(--brand-v);
  font-weight: 600;
}

.board-pagination__btn--nav {
  min-width: auto;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.board-pagination__ellipsis {
  padding: 0 0.15rem;
  font-size: 0.8125rem;
  color: var(--muted);
  user-select: none;
}

.board-table__empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1.25rem !important;
}

.board-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.board-modal[hidden] {
  display: none !important;
}

.board-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, 0.45);
}

.board-modal__box {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(90vh, 36rem);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.35rem 1.35rem;
}

.board-modal__box--read {
  max-height: min(88vh, 40rem);
}

.board-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.board-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  flex: 1;
  word-break: keep-all;
}

.board-modal__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  margin: -0.25rem -0.35rem 0 0;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.board-modal__close:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.board-write-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 14rem);
}

.board-write-page__head {
  margin-bottom: 1.5rem;
}

.board-write-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.board-post-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 14rem);
}

.board-post-card {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.board-post-card--center {
  text-align: center;
  padding: 2rem 1.75rem;
}

.board-post-card--center .board-post-lead {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.board-post-lead {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate);
}

.board-post-lead code {
  font-size: 0.84em;
  padding: 0.12em 0.45em;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--ink);
  word-break: break-all;
}

.board-post-card--article {
  padding: 2rem 2rem 1.75rem;
}

.board-post-article__head {
  margin-bottom: 0.5rem;
}

.board-post-article__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  width: 100%;
  margin: 0;
}

.board-post-article__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.board-post-article__date {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.board-post-meta {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.board-post-meta--bar {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
}

.board-post-body-wrap {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-subtle);
  border-radius: 10px;
  border: 1px solid rgba(218, 220, 224, 0.85);
}

.board-post-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink);
  white-space: normal;
  word-break: break-word;
}

.board-post-body strong {
  font-weight: 700;
}

.board-post-body__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.75rem 0;
  border-radius: 8px;
  border: 1px solid rgba(218, 220, 224, 0.9);
}

.board-body-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.board-body-toolbar__btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  min-height: 0;
}

.board-body-toolbar__file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.board-md-missing {
  color: #64748b;
  font-size: 0.875rem;
}

.board-rich-editor {
  position: relative;
  min-height: 12rem;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.55;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  overflow: auto;
}

.board-rich-editor:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.board-rich-editor.board-rich-editor--empty:before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
  position: absolute;
}

.board-rich-editor .board-post-body__img {
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(218, 220, 224, 0.9);
}

.board-rich-editor strong {
  font-weight: 700;
}

/* 공지 작성 시 비밀번호 블록 숨김 — [hidden]이 다른 규칙에 덮이지 않도록 */
#board-write-free-only-wrap[hidden],
#board-edit-free-only-wrap[hidden] {
  display: none !important;
}

.board-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

.board-post-actions .btn {
  min-width: 6.5rem;
}

/* —— 게시글 댓글 —— */
.board-comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.board-comments__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.board-comments__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.board-comment-form-anchor {
  display: block;
}

/* 답글 작성 시 폼을 해당 댓글 아래로 옮길 때 */
.board-comments__item--composer {
  list-style: none;
  padding: 0.35rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
}

.board-comments__composer-inner {
  padding: 0.85rem 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(194, 65, 12, 0.28);
  background: rgba(194, 65, 12, 0.04);
}

.board-comments__item--composer .board-comment-form {
  max-width: none;
}

.board-comments__thread {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0 0 0 0.95rem;
  border-left: 2px solid #e3e6ea;
}

.board-comments__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.board-comments__item:last-child {
  border-bottom: none;
}

.board-comments__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.board-comments__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.45rem;
}

.board-comments__top .board-comments__meta {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.board-comments__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.35rem;
  align-items: center;
}

.board-comments__action-btn {
  padding: 0.2rem 0.55rem !important;
  font-size: 0.75rem !important;
  min-height: auto !important;
  line-height: 1.3 !important;
}

.board-comments__editor {
  margin-top: 0.35rem;
}

.board-comments__edit-textarea {
  min-height: 5rem;
  margin-bottom: 0.5rem;
}

.board-comments__editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.board-comments__author {
  font-weight: 600;
  color: var(--slate);
}

.board-comments__date {
  color: var(--muted);
}

.board-comments__badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
}

.board-comments__body {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #f8f9fb;
  border: 1px solid #eceff3;
}

.board-comments__body--masked {
  color: var(--muted);
  font-style: italic;
}

.board-comments__optional {
  font-weight: 400;
  color: var(--muted);
}

.board-comment-reply-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  background: var(--bg-subtle, #f8f9fa);
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

.board-comment-reply-banner__text {
  font-weight: 500;
  color: var(--ink);
}

.board-comment-form {
  max-width: 40rem;
}

.board-comment-form .board-field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
}

.board-comment-form .board-field--checkbox label {
  margin: 0;
  font-weight: 500;
}

.board-comment-form__input,
.board-comment-form__textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.9375rem;
}

.board-comment-form__textarea {
  resize: vertical;
  min-height: 6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.board-comment-form__input[readonly] {
  background: var(--bg-subtle, #f8f9fa);
  color: var(--ink, #202124);
  cursor: default;
}

.board-comment-form__hint {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.nav__admin-toggle,
.chrome-home-admin-toggle {
  border: 1px solid var(--border, #dadce0);
  background: var(--bg-elevated, #fff);
  color: var(--ink, #202124);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.nav__admin-toggle:hover,
.chrome-home-admin-toggle:hover {
  border-color: #c6cbd1;
  background: #f8f9fb;
}

.board-form-error {
  margin: 0;
  font-size: 0.8125rem;
  color: #b3261e;
}

.board-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.board-field-group__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}

.board-write-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.board-field--check {
  gap: 0.5rem;
}

.board-field--check .board-field__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.board-field--check .board-field__check-label input[type='checkbox'] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--accent);
}

.board-field__hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 1.45rem;
}

.board-category-select--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.board-category-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.board-category-tabs__btn {
  min-height: 2.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.board-category-tabs__btn.is-active {
  border-color: var(--brand-v, #c2410c);
  background: rgba(194, 65, 12, 0.08);
  color: var(--brand-v, #c2410c);
}

.board-write-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.board-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.board-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}

.board-field input,
.board-field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.board-field textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.55;
}

.board-field input:focus,
.board-field textarea:focus,
.board-field .board-secret-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

/* 게시글 전용 비밀: type=password·name=password 사용 시 Chrome이 로그인/유출 검사를 띄우므로 text + 마스킹 */
.board-field .board-secret-input {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  -webkit-text-security: disc;
}

#board-post-gate .board-page__head,
#board-edit-gate .board-page__head {
  margin-bottom: 1.25rem;
}

/* 모바일·태블릿 세로: PC(900px+) 레이아웃은 그대로, 이 구간만 조정 */
@media (max-width: 899px) {
  .nav {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav__inner {
    flex-wrap: wrap;
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
    gap: 0.85rem;
  }

  .nav__login {
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    display: inline-flex;
    align-items: center;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .section__head {
    margin-bottom: 1.65rem;
  }

  .section--youtube {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .board-page,
  .board-post-page,
  .board-write-page,
  .contact-page,
  .payment-page,
  .legal-page {
    padding-top: 1.35rem;
    padding-bottom: max(2.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .board-page__head,
  .contact-page__head,
  .payment-page__head {
    margin-bottom: 1.35rem;
  }

  .board-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .board-tab {
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
  }

  .board-table-wrap {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: 10px;
  }

  .board-table th,
  .board-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8125rem;
  }

  .board-pagination__inner {
    justify-content: center;
    gap: 0.4rem;
  }

  .board-pagination__btn {
    min-height: 2.75rem;
    min-width: 2.5rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
  }

  .board-pagination__btn--nav {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .board-search__input,
  .board-field input,
  .board-field textarea,
  .board-field .board-secret-input,
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    font-size: 16px;
  }

  .board-write-card,
  .board-post-card {
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 12px;
  }

  .board-post-card--center {
    padding: 1.5rem 1rem;
  }

  .board-post-card--article {
    padding: 1.35rem 1rem 1.25rem;
  }

  .board-post-body-wrap {
    padding: 1rem 0.9rem;
  }

  .board-write-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.5rem;
  }

  .board-write-actions .btn {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
  }

  .contact-form-wrap,
  .contact-aside {
    padding: 1.15rem 1rem;
  }

  .contact-form__actions .btn {
    min-height: 2.75rem;
  }

  .card {
    padding: 1.25rem 1.1rem;
  }

  .legal-toc {
    padding: 0.55rem 0.85rem;
    gap: 0.3rem 0.55rem;
  }

  .footer {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .footer__top {
    gap: 1.5rem;
  }

  .results {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

}

@media (max-width: 560px) {
  .board-tabs {
    display: flex;
    width: 100%;
  }

  .board-tab {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .board-search {
    flex-direction: column;
    align-items: stretch;
  }

  .board-search .board-toolbar__write {
    width: 100%;
    justify-content: center;
  }

  .board-post-article__title-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .board-post-article__date {
    align-self: center;
  }

  .board-post-card--article {
    padding: 1.5rem 1.15rem 1.35rem;
  }

  .board-post-actions {
    justify-content: stretch;
  }

  .board-post-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

.board-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.board-view-meta {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.board-view-body {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate);
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— 결제 —— */
.payment-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.payment-page__head {
  margin-bottom: 2rem;
}

.payment-page__head .section__title {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
}

.payment-note {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— 이용약관·개인정보처리방침 —— */
.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.legal-page__head {
  margin-bottom: 1.25rem;
}

.legal-page__head .section__title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}

.legal-page__warn {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 2rem;
  padding: 0.65rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.legal-toc a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-toc__sep {
  color: var(--muted-light);
  user-select: none;
}

.legal-doc {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-doc:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-doc__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-doc__meta {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.legal-doc h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-doc p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--slate);
}

.legal-doc__list {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate);
}

.legal-doc__list--decimal {
  list-style-type: decimal;
}

.legal-doc__list li {
  margin-bottom: 0.35rem;
}

.legal-doc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-doc a:hover {
  border-bottom-color: var(--border-strong);
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2.25rem;
  }

  .contact-layout--solo {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.contact-aside {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-aside h2 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-aside p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-aside p:last-of-type {
  margin-bottom: 0;
}

.contact-form-wrap {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form__note {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form__msg {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--teal-soft);
  border: 1px solid rgba(60, 64, 67, 0.18);
  border-radius: 10px;
  line-height: 1.5;
}

.contact-form__msg[hidden] {
  display: none !important;
}

.contact-field--hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field > label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}

.contact-field__req {
  color: #b45309;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(60, 64, 67, 0.45);
  box-shadow: 0 0 0 3px rgba(60, 64, 67, 0.1);
}

.contact-field--check > label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--slate);
  cursor: pointer;
  line-height: 1.45;
}

.contact-field--check input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-form__actions {
  margin-top: 0.2rem;
}

.contact-form__actions .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .contact-form__actions .btn {
    width: auto;
    min-width: 10.5rem;
  }
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: #c4c7c5;
  box-shadow: var(--shadow-sm);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  background: var(--bg-subtle);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.card__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Metric cards row */
.cards--metrics .card {
  text-align: center;
}

.card__metric {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.card__metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* —— Results (demo) —— */
.results {
  display: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.results.is-visible {
  display: block;
  animation: fadeUp 0.35s ease;
}

.page-google-home .results.is-visible {
  padding-top: 0.75rem;
  margin-top: 0;
  /* 스크롤 시 검색 위 워드마크가 잘리지 않도록 상단 여유 */
  scroll-margin-top: min(10rem, 22vh);
  /* 겹친 영역이 검색·분석 버튼의 클릭을 가로채지 않도록: 카드만 포인터 수신 */
  pointer-events: none;
}

.page-google-home .results.is-visible .results__box {
  pointer-events: auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results__box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.page-google-home .results__box {
  border-left: 3px solid var(--brand-v);
}

.results__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.page-google-home .results__title {
  color: var(--brand-v);
}

.results__hint {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.results__hint--small {
  margin: -0.5rem 0 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.results__group-title {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.results__group-title:first-of-type {
  margin-top: 0;
}

.result-grid {
  display: grid;
  gap: 0.75rem;
}

.result-grid--land {
  margin-bottom: 0.25rem;
}

@media (min-width: 520px) {
  .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-grid--land .stat--span2 {
    grid-column: 1 / -1;
  }
}

.stat--span2 {
  grid-column: 1 / -1;
}

.stat__value--multiline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: keep-all;
}

.stat {
  padding: 1rem 1.1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.stat__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.list-block {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: #174ea6;
}

.list-block strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #1967d2;
}

.page-google-home .list-block {
  background: var(--brand-v-soft);
  border: 1px solid rgba(194, 65, 12, 0.2);
  color: var(--brand-v-hover);
}

.page-google-home .list-block strong {
  color: var(--brand-v);
}

.list-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.links-row {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.links-row a {
  color: var(--accent);
  font-weight: 600;
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  line-height: 1.5;
}

/* —— CTA band —— */
.cta {
  margin: 2rem 1.5rem 3rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.cta__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta__lead {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.cta__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Footer —— */
.footer {
  background: var(--bg-subtle);
  color: var(--muted-light);
  padding: 2rem 1.5rem 1.25rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
}

.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1.2fr repeat(4, 1fr);
  }
}

.footer__brand {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer .brand-title {
  font-family: 'Outfit', 'Roboto', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.08rem, 3.1vw, 1.38rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.footer__about {
  line-height: 1.55;
  max-width: 260px;
}

.footer__col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-light);
}

/* —— 404 등 단순 페이지 —— */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: var(--bg);
}

.home__title {
  margin: 0;
  font-size: clamp(2.5rem, 12vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.home__title--compact {
  font-size: clamp(2rem, 8vw, 3rem);
}

.home__lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.home__domain {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  word-break: break-all;
}

.home__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.home__link:hover {
  text-decoration: underline;
}

/* —— Next 앱 공통: 마이페이지 영역·긴 문자열(콘텐츠). PC/모바일 반응형 튜닝은 별도 —— */
.mypage-page-wrap {
  width: 100%;
  max-width: min(48rem, 100vw);
  box-sizing: border-box;
}

.activity-line-clamp {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 상단 sticky 메뉴로 주요 이동 처리 */
body.app-root {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mypage-layout .section__head {
  max-width: min(56rem, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  text-align: left;
}

.mypage-shell {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  width: 100%;
  max-width: min(56rem, 100%);
  margin-inline: auto;
  padding: 0 0 2rem;
  box-sizing: border-box;
}

.mypage-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.mypage-nav__link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border, #dadce0);
  background: var(--bg-subtle, #f8f9fa);
  color: var(--ink, #202124);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mypage-nav__link:hover {
  border-color: var(--accent, #1a73e8);
  background: #fff;
}

.mypage-nav__link.is-active {
  border-color: var(--accent, #1a73e8);
  background: #e8f0fe;
  color: var(--accent, #1a73e8);
  font-weight: 600;
}

.mypage-content {
  min-width: 0;
  width: 100%;
}

.mypage-content .mypage-page-wrap {
  max-width: min(48rem, 100%);
  margin-left: 0;
  margin-right: auto;
}

/* 마이페이지 · 회원관리: 일/월 트래픽 탭 (정적 미러와 Next 공용 클래스) */
.mypage-site-stats {
  display: grid;
  gap: 0.75rem;
  max-width: 100%;
}

.mypage-site-stats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.mypage-site-stats__head-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
}

.mypage-site-stats__tabs {
  display: inline-flex;
  border-radius: 8px;
  border: 1px solid var(--border, #dadce0);
  overflow: hidden;
  background: var(--bg-subtle, #f8f9fa);
}

.mypage-site-stats__tab {
  border: 0;
  background: transparent;
  padding: 0.4rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink, #202124);
  line-height: 1.3;
}

.mypage-site-stats__tab:hover {
  background: #fff;
}

.mypage-site-stats__tab.is-active {
  background: #e8f0fe;
  color: var(--accent, #1a73e8);
  font-weight: 600;
}

.mypage-site-stats__tab:focus-visible {
  outline: 2px solid var(--accent, #1a73e8);
  outline-offset: 2px;
}

.mypage-site-stats__panel[hidden] {
  display: none;
}

.mypage-member-stats {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.mypage-member-stats__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
}

@media (max-width: 640px) {
  .mypage-layout .section__head {
    text-align: left;
    margin-bottom: 1.25rem;
  }

  .mypage-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mypage-nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .mypage-nav__link {
    flex: 1 1 auto;
    text-align: center;
    min-width: calc(50% - 0.35rem);
  }
}
