/*
 * AI6 홍보페이지 템플릿 — 채널톡(channel.io) 랜딩을 레퍼런스로 한 디자인.
 * 순수 CSS. 외부는 Pretendard 웹폰트 하나만 쓰고, 실패해도 시스템 폰트로 떨어진다.
 */

:root {
  --brand: #6d5dfc;
  --brand-strong: #5746e8;
  --brand-soft: #f0eeff;
  --lime: #c8ff63;
  --ink-900: #0b1220;
  --ink-700: #2b3444;
  --ink-500: #5a6472;
  --ink-300: #9aa3b2;
  --line: #e7ebf1;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-dark: #0b1220;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px -12px rgba(20, 33, 61, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 33, 61, 0.28);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
/* 멀티 페이지 — 전역 smooth 는 페이지 전환 시 맨 위 이동을 애니메이션해 중간이 보인다.
   섹션 이동만 JS 에서 부드럽게 처리한다(render). */

body {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── 버튼 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, #8b7bff 100%); color: #fff; box-shadow: 0 10px 24px -8px rgba(109, 93, 252, 0.6); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%); box-shadow: 0 14px 30px -8px rgba(109, 93, 252, 0.7); }
.btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-300); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-white { background: #fff; color: var(--brand-strong); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ─── 헤더 ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.announcement { background: var(--ink-900); color: #fff; font-size: 13px; font-weight: 650; }
.announcement a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; }
.announcement b { color: var(--lime); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #7c9cff);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: -0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-item { position: relative; }
.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
}
.nav-item:hover > .nav-label { background: var(--bg-soft); color: var(--ink-900); }
.nav-caret { width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; margin: -4px 1px 0 4px; opacity: .72; transform: rotate(45deg); transition: transform .16s ease, margin .16s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { margin-top: 3px; transform: rotate(225deg); }
/* hover 유지용 투명 다리 — 라벨과 드롭다운 사이 틈에서 마우스가 빠져 닫히는 걸 막는다 */
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.nav-sub a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
}
.nav-sub a small { display: block; margin-top: 1px; color: var(--ink-500); font-size: 11px; font-weight: 500; line-height: 1.35; }
.nav-sub a:hover { background: var(--bg-soft); color: var(--brand-strong); }
.nav-sub-title { padding: 8px 12px 5px; font-size: 11px; letter-spacing: .07em; color: var(--ink-300); font-weight: 800; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-login { padding: 8px 5px; color: var(--ink-700); font-size: 14px; font-weight: 650; }
.header-login:hover { color: var(--brand-strong); }
.header-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-900); font-size: 20px; cursor: pointer; }

/* ─── 히어로 ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 92px 0 80px;
  background:
    radial-gradient(900px 520px at 82% 10%, rgba(109, 93, 252, 0.18), transparent 60%),
    linear-gradient(180deg, #f7f5ff 0%, #ffffff 72%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(42px, 6.2vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 strong { position: relative; color: var(--ink-900); z-index: 0; }
.hero h1 strong::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .04em; height: .34em; border-radius: 999px; background: var(--lime); transform: rotate(-1deg); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.hero-proof span { padding: 7px 11px; border: 1px solid var(--line); background: rgba(255,255,255,.76); border-radius: 999px; color: var(--ink-700); font-size: 12px; font-weight: 750; }
.hero h1 .accent { color: var(--brand); }
.hero .sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-500);
  margin: 0 0 32px;
  max-width: 30em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-300); }

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, #eef2ff, #dfe8ff);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  aspect-ratio: 16 / 11.6;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-visual::before { content: "AI6 Super Admin · 실제 화면"; position: absolute; top: -18px; right: 22px; z-index: 3; padding: 10px 16px; background: var(--ink-900); color: #fff; border-radius: 12px; font-size: 12px; font-weight: 800; transform: rotate(2deg); box-shadow: var(--shadow); }
.admin-shot { height: 100%; overflow: hidden; border-radius: 15px; background: #fff; box-shadow: 0 10px 30px -14px rgba(20, 33, 61, 0.35); }
.admin-shot img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; background: #fff; }
.admin-shot .admin-hint { margin: 8px; position: absolute; right: 24px; bottom: 22px; padding: 7px 9px; box-shadow: var(--shadow); }
.hero-panel { position: relative; min-height: 0; flex: 1; }
/* 히어로 우측 목업 — AI6 관리자 콘솔(대시보드) 축소판 */
.admin-window {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px 1fr;
  box-shadow: 0 10px 30px -14px rgba(20, 33, 61, 0.35);
}
.admin-side {
  background: var(--bg-dark);
  color: #c7d0e0;
  padding: 14px 9px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; color: #fff; }
.admin-brand .brand-mark { width: 22px; height: 22px; border-radius: 7px; font-size: 9px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav span { font-size: 11px; padding: 6px 8px; border-radius: 7px; white-space: nowrap; color: #93a1bd; }
.admin-nav span.is-active { background: rgba(76, 110, 245, 0.24); color: #fff; }
.admin-main { padding: 13px; display: flex; flex-direction: column; gap: 11px; background: var(--bg-soft); }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.admin-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 8px; display: flex; flex-direction: column; gap: 3px; }
.admin-card .c-label { font-size: 9px; color: var(--ink-300); font-weight: 600; white-space: nowrap; }
.admin-card .c-value { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.admin-card.danger .c-value { color: #e5484d; }
.admin-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.admin-row { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; gap: 6px; padding: 8px 10px; font-size: 11px; align-items: center; border-top: 1px solid var(--line); }
.admin-row:first-child { border-top: none; }
.admin-row.head { background: var(--bg-soft); color: var(--ink-300); font-weight: 700; font-size: 10px; }
.pill { font-size: 9.5px; font-weight: 700; padding: 2px 0; border-radius: 999px; text-align: center; }
.pill.ok { background: #e7f7ee; color: #1a7f4b; }
.pill.warn { background: #fdeaea; color: #c23b3b; }
.hero-tabs { display: flex; gap: 5px; padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.hero-tab { border: 0; background: transparent; color: var(--ink-300); padding: 5px 7px; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.hero-tab.is-active { color: var(--brand-strong); border-bottom: 2px solid var(--brand); }
.hero-panel[hidden] { display: none; }
.hero-panel { display: flex; flex-direction: column; gap: 10px; animation: panel-in .25s ease; }
.admin-action { border: 0; border-radius: 7px; background: var(--brand); color: #fff; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.admin-hint { border-radius: 8px; padding: 7px 8px; background: #eefbf1; color: #247a47; font-size: 10px; font-weight: 700; }
@keyframes panel-in { from { opacity: .2; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.real-preview { overflow: hidden; border: 1px solid rgba(40, 64, 112, .12); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.real-preview-tabs { display: flex; gap: 4px; padding: 9px 10px 7px; background: #fff; border-bottom: 1px solid var(--line); }
.real-preview-tab { border: 0; border-radius: 7px; padding: 7px 9px; background: transparent; color: var(--ink-300); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.real-preview-tab.is-active { background: var(--brand-soft); color: var(--brand-strong); }
.real-preview-panel { position: relative; animation: panel-in .32s ease; }
.real-preview-panel[hidden] { display: none; }
.real-preview-panel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #fff; }
.real-preview-label { display: block; padding: 10px 13px; color: var(--ink-500); font-size: 12px; font-weight: 650; background: #fff; }

/* ─── 로고 벨트 ────────────────────────────────────────── */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--ink-300); font-size: 13px; font-weight: 600; margin: 0 0 20px; letter-spacing: 0.02em; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; }
.logo-chip { font-weight: 800; font-size: 19px; color: var(--ink-300); letter-spacing: -0.02em; }

/* ─── 섹션 공통 ────────────────────────────────────────── */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker { display: inline-block; color: var(--brand-strong); background: var(--brand-soft); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; padding: 6px 13px; border-radius: 999px; margin-bottom: 6px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
  font-weight: 800;
  line-height: 1.2;
}
.section-head p { color: var(--ink-500); font-size: 17px; margin: 0; }

/* ─── 기능 카드 ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand) 0%, #9a8dff 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px -8px rgba(109, 93, 252, 0.55);
}
.feature-icon .ic { color: #fff; }
.feature-card h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.02em; }
.feature-card p { color: var(--ink-500); font-size: 15px; margin: 0; }

/* ─── 교차 소개 ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.reverse .split-media { order: 2; }
.split-text .kicker { color: var(--brand); font-weight: 700; font-size: 14px; }
.split-text h3 { font-size: clamp(23px, 2.8vw, 31px); letter-spacing: -0.03em; margin: 10px 0 14px; line-height: 1.25; }
.split-text p { color: var(--ink-500); font-size: 16.5px; margin: 0 0 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); }
.check-list .tick { color: var(--brand); font-weight: 800; flex-shrink: 0; }
.split-media {
  border-radius: var(--radius);
  background: linear-gradient(160deg, #eef2ff, #e5ecff);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
  display: grid; place-items: center;
  padding: 20px;
}
/* 교차 소개의 관리자 프리뷰 — 탭을 클릭하면 다른 화면이 보인다 */
.admin-preview {
  width: 100%; height: 100%;
  background: #fff; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; text-align: left;
  box-shadow: 0 14px 34px -18px rgba(20, 33, 61, 0.42);
}
.ap-bar { height: 30px; background: var(--bg-soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; flex-shrink: 0; }
.ap-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ap-tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.ap-tab { font-size: 11.5px; font-weight: 700; padding: 7px 12px; border-radius: 8px 8px 0 0; color: var(--ink-500); cursor: pointer; border: 1px solid transparent; border-bottom: none; background: transparent; margin-bottom: -1px; }
.ap-tab:hover { color: var(--ink-900); }
.ap-tab.is-active { background: #fff; color: var(--brand-strong); border-color: var(--line); }
.ap-body { flex: 1; padding: 12px; background: var(--bg-soft); overflow: hidden; }
.ap-panel { display: flex; flex-direction: column; gap: 8px; animation: apfade 0.2s ease; }
.ap-panel[hidden] { display: none; }
@keyframes apfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.admin-table .admin-row.r2 { grid-template-columns: 1fr auto; }
.ap-tree { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; }
.ap-tree .grp { font-weight: 700; color: var(--ink-900); }
.ap-tree .leaf { color: var(--ink-500); padding-left: 16px; }
.ap-tree .leaf::before { content: "└ "; color: var(--ink-300); }

/* ─── 지표 밴드 ────────────────────────────────────────── */
.metrics { background: var(--bg-dark); color: #fff; padding: 66px 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric-value { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.metric-value .u { color: #8ea2ff; }
.metric-label { color: #9aa8c7; font-size: 14.5px; margin-top: 6px; }

/* ─── 후기 ─────────────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.quote-card .mark { color: var(--brand); font-size: 34px; line-height: 1; font-weight: 800; }
.quote-card blockquote { margin: 0; font-size: 16px; color: var(--ink-700); flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-weight: 800; }
.quote-who b { font-size: 15px; }
.quote-who span { font-size: 13px; color: var(--ink-300); display: block; }

/* ─── 소식 ─────────────────────────────────────────────── */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; transition: border-color 0.15s ease; }
.news-item:hover { border-color: var(--brand); }
.news-item time { font-size: 13px; color: var(--ink-300); }
.news-item h4 { margin: 8px 0 0; font-size: 16px; letter-spacing: -0.02em; }
.news-empty { text-align: center; color: var(--ink-300); }

/* ─── CTA 밴드 ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand), #6c8cff);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; }
.cta-band p { font-size: 17px; opacity: 0.92; margin: 0 0 28px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ─── 푸터 ─────────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); color: #aab4c8; padding: 60px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 26em; }
.footer-col h5 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: #aab4c8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #7b869c; }

/* ─── 반응형 ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .feature-grid, .quote-grid, .news-list { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .header-toggle { display: inline-grid; }
}
@media (max-width: 900px) {
  .header-inner { height: 60px; gap: 12px; }
  .header-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .nav { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .nav.is-open { display: block; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item:last-child { border-bottom: 0; }
  .nav-item::after { display: none; }
  .nav-label { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .nav-sub { position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 10px; }
  .nav-item.is-expanded > .nav-sub { display: flex; }
  .nav-caret { margin-left: auto; }
  .nav-item.is-expanded .nav-caret { margin-top: 3px; transform: rotate(225deg); }
  .header-login { display: none; }
}
@media (max-width: 560px) {
  .feature-grid, .quote-grid, .news-list, .metric-grid, .footer-top { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
  .hero { padding: 60px 0 52px; }
}

/* ─── 서브페이지 (기능·활용사례·고객지원·소식) ──────────────── */
html { scroll-padding-top: 84px; }          /* 앵커 이동 시 sticky 헤더 아래로 숨지 않게 */
.nav-label.is-current { color: var(--brand-strong); background: var(--bg-soft); }
.section-more { text-align: center; margin-top: 28px; }

.page-hero {
  padding: 76px 0 40px;
  text-align: center;
  background:
    radial-gradient(820px 360px at 50% -20%, rgba(76, 110, 245, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfcff, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; margin: 10px 0 12px; font-weight: 800; }
.page-hero p { color: var(--ink-500); font-size: 17px; margin: 0 auto; max-width: 34em; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.15s ease, transform 0.15s ease; }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.contact-card .ci { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); }
.contact-card .ci .ic { width: 18px; height: 18px; }
.contact-card b { font-size: 16px; }
.contact-card .cv { font-size: 15px; color: var(--ink-900); font-weight: 600; }
.contact-card .cn { font-size: 13px; color: var(--ink-300); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-500); font-size: 15px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ─── 단계(스텝) ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps.four, .support .steps { }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.step h4 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

/* ─── 기능 체크 그리드 ─────────────────────────────────── */
.chk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--ink-700); display: flex; gap: 9px; align-items: center; }

/* ─── 활용 사례 카드 ───────────────────────────────────── */
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.case-tag { align-self: flex-start; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; }
.case-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.case-block b { display: block; font-size: 12.5px; color: var(--ink-300); font-weight: 700; margin-bottom: 3px; }
.case-block p { margin: 0; font-size: 14.5px; color: var(--ink-700); line-height: 1.55; }
.case-metrics { display: flex; gap: 22px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.cm-v { display: block; font-size: 22px; font-weight: 800; color: var(--brand-strong); letter-spacing: -0.02em; }
.cm-k { display: block; font-size: 12.5px; color: var(--ink-400, var(--ink-300)); }

@media (max-width: 900px) {
  .steps, .chk-grid, .case-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .chk-grid, .case-list { grid-template-columns: 1fr; }
}

/* ─── 채널톡식 기능 밴드 (파스텔 톤) ────────────────────── */
.fband { padding: 78px 0; }
.tint-blue { background: #eef3ff; }
.tint-mint { background: #e8f8f0; }
.tint-lav  { background: #f2eefe; }
.tint-amber { background: #fff5e6; }
.fband .split { align-items: center; }
.fband-tag { display: inline-block; background: #fff; color: var(--brand-strong); border: 1px solid rgba(76, 110, 245, 0.25); font-weight: 700; font-size: 12.5px; padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.fband .split-text h3 { font-size: clamp(24px, 3vw, 33px); letter-spacing: -0.03em; margin: 0 0 14px; line-height: 1.22; }
.fband .split-text > p { color: var(--ink-700); font-size: 16.5px; margin: 0 0 18px; }
.fband .split-media { background: #fff; box-shadow: var(--shadow-lg); }

/* ─── 채널톡식 고객사례 (컬러 커버 카드 + 필터 칩) ───────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.chip { padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-500); cursor: pointer; transition: all 0.12s ease; }
.chip:hover { border-color: var(--ink-300); color: var(--ink-900); }
.chip.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.case2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.case2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case2-card[hidden] { display: none; }
.case2-cover { padding: 24px; min-height: 158px; display: flex; flex-direction: column; gap: 10px; }
.case2-cover.cover-blue { background: linear-gradient(160deg, #e6edff, #d7e3ff); }
.case2-cover.cover-mint { background: linear-gradient(160deg, #e2f7ec, #ccf0dd); }
.case2-cover.cover-lav  { background: linear-gradient(160deg, #efe9fe, #e2d8fd); }
.case2-cover.cover-amber { background: linear-gradient(160deg, #fff1dc, #ffe6bd); }
.case2-cover .tag { align-self: flex-start; background: rgba(255, 255, 255, 0.75); color: var(--ink-900); font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.case2-metric { margin-top: auto; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); }
.case2-metric small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-500); margin-top: 3px; letter-spacing: 0; }
.case2-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.case2-body b { font-size: 16px; letter-spacing: -0.02em; }
.case2-body p { margin: 0; color: var(--ink-500); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 900px) { .case2-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .case2-grid { grid-template-columns: 1fr; } }

/* ─── 라인 아이콘 ──────────────────────────────────────── */
.feature-icon .ic { width: 24px; height: 24px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; }
.case2-cover .use-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.65); }
.case2-cover .use-ic .ic { width: 26px; height: 26px; color: var(--ink-900); }
.case2-cover .use-name { margin-top: auto; font-size: 18px; letter-spacing: -0.02em; color: var(--ink-900); }

/* ─── SEO/GEO/AEO ──────────────────────────────────────── */
.mini-tag { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 6px; vertical-align: middle; }
.seo-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.seo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.seo-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.seo-ic .ic { width: 24px; height: 24px; }
.seo-card h3 { font-size: 17px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.35; }
.seo-why { color: var(--ink-500); font-size: 14.5px; margin: 0 0 14px; }

/* ─── 비교표 ──────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-size: 14px; color: var(--ink-500); font-weight: 700; }
.compare thead th.hi { color: var(--brand-strong); }
.compare .rowh { text-align: left; font-weight: 600; color: var(--ink-900); }
.compare td.hi { background: rgba(76, 110, 245, 0.05); }
.compare tbody tr:last-child td { border-bottom: none; }
.mk { font-weight: 800; font-size: 16px; }
.mk.ok { color: #1a7f4b; }
.mk.part { color: #c98a00; }
.mk.no { color: var(--ink-300); }

/* ─── 가격 안내 ────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 18px 36px -24px rgba(109,93,252,.65); }
.price-badge { position: absolute; top: -13px; left: 24px; padding: 5px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; }
.price-card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.03em; }
.price-desc { min-height: 48px; margin: 0; color: var(--ink-500); font-size: 14px; }
.price { margin: 26px 0 20px; font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.price small { color: var(--ink-500); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.price-card .check-list { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.pricing-note { margin: 24px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); color: var(--ink-500); font-size: 14px; }
.product-hero { padding: 94px 0 72px; background: var(--ink-900); color: #fff; overflow: hidden; }
.product-hero .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.product-hero .kicker { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.product-hero h1 { margin: 14px 0; font-size: clamp(40px, 5.3vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.product-hero p { max-width: 480px; margin: 0; color: #c2cbd9; font-size: 17px; }
.product-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product-map article { padding: 20px 16px; min-height: 155px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.07); }
.product-map b { display: block; color: var(--lime); font-size: 11px; letter-spacing: .07em; }
.product-map h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -.03em; }
.product-map p { color: #c2cbd9; font-size: 13px; }
.product-tour { display: grid; grid-template-columns: 195px minmax(0, 1fr); align-items: start; gap: 70px; }
.product-index { position: sticky; top: 96px; padding-top: 8px; }
.product-index b { display: block; margin-bottom: 15px; font-size: 13px; }
.product-index a { display: block; padding: 8px 10px; color: var(--ink-500); font-size: 14px; font-weight: 650; }
.product-index a:hover { color: var(--brand-strong); background: var(--brand-soft); border-radius: 8px; }
.tour-section { padding: 8px 0 70px; border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.tour-section:last-child { margin-bottom: 0; }
.tour-copy { display: grid; grid-template-columns: .82fr 1.18fr; gap: 45px; align-items: center; }
.tour-copy.reverse > :first-child { order: 2; }
.tour-copy .kicker { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.tour-copy h2 { margin: 10px 0 12px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.tour-copy p { color: var(--ink-500); font-size: 15.5px; }
.tour-list { margin: 20px 0 0; padding: 0; list-style: none; }
.tour-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.tour-list li::before { content: "✓"; color: var(--brand); margin-right: 8px; }
.tour-shot { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.tour-shot img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #fff; }
.tour-shot .shot-caption { display: flex; gap: 8px; align-items: center; padding: 11px 14px; color: var(--ink-500); font-size: 12px; font-weight: 700; }
.tour-shot .shot-caption::before { content: "●"; color: #3f6df6; font-size: 10px; }
.price-detail { margin-top: 80px; }
.price-detail h2 { font-size: 30px; letter-spacing: -.04em; text-align: center; }
.price-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.price-table table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.price-table th:first-child, .price-table td:first-child { text-align: left; font-weight: 700; }
.price-table th:nth-child(3), .price-table td:nth-child(3) { background: #f4f2ff; }
.price-faq { max-width: 760px; margin: 72px auto 0; }
.price-faq h2 { text-align: center; font-size: 30px; letter-spacing: -.04em; }

/* ─── 블로그 (channel.io/kr/blog 유사) ───────────────────── */
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.blog-featured .fcover { aspect-ratio: 16 / 10; display: flex; align-items: flex-start; padding: 20px; }
.blog-featured .fbody { padding: 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.blog-featured .fbody h2 { font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -0.03em; margin: 0; line-height: 1.3; }
.blog-featured .fbody p { margin: 0; color: var(--ink-500); font-size: 15.5px; }
.blog-section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 42px 0 22px; }
.blog-section-title h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.035em; }
.blog-section-title span { color: var(--ink-500); font-size: 14px; }
.post-cat { display: inline-block; background: rgba(255, 255, 255, 0.8); color: var(--ink-900); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.post-cat.solid { background: var(--brand-soft); color: var(--brand-strong); align-self: flex-start; }
.post-date { color: var(--ink-300); font-size: 13px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card[hidden] { display: none; }
.post-cover { aspect-ratio: 16 / 10; padding: 16px; display: flex; align-items: flex-start; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { font-size: 17px; letter-spacing: -0.02em; margin: 0; line-height: 1.4; }
.post-body p { margin: 0; color: var(--ink-500); font-size: 14.5px; flex: 1; }
.blog-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); align-items: start; }
.blog-side { position: sticky; top: 96px; }
.blog-side-title { display: block; margin: 0 0 20px; font-size: 29px; font-weight: 800; letter-spacing: -.05em; }
.blog-nav { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; border: 0; }
.blog-nav .chip { width: 100%; text-align: left; border-radius: 7px; padding: 8px 10px; color: var(--ink-500); background: transparent; border: 0; font-size: 14px; font-weight: 650; }
.blog-nav .chip:hover, .blog-nav .chip.is-active { color: var(--brand-strong); background: var(--brand-soft); box-shadow: none; }
.blog-side-sep { height: 1px; background: var(--line); margin: 14px 0; }
.blog-side-link { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; color: var(--ink-700); font-size: 14px; font-weight: 700; }
.blog-search { width: 100%; margin-top: 40px; padding: 12px; text-align: left; border: 0; border-radius: 10px; color: var(--ink-300); background: var(--bg-soft); font: inherit; font-size: 13px; cursor: pointer; }
.blog-search span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }
.blog-feed { min-width: 0; }
.blog-topic { margin-top: 78px; }
.blog-latest { margin-top: 0; }
.topic-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.topic-head h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.045em; }
.topic-more { border: 0; background: transparent; padding: 8px 0; color: var(--ink-700); font-size: 14px; font-weight: 700; cursor: pointer; }
.topic-more span { margin-left: 3px; }
.featured-story { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .9fr); gap: 24px; align-items: center; margin-bottom: 22px; }
.featured-story[hidden] { display: none; }
.featured-story .post-cover { aspect-ratio: 16 / 9; border-radius: 15px; }
.featured-body { padding: 8px 4px; }
.featured-body h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 36px); line-height: 1.24; letter-spacing: -.045em; }
.featured-body p { margin: 0 0 16px; color: var(--ink-500); font-size: 14.5px; }
.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recommended-grid, .topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.topic-grid { grid-template-columns: repeat(3, 1fr); }
.all-in-one { overflow: hidden; background: var(--ink-900); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 58px); position: relative; }
.all-in-one::after { content: "ALL IN ONE"; position: absolute; right: -16px; bottom: -46px; color: rgba(255,255,255,.045); font-size: clamp(64px, 13vw, 150px); font-weight: 900; letter-spacing: -.09em; white-space: nowrap; pointer-events: none; }
.aio-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.aio-head .kicker { color: var(--lime); }
.aio-head h2 { max-width: 650px; margin: 8px 0 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.aio-head p { max-width: 320px; margin: 0; color: #b9c1d0; font-size: 15px; }
.aio-flow { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.aio-step { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 22px; }
.aio-step strong { display: block; color: var(--lime); font-size: 12px; letter-spacing: .07em; margin-bottom: 10px; }
.aio-step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
.aio-step p { margin: 0; color: #c8cfdb; font-size: 14px; line-height: 1.55; }
.aio-arrow { align-self: center; color: var(--lime); font-size: 28px; }
.aio-checks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.aio-check { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); color: #e7eaf0; font-size: 13px; font-weight: 600; }
.aio-check .tick { color: var(--lime); }
.recent-grid .post-card:first-child { grid-column: span 2; }
.recent-grid .post-card:first-child .post-cover { aspect-ratio: 2 / 1; }
.blog-guide { margin-top: 72px; padding: 42px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink-900); color: #fff; }
.blog-guide h2 { margin: 8px 0; font-size: clamp(26px, 4vw, 40px); letter-spacing: -.035em; }
.blog-guide p { margin: 0; color: #b9c1d0; max-width: 560px; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .seo-list, .post-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .steps.steps-4 { grid-template-columns: 1fr 1fr; }
  .aio-flow { grid-template-columns: 1fr; }
  .aio-arrow { display: none; }
  .aio-checks { grid-template-columns: 1fr 1fr; }
  .latest-grid, .recommended-grid { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: 1fr; gap: 26px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .product-hero .wrap, .product-tour, .tour-copy { grid-template-columns: 1fr; gap: 30px; }
  .product-index { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
  .product-index b { width: 100%; }
  .product-index a { background: var(--bg-soft); border-radius: 8px; }
  .blog-side { position: static; }
  .blog-side-title { margin-bottom: 10px; }
  .blog-nav { flex-direction: row; overflow-x: auto; padding-bottom: 7px; }
  .blog-nav .chip { width: auto; flex: 0 0 auto; }
  .blog-side-sep, .blog-side-link, .blog-search { display: none; }
}
@media (max-width: 560px) {
  .seo-list, .post-grid { grid-template-columns: 1fr; }
  .latest-grid, .recommended-grid, .topic-grid { grid-template-columns: 1fr; }
  .latest-grid .post-card:first-child { grid-column: auto; grid-row: auto; }
  .latest-grid .post-card:first-child .post-cover { min-height: 0; }
  .featured-story { grid-template-columns: 1fr; gap: 16px; }
  .featured-body { padding: 0; }
  .blog-topic { margin-top: 56px; }
  .blog-nav { margin-bottom: 38px; }
  .recent-grid .post-card:first-child { grid-column: auto; }
  .recent-grid .post-card:first-child .post-cover { aspect-ratio: 16 / 10; }
  .blog-section-title { align-items: start; flex-direction: column; gap: 4px; }
  .blog-guide { padding: 28px 22px; align-items: flex-start; flex-direction: column; }
  .aio-head { align-items: flex-start; flex-direction: column; }
  .aio-flow, .aio-checks { grid-template-columns: 1fr; }
  .aio-arrow { display: none; }
}

  
/* ── 마감 손질: 카드 hover 인터랙션 + 대비 ── */
.feature-card, .seo-card, .contact-card { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.feature-card:hover, .seo-card:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(109,93,252,.28); }
.hero-note { color: var(--ink-500); }
.post-card, .case2-card { transition: transform .16s ease, box-shadow .16s ease; }
.post-card:hover, .case2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }


/* ══ 채널톡 레퍼런스 리디자인 ══ */
/* 상단 바: 밝은 노랑 + 검정 텍스트 + 알약 */
.announcement { background: var(--lime); color: var(--ink-900); font-weight: 700; }
.announcement a { color: var(--ink-900); min-height: 40px; }
.announcement b { color: var(--ink-900); }
.announcement span[aria-hidden] { background: var(--ink-900); color: var(--lime); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 800; }

/* CTA: 채널톡처럼 검정 */
.btn-primary { background: var(--ink-900); color: #fff; box-shadow: 0 10px 24px -10px rgba(11,18,32,.55); }
.btn-primary:hover { background: #20293c; box-shadow: 0 14px 30px -10px rgba(11,18,32,.6); }
.header-cta .btn-primary { border-radius: 999px; }

/* 히어로: 좌 헤드라인 / 우 설명·버튼, 그 아래 메시 그라데이션 스테이지 */
.hero { padding: 60px 0 72px; background: #fff; }
.hero::before, .hero::after { content: none; }
.hero-top { display: grid; grid-template-columns: 1.42fr 1fr; gap: 46px; align-items: end; margin-bottom: 40px; }
.hero-lead .eyebrow { margin-bottom: 18px; }
.hero-lead h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.07; letter-spacing: -0.038em; margin: 0; font-weight: 800; }
.hero-lead h1 strong { position: relative; z-index: 0; font-weight: 800; }
.hero-lead h1 strong::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .05em; height: .32em; border-radius: 999px; background: var(--lime); transform: rotate(-1deg); }
.hero-aside { padding-bottom: 8px; }
.hero-aside .sub { font-size: 17px; line-height: 1.6; color: var(--ink-500); margin: 0 0 22px; max-width: 32em; }
.hero-aside .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ink-700); font-weight: 700; }

.hero-stage { position: relative; border-radius: 30px; padding: 46px 46px 0; overflow: hidden;
  background:
    radial-gradient(closest-side at 16% 26%, #ffd3ee 0, transparent 70%),
    radial-gradient(closest-side at 84% 16%, #d6c5ff 0, transparent 72%),
    radial-gradient(closest-side at 70% 96%, #c4dfff 0, transparent 72%),
    linear-gradient(125deg, #f4ecff 0%, #eaf1ff 100%); }
.hero-stage .hero-visual { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 18px 18px 0 0;
  padding: 12px 12px 0; box-shadow: 0 28px 64px -26px rgba(20,33,61,.45); aspect-ratio: auto; display: block; }
.hero-stage .hero-visual::before { display: none; }
.hero-stage .hero-tabs { display: flex; gap: 6px; padding: 2px 4px 10px; border: 0; }
.hero-stage .admin-shot { height: auto; overflow: hidden; border-radius: 12px 12px 0 0; box-shadow: none; }
.hero-stage .admin-shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; background: #fff; border-radius: 12px 12px 0 0; }

@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .hero-stage { padding: 24px 20px 0; border-radius: 22px; }
}


/* 한글 단어 중간 줄바꿈 방지 */
h1, h2, h3, h4, .hero-lead h1, .section-head h2, .hero-lead h1 strong { word-break: keep-all; }

/* ══ 커서 클릭 데모 + 플로팅 뱃지 + 움직이는 그라데이션 ══ */
.demo-cursor { position: absolute; top: 0; left: 0; z-index: 7; pointer-events: none; margin: -2px 0 0 -2px; transition: transform .6s cubic-bezier(.45,.05,.2,1); filter: drop-shadow(0 4px 7px rgba(20,33,61,.35)); }
.demo-cursor svg { display: block; }
.demo-cursor.click svg { animation: demo-press .32s ease; }
@keyframes demo-press { 50% { transform: scale(.8); } }
.demo-cursor .demo-ring { position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: rgba(109,93,252,.4); transform: translate(-50%,-50%) scale(0); }
.demo-cursor.click .demo-ring { animation: demo-ping .55s ease-out; }
@keyframes demo-ping { 0% { transform: translate(-50%,-50%) scale(.4); opacity: .85; } 100% { transform: translate(-50%,-50%) scale(3.6); opacity: 0; } }
.hero-float { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 26px -12px rgba(20,33,61,.3); padding: 9px 13px; font-size: 12.5px; font-weight: 800; color: var(--ink-900); animation: floaty 3.6s ease-in-out infinite; }
.hero-float b { color: var(--brand-strong); margin-right: 3px; }
.hero-float.f1 { top: 12%; left: 1.5%; }
.hero-float.f2 { bottom: 15%; right: 1.5%; animation-delay: .9s; }
.hero-float.f2 b { color: #1a7f4b; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-stage { background-size: 150% 150%, 150% 150%, 150% 150%, 100% 100%; animation: mesh 16s ease-in-out infinite; }
@keyframes mesh { 0%,100% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; } 50% { background-position: 24% 12%, 76% 24%, 62% 88%, 0 0; } }
@media (prefers-reduced-motion: reduce) { .demo-cursor, .hero-float, .hero-stage { animation: none !important; } }

/* ═══════════════════════════════════════════════════════════════════
   제품 기능 화면 — 로그인·회원가입·내 사이트·템플릿·고객사례
   (회원가입있는버전에서 가져옴 · 2026-09-08 병합)
   마케팅 화면과 달리 이 화면들은 데이터가 아니라 제품 기능이다.
   ═══════════════════════════════════════════════════════════════════ */
#auth-controls { display: flex; align-items: center; gap: 10px; }
.account-link { font-size: 14px; font-weight: 750; color: var(--ink-700); padding: 8px 4px; }
.account-link:hover { color: var(--brand-strong); }
.account-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-700); font-size: 13px; font-weight: 750; }
.account-chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-900); color: #fff; font-style: normal; font-size: 11px; }
.builder-hero { padding: 78px 0 58px; background: linear-gradient(135deg, #f4f1ff 0%, #fff 62%, #effff0 100%); }
.builder-hero .wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
.builder-hero h1 { margin: 12px 0 16px; font-size: clamp(42px, 5.6vw, 66px); letter-spacing: -.055em; line-height: 1.08; }
.builder-hero p { max-width: 520px; margin: 0 0 26px; color: var(--ink-500); font-size: 17px; }
.template-mini { position: relative; padding: 18px; border: 1px solid rgba(109,93,252,.16); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.template-mini-top { height: 26px; margin-bottom: 13px; border-radius: 8px; background: #eef1f7; }
.template-mini-hero { height: 152px; border-radius: 13px; background: linear-gradient(135deg, #111a2d, #3b2e92); position: relative; overflow: hidden; }
.template-mini-hero::after { content:""; position:absolute; width: 180px; height:180px; border-radius:50%; background: var(--lime); right:-45px; top:-62px; opacity:.88; }
.template-mini-line { position:absolute; left:25px; top:41px; width:50%; height:11px; border-radius:8px; background:#fff; z-index:1; }
.template-mini-line + .template-mini-line { top:64px; width:34%; opacity:.62; }
.template-mini-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:9px; margin-top:13px; }
.template-mini-cards span { height:48px; border-radius:10px; background:#f0eeff; }
.template-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; align-items:center; margin: 0 0 30px; }
.template-filters { display:flex; flex-wrap:wrap; gap:8px; }
.template-filter { border:1px solid var(--line); background:#fff; color:var(--ink-500); border-radius:999px; padding:9px 13px; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.template-filter.is-active, .template-filter:hover { background:var(--ink-900); color:#fff; border-color:var(--ink-900); }
.template-count { color:var(--ink-500); font-size:14px; font-weight:650; }
.template-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.template-card { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:#fff; box-shadow:0 8px 24px -16px rgba(20,33,61,.32); transition:transform .18s ease, box-shadow .18s ease; }
.template-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.template-screen { aspect-ratio: 16/10; padding:11px; background:#edf1f8; overflow:hidden; }
.template-frame { height:100%; border-radius:10px; overflow:hidden; background:#fff; }
.template-frame .bar { height:14%; background:#fff; border-bottom:1px solid #edf0f5; }
.template-frame .visual { height:56%; position:relative; padding:16px; }
.template-frame .visual b { display:block; width:55%; height:12px; border-radius:8px; background:rgba(255,255,255,.95); }
.template-frame .visual span { display:block; width:34%; height:7px; margin-top:9px; border-radius:8px; background:rgba(255,255,255,.72); }
.template-frame .tiles { height:30%; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; padding:8px; background:#fff; }
.template-frame .tiles i { border-radius:5px; background:#eef1f7; }
.template-frame.realty .visual { background:linear-gradient(125deg,#17213b,#5f4bd6); }
.template-frame.clinic .visual { background:linear-gradient(125deg,#108278,#63d4bd); }
.template-frame.company .visual { background:linear-gradient(125deg,#d89150,#ffe0ae); }
.template-frame.museum .visual { background:linear-gradient(125deg,#1a1c25,#7c69b6); }
.template-card-body { padding:18px 18px 20px; }
.template-meta { display:flex; gap:7px; align-items:center; color:var(--ink-300); font-size:12px; font-weight:750; }
.template-meta b { color:var(--brand-strong); background:var(--brand-soft); padding:3px 7px; border-radius:999px; }
.template-card h3 { margin:8px 0 6px; font-size:20px; letter-spacing:-.035em; }
.template-card p { margin:0 0 17px; min-height:44px; color:var(--ink-500); font-size:14px; }
.template-card .btn { width:100%; justify-content:center; padding:11px 15px; }
.empty-state { text-align:center; padding:52px 20px; border:1px dashed var(--line); border-radius:18px; color:var(--ink-500); }
.auth-shell { min-height: calc(100vh - 110px); display:grid; place-items:center; padding:56px 24px; background:linear-gradient(135deg,#f6f4ff,#fff); }
.auth-card { width:min(100%, 470px); padding:38px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow-lg); }
.auth-card h1 { margin:8px 0 8px; font-size:32px; letter-spacing:-.045em; }
.auth-card > p { margin:0 0 25px; color:var(--ink-500); }
.auth-form { display:grid; gap:14px; }
.form-field { display:grid; gap:7px; font-size:13px; font-weight:750; color:var(--ink-700); }
.form-field input, .form-field select { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px; outline:none; font:inherit; color:var(--ink-900); background:#fff; }
.form-field input:focus, .form-field select:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.form-note { margin:6px 0 0; padding:11px 12px; border-radius:10px; background:var(--bg-soft); color:var(--ink-500); font-size:12px; line-height:1.55; }
.form-error { margin:0; color:#bd2635; font-size:13px; font-weight:650; line-height:1.45; }
.form-error:empty { display:none; }
.form-error:not(:empty) { padding:10px 12px; border-radius:9px; background:#fff1f2; }
.auth-switch { margin:20px 0 0; color:var(--ink-500); text-align:center; font-size:14px; }.auth-switch a { color:var(--brand-strong); font-weight:800; }
.my-hero { padding:62px 0 38px; background:linear-gradient(135deg,#0b1220,#20294a); color:#fff; }
.my-hero .wrap { display:flex; align-items:end; justify-content:space-between; gap:24px; }.my-hero .kicker { color:var(--lime); }.my-hero h1 { margin:8px 0 0; font-size:clamp(33px,4.5vw,52px); letter-spacing:-.05em; }.my-hero p { margin:10px 0 0; color:#c3cada; }
.my-shell { padding:46px 0 84px; background:var(--bg-soft); min-height:560px; }.my-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:34px; }.summary-card { padding:18px; border-radius:16px; background:#fff; border:1px solid var(--line); }.summary-card span { display:block; color:var(--ink-500); font-size:13px; font-weight:700; }.summary-card b { display:block; margin-top:4px; font-size:27px; letter-spacing:-.05em; }
.domain-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:16px; }.domain-head h2 { margin:0; font-size:26px; letter-spacing:-.04em; }.domain-head p { margin:4px 0 0; color:var(--ink-500); font-size:14px; }.domain-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }.domain-card { padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; }.domain-card-top { display:flex; justify-content:space-between; gap:14px; align-items:start; }.domain-card h3 { margin:3px 0 4px; font-size:20px; letter-spacing:-.035em; }.domain-card code { color:var(--brand-strong); font-family:inherit; font-size:14px; font-weight:750; }.domain-status { padding:4px 8px; border-radius:999px; background:#e9f8ef; color:#247a47; font-size:11px; font-weight:800; white-space:nowrap; }.domain-template { margin:16px 0; padding:12px; border-radius:10px; background:var(--bg-soft); color:var(--ink-500); font-size:13px; }.domain-actions { display:flex; gap:8px; }.domain-actions .btn { flex:1; justify-content:center; padding:10px 12px; font-size:13px; }

/* 반응형 — 그리드 접기 */
@media (max-width: 780px) {
  .builder-hero .wrap { grid-template-columns: 1fr; }
  .template-grid, .domain-grid { grid-template-columns: 1fr; }
  .my-summary { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 28px 22px; }
}
@media (max-width: 560px) {
  #auth-controls .account-link { display: none; }
  .my-hero .wrap, .domain-head { align-items: start; flex-direction: column; }
  .my-summary { grid-template-columns: 1fr; }
  .template-grid { gap: 16px; }
  .builder-hero { padding-top: 52px; }
  .builder-hero h1 { font-size: 40px; }
  .domain-actions { flex-direction: column; }
  .domain-actions .btn { width: 100%; }
}
/* 포커스 표시 — 이식한 상호작용 요소도 키보드로 보이게 */
.template-filter:focus-visible, .account-link:focus-visible, .account-chip:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px;
}

/* ── 게시판 (규약 §4-1-1) ──────────────────────────────────────────
 *
 * 줄 마크업은 서버가 그린다(.list · .grid · .faq). 여기서는 그것을 이 디자인의 말투로
 * 칠하기만 한다 — 반복문을 껍데기에 넣지 않는 이유가 이것이다.
 *
 * ⚠️ 감싸개로 못 묶는다. 껍데기의 블록은 **맨 바깥 층**에 있어야 해서(block-split),
 *    `.board-skin .list` 같은 선택자를 못 쓴다 — 이 클래스들을 직접 겨눈다. 게시판 화면
 *    말고는 나오지 않는 이름이라 새지 않는다.
 */
.board-head { max-width: 900px; margin: 0 auto 18px; }
.board-head h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.board-head__desc { color: var(--ink-500); font-size: 15px; margin: 0; }

.list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.list > li { border-bottom: 1px solid var(--line); }
.list a { padding: 16px 6px; color: var(--ink); }
.list a:hover { color: var(--brand); }
.list .t { font-weight: 600; }
.list time { color: var(--ink-500); font-size: 13px; }
/* 답변 줄 — 원글 밑에 한 칸 들여 붙는다 (123) */
.list > li.reply > a { padding-left: 26px; background: var(--bg-soft); }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid > li.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.grid > li.card h2 { font-size: 16px; font-weight: 700; margin: 0; padding: 14px 16px; }

/* 문답형 — 이 디자인의 자주 묻는 질문과 같은 생김새로 */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 15px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }

/* 글 하나 · 답변 (123) */
.ai6-replies { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.ai6-reply { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 14px; }

/* 게시판 고르기 — 블로그 사이드바와 같은 칩 (125) */
.board-nav { max-width: 900px; margin: 0 auto 22px; }
.board-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.board-nav a {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-500); background: #fff;
}
.board-nav a:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); text-decoration: none; }
/* 지금 보고 있는 게시판 — 목록에서 자기 자리를 찾을 수 있어야 한다 */
.board-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); border-color: transparent; }

/* ─── 글 카드 링크 ────────────────────────────────────────
   제목이 링크이고, 그 링크 하나가 카드 전체를 덮는다. 카드를 통째로 <a> 로 감싸면
   .post-card 의 flex·.featured-story 의 grid 자식 구성이 무너진다 — 그래서 넓히기만 한다. */
.post-card, .featured-story, .news-item { position: relative; }
.post-link { color: inherit; text-decoration: none; }
.post-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card:hover .post-link, .featured-story:hover .post-link, .news-item:hover .post-link { color: var(--brand); }
.post-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ─── 틀(shell.html)의 메뉴 ────────────────────────────────────────
   서버의 `menu` 블록이 내는 마크업은 ul.nav-list > li.nav-item > a.nav-link 로 **고정**이다
   (규약 §4-1-2). app.js 가 만드는 div.nav-item > a.nav-label 과 이름이 다르니, 같은 모양이
   되도록 여기서 이어 준다 — 색·여백을 두 벌로 적지 않으려고 위의 규칙에 얹기만 한다. */
.nav-list, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink-700); cursor: pointer;
}
.nav-item:hover > .nav-link { background: var(--bg-soft); color: var(--ink-900); }
.nav-sub { padding: 8px; }
.nav-sub .nav-link { padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.nav-sub .nav-link:hover { background: var(--bg-soft); color: var(--brand-strong); }

/* 틀의 머리말·바닥글은 각각 div 하나 안에 들어간다(규약 §4-1-2) — 직계 선택자를 안 쓰는 이유. */
.ai6-shell-head .site-header { position: sticky; top: 0; }

@media (max-width: 900px) {
  /* 여기엔 햄버거 버튼이 없다(스크립트가 없는 문서다) — 줄바꿈으로 다 보이게 둔다. */
  .ai6-shell-head .nav { display: flex; flex-wrap: wrap; margin-left: 0; }
  .ai6-shell-head .header-inner { height: auto; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .ai6-shell-head .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 0 10px; }
}

/* ─── 게시판 화면(서버가 그린다) ──────────────────────────────────
   이름은 규약 §4-1-1 의 표대로 고정이다. 여기서 안 칠하면 그 화면만 무늬가 없다. */
.board-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.board-search { display: flex; gap: 8px; margin-bottom: 22px; }
.board-search input { flex: 1; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.post-nav a { color: var(--ink-700); }
.post-nav a:hover { color: var(--brand-strong); }
.more { margin-top: 26px; font-size: 14px; font-weight: 650; }
.more a { color: var(--brand-strong); }
.meta { color: var(--ink-500); font-size: 14px; margin: 6px 0 20px; }
.empty, .found { color: var(--ink-500); font-size: 14px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
/* 값이 빈 토큰은 빈 글자다 — 구분자를 글자로 적지 않고 여백으로 띄운다(규약 §4-1-2). */
.foot-contact { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-contact > span:empty { display: none; }
/* 사업자 정보 + 연락처 두 줄(2026-09-28). 빈 줄은 감춘다. 껍데기의 「대표 」「사업자등록번호 」 머리말은 값이 있을 때만 붙는다. */
.foot-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.foot-info > span:empty { display: none; }
.foot-label:not(:empty)::before { content: attr(data-label); }

/* ═══════════════════════════════════════════════════════════════════
   회원가입있는버전(2026-09-09)에서 이식 — 소셜 로그인·가입 정보 입력·계정 드롭다운·
   마이페이지 4탭(내정보·구독·결제내역·내 사이트)·요금제 카드·결제 표 (2026-09-10 합침).
   위에 이미 있는 선택자는 안 가져왔다 — 같은 규칙이 두 번 있으면 한쪽만 고쳐지는 날이 온다.
   ═══════════════════════════════════════════════════════════════════ */
.account-chip::after {content: "▾"; font-size: 10px; color: var(--ink-500); margin-left: 1px;}
.account-menu {position: relative;}
.account-dropdown {position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60;}
.account-dropdown-head {padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px;}
.account-dropdown-head b {font-size: 14px; color: var(--ink-900, #111);}
.account-dropdown-head span {font-size: 12px; color: var(--ink-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.account-dropdown a {display: block; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 650; color: var(--ink-700);}
.account-dropdown a:hover {background: var(--bg-soft);}
.account-dropdown a.is-logout {color: #dc2626;}
.auth-form[hidden], .email-cta[hidden] {display:none;}
.field-error {display:block; color:#dc2626; font-size:12px; margin-top:5px; font-weight:600;}
.field-error:empty {display:none;}
.auth-brand {text-align:center; font-weight:900; font-size:26px; letter-spacing:-.03em; color:var(--brand-strong);}
.auth-title {text-align:center; margin:14px 0 6px; font-size:26px; letter-spacing:-.03em;}
.auth-sub {text-align:center; margin:0 0 22px; color:var(--ink-500); font-size:15px;}
.social-row {display:flex; justify-content:center; gap:16px; margin:4px 0 8px;}
.social-circle {width:54px; height:54px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; border:none; cursor:pointer; text-decoration:none; transition:transform .12s ease, box-shadow .12s ease;}
.social-circle:not([disabled]):hover {transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.14);}
.social-circle[disabled] {cursor:not-allowed; opacity:.45;}
.sc-naver {background:#03C75A; color:#fff; font-weight:800; font-size:22px;}
.sc-kakao {background:#FEE500;}
.sc-google {background:#fff; border:1px solid #e2e5ea;}
.sc-apple {background:#000;}
.email-cta {display:flex; align-items:center; justify-content:center; gap:10px; width:100%; background:#fff; color:#1f2937; border:1px solid #d1d5db;}
.email-cta:hover {background:#f9fafb; border-color:#cbd5e1;}
.mail-ic {display:inline-block; vertical-align:middle;}
.or-divider {display:flex; align-items:center; gap:12px; margin:20px 0; color:#a3adba; font-size:13px;}
.or-divider::before, .or-divider::after {content:""; flex:1; height:1px; background:var(--line);}
.auth-foot {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:22px; color:var(--ink-500); font-size:14px;}
.auth-foot a {color:var(--ink-900, #111); font-weight:800; text-decoration:underline; text-underline-offset:3px;}
.agree-box {margin:6px 0 4px; padding:12px 14px; border:1px solid #e5e7eb; border-radius:10px; background:#fafafa;}
.agree-all {font-weight:800; color:#111; padding-bottom:10px; margin-bottom:6px; border-bottom:1px solid #e5e7eb;}
.agree-item {display:flex; flex-wrap:wrap; align-items:center; column-gap:8px; margin:8px 0;}
.agree-item .agree-row {flex:1 1 auto; margin:0;}
.agree-row {display:flex; align-items:center; gap:8px; font-size:14px; color:#374151; cursor:pointer; margin:4px 0;}
.agree-row input {width:16px; height:16px;}
.agree-row b {color:#111; font-weight:800;}
.agree-terms {margin:0 0 0 auto;}
.agree-terms > summary {cursor:pointer; color:#6b7280; font-size:12px; text-decoration:underline; text-underline-offset:2px;}
.agree-item .agree-full {flex-basis:100%; margin-top:6px; padding:8px 10px; background:#fff; border:1px solid #eee; border-radius:8px; color:#9ca3af; font-size:12px;}
.site-admin {padding:44px 0 80px; background:var(--bg-soft); min-height:calc(100vh - 110px);}
.site-admin-grid {display:grid; grid-template-columns:220px minmax(0,1fr); gap:22px;}
.site-side, .site-panel {border:1px solid var(--line); border-radius:17px; background:#fff;}
.site-side {padding:14px;}
.site-side b {display:block; padding:8px 10px; font-size:13px;}
.site-side a {display:block; padding:9px 10px; border-radius:8px; color:var(--ink-500); font-size:14px; font-weight:650;}
.site-side a.is-active {background:var(--brand-soft); color:var(--brand-strong);}
.site-panel {padding:30px;}
.site-panel h1 {margin:0 0 8px; font-size:30px; letter-spacing:-.045em;}
.site-panel > p {margin:0 0 25px; color:var(--ink-500);}
.setting-list {display:grid; gap:10px;}
.setting-row {display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px; border:1px solid var(--line); border-radius:12px;}
.setting-row b {display:block; font-size:14px;}
.setting-row span {display:block; margin-top:3px; color:var(--ink-500); font-size:13px;}
.site-live {min-height:calc(100vh - 110px); background:#f2f4f8; padding:30px 0;}
.live-frame {overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow);}
.live-nav {display:flex; justify-content:space-between; padding:17px 24px; border-bottom:1px solid var(--line); font-weight:800;}
.live-hero {padding:86px 8%; background:linear-gradient(125deg,#17213b,#6e55ef); color:#fff;}
.live-hero .tag {color:var(--lime); font-weight:800; font-size:13px;}
.live-hero h1 {max-width:650px; margin:12px 0; font-size:clamp(34px,5vw,64px); line-height:1.08; letter-spacing:-.055em;}
.live-hero p {max-width:500px; color:#d4d9eb;}
.live-sections {display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:26px;}
.live-sections div {min-height:120px; padding:17px; border-radius:12px; background:var(--bg-soft);}
.live-sections b {display:block; margin-bottom:6px;}
.live-sections p {margin:0; color:var(--ink-500); font-size:13px;}
@media (max-width: 780px) {
  .builder-hero .wrap, .site-admin-grid {grid-template-columns:1fr;}
  .site-side {display:flex; overflow:auto; gap:4px;}
  .site-side b {display:none;}
  .site-side a {white-space:nowrap;}
  .live-sections {grid-template-columns:1fr;}
}
button, input, select, textarea {font-family: inherit;}
.header-cta, #auth-controls {gap: 12px;}
.header-cta .btn {min-height: 42px; padding-inline: 18px; font-size: 14px;}
.hero-actions, .builder-hero .btn, .my-hero .btn {align-items: center;}
.auth-form .btn {width: 100%; margin-top: 4px;}
.auth-card > .form-note {margin-top: 24px;}
.site-panel {padding: 32px;}
.setting-list {gap: 12px;}
.setting-row {padding: 16px;}
.setting-row .btn {min-height: 40px; padding: 0 14px;}
.btn:focus-visible, .template-filter:focus-visible, .nav-label:focus-visible, .account-link:focus-visible, .account-chip:focus-visible {outline: 3px solid rgba(109, 93, 252, .3);
  outline-offset: 2px;}
@media (max-width: 560px) {
  .header-cta .btn {width: auto; min-height: 40px; padding-inline: 14px;}
  .auth-card > .form-note {margin-top: 20px;}
  .my-hero .btn, .domain-head .btn {width: 100%;}
  .setting-row {align-items: flex-start; flex-direction: column;}
  .setting-row .btn {width: 100%;}
}
.account-dropdown {min-width: 212px; padding: 7px; border-radius: 14px; box-shadow: 0 18px 44px -20px rgba(10, 18, 35, .4);}
.account-dropdown a.account-dropdown-head {padding: 9px 11px 11px; margin-bottom: 5px; min-height: 0; flex-direction: column; align-items: stretch; gap: 2px;}
.account-dropdown a.account-dropdown-head b {font-size: 14px; font-weight: 800;}
.account-dropdown a {display: flex; align-items: center; min-height: 0; padding: 8px 10px; border-radius: 9px;}
.account-dropdown a > span:not(.account-menu-icon) {display: flex; min-width: 0; flex-direction: column; gap: 1px;}
.account-dropdown a b {color: var(--ink-900); font-size: 12.5px; font-weight: 650;}
.account-dropdown a small {color: var(--ink-500); font-size: 10.5px; font-weight: 500;}
.account-dropdown a.is-logout {min-height: 0; border-radius: 9px;}
.account-dropdown a.is-logout b {color: #c92d3c;}
.account-menu-icon {display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; background: #f1efff; color: var(--brand-strong); font-size: 12px; font-style: normal; font-weight: 900;}
.account-dropdown a.is-logout .account-menu-icon {background: #fff1f2; color: #c92d3c;}
.mypage-hero {position: relative; overflow: hidden; padding: 24px 0 18px; background: linear-gradient(128deg, #f5f2ff 0%, #fff 56%, #f0fff0 100%);}
.mypage-hero::after {content: ""; position: absolute; top: -70px; right: 6%; width: 150px; height: 150px; border-radius: 50%; border: 30px solid rgba(196, 255, 79, .2); pointer-events: none;}
.mypage-hero .wrap {position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;}
.mypage-hero .kicker {font-size: 12px;}
.mypage-hero h1 {margin: 4px 0 4px; color: var(--ink-900); font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -.04em;}
.mypage-hero p {margin: 0; color: var(--ink-500); font-size: 14px;}
.mypage-shell {min-height: 650px; padding: 42px 0 96px; background: #f7f8fb;}
.mypage-layout {display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start;}
.mypage-side {position: sticky; top: 94px; overflow: hidden; border: 1px solid #e4e7ee; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px -30px rgba(17, 24, 39, .45);}
.mypage-profile {display: flex; gap: 12px; align-items: center; padding: 22px 18px 18px; border-bottom: 1px solid #edf0f4;}
.mypage-profile > i {display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: var(--ink-900); color: #fff; font-size: 15px; font-style: normal; font-weight: 900;}
.mypage-profile > div {min-width: 0;}
.mypage-profile b, .mypage-profile span {display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.mypage-profile b {color: var(--ink-900); font-size: 14px;}
.mypage-profile span {margin-top: 3px; color: var(--ink-500); font-size: 11px;}
.mypage-menu {display: grid; gap: 4px; padding: 12px;}
.mypage-menu a {display: flex; flex-direction: column; gap: 2px; padding: 12px 13px; border-radius: 12px; color: var(--ink-700);}
.mypage-menu a span {font-size: 14px; font-weight: 800;}
.mypage-menu a small {color: var(--ink-500); font-size: 11px;}
.mypage-menu a:hover {background: #f7f6ff;}
.mypage-menu a.is-active {background: var(--ink-900); color: #fff;}
.mypage-menu a.is-active small {color: #cbd2df;}
.mypage-site-shortcut {display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 12px 12px; padding: 15px 14px; border-radius: 14px; background: linear-gradient(135deg, #eeebff, #f6ffe2); color: var(--ink-900);}
.mypage-site-shortcut span {display: flex; flex-direction: column; gap: 2px;}
.mypage-site-shortcut b {font-size: 13px;}
.mypage-site-shortcut small {color: var(--ink-500); font-size: 10px;}
.mypage-site-shortcut > i {display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand-strong); font-style: normal; font-weight: 900;}
.mypage-site-shortcut:hover, .mypage-site-shortcut.is-active {background: linear-gradient(135deg, #ded8ff, #ebffbd);}
.mypage-content {min-width: 0; padding: 31px; border: 1px solid #e4e7ee; border-radius: 22px; background: #fff; box-shadow: 0 16px 42px -34px rgba(17, 24, 39, .48);}
.mypage-panel-head {display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 26px;}
.mypage-panel-head .eyebrow {color: var(--brand-strong); font-size: 10px; font-weight: 900; letter-spacing: .14em;}
.mypage-panel-head h2 {margin: 6px 0 6px; color: var(--ink-900); font-size: 28px; letter-spacing: -.04em;}
.mypage-panel-head p {margin: 0; color: var(--ink-500); font-size: 14px;}
.verified-badge, .site-count-badge {flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #eaf8ef; color: #247a47; font-size: 11px; font-weight: 850;}
.site-count-badge {background: #f0edff; color: var(--brand-strong);}
.account-info-card {overflow: hidden; border: 1px solid #e5e7ed; border-radius: 18px; background: linear-gradient(135deg, #fbfbfd, #fff);}
.account-info-grid {display: grid; grid-template-columns: 1fr 1.5fr;}
.account-info-grid > div {display: grid; gap: 8px; min-width: 0; padding: 23px 24px;}
.account-info-grid > div + div {border-left: 1px solid #e5e7ed;}
.account-info-grid span, .site-domain span {color: var(--ink-500); font-size: 11px; font-weight: 700;}
.account-info-grid b {overflow-wrap: anywhere; color: var(--ink-900); font-size: 16px;}
.panel-head-actions {display: flex; align-items: center; gap: 10px; flex: 0 0 auto;}
.btn-info-edit {padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-700); font-size: 13px; font-weight: 750; cursor: pointer;}
.btn-info-edit:hover {border-color: var(--brand); color: var(--brand-strong); background: var(--bg-soft);}
.field-value {display: flex; align-items: center; gap: 9px; min-width: 0;}
.field-edit {flex: 0 0 auto; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-500); font-size: 12px; cursor: pointer; line-height: 1;}
.field-edit:hover {color: var(--brand-strong); border-color: var(--brand); background: var(--bg-soft);}
.field-value input {flex: 1 1 auto; min-width: 0; padding: 8px 10px; border: 1px solid var(--brand); border-radius: 9px; font-size: 15px;}
.field-value .field-save {flex: 0 0 auto; padding: 7px 12px; border: 0; border-radius: 9px; background: var(--brand-strong); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer;}
.field-value .field-cancel {flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-500); font-size: 13px; cursor: pointer;}
.provider-badge {flex: 0 0 auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; overflow: hidden;}
.provider-badge svg {width: 16px; height: 16px;}
.pb-google {background: #fff; border: 1px solid #e2e5ea;}
.pb-naver {background: #03C75A;}
.pb-kakao {background: #FEE500;}
.pb-apple {background: #000;}
.pb-letter {color: #fff; font-weight: 900; font-size: 13px; font-style: normal;}
.owned-sites {margin-top: 34px;}
.subsection-head {display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 13px;}
.subsection-head h3 {margin: 0; font-size: 19px; letter-spacing: -.035em;}
.subsection-head p {margin: 4px 0 0; color: var(--ink-500); font-size: 12px;}
.subsection-head > a {color: var(--brand-strong); font-size: 13px; font-weight: 800;}
.owned-site-list {overflow: hidden; border: 1px solid #e5e7ed; border-radius: 16px;}
.owned-site-row {display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 34px; gap: 12px; align-items: center; min-height: 74px; padding: 12px 16px; background: #fff;}
.owned-site-row + .owned-site-row {border-top: 1px solid #edf0f4;}
.owned-site-row:hover {background: #fafaff;}
.owned-site-mark {display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #edeaff; color: var(--brand-strong); font-size: 10px; font-weight: 900;}
.owned-site-row > div {min-width: 0;}
.owned-site-row > div b, .owned-site-row > div span {display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.owned-site-row > div b {font-size: 14px;}
.owned-site-row > div span {margin-top: 3px; color: var(--ink-500); font-size: 11px;}
.owned-site-row > a {display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-900); font-weight: 900;}
.site-state {padding: 5px 8px; border-radius: 999px; background: #e8f8ed; color: #247a47; font-size: 10px; font-weight: 850; white-space: nowrap;}
.site-state.is-off {background: #f1f2f4; color: #747d8a;}
.site-manage-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;}
.site-manage-card {overflow: hidden; border: 1px solid #dfe3ea; border-radius: 20px; background: #fff; transition: transform .18s ease, box-shadow .18s ease;}
.site-manage-card:hover {transform: translateY(-3px); box-shadow: 0 24px 48px -34px rgba(17, 24, 39, .52);}
.site-preview {position: relative; min-height: 164px; padding: 21px; color: #fff; background: #6d5dfc;}
.site-preview.violet {background: linear-gradient(135deg, #241f4a, #7666ff);}
.site-preview.navy {background: linear-gradient(135deg, #0c1728, #264e78);}
.site-preview.mint {background: linear-gradient(135deg, #0a514b, #41bba4);}
.site-preview.sand {color: #261f18; background: linear-gradient(135deg, #e5b879, #fff0cf);}
.site-preview::after {content: ""; position: absolute; right: -34px; bottom: -52px; width: 145px; height: 145px; border-radius: 50%; background: rgba(255, 255, 255, .13);}
.site-preview-brand {font-size: 11px; font-weight: 900; letter-spacing: .08em;}
.site-preview > div {display: flex; gap: 5px; margin: 24px 0 15px;}
.site-preview > div i {width: 28px; height: 4px; border-radius: 99px; background: currentColor; opacity: .42;}
.site-preview > div i:first-child {width: 52px; opacity: .9;}
.site-preview > b, .site-preview > small {position: relative; z-index: 1; display: block; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.site-preview > b {font-size: 23px; letter-spacing: -.04em;}
.site-preview > small {margin-top: 5px; opacity: .72; font-size: 11px;}
.site-manage-body {padding: 20px;}
.site-title-row {display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;}
.site-title-row > div {min-width: 0;}
.site-title-row > div > span {color: var(--brand-strong); font-size: 10px; font-weight: 800;}
.site-title-row h3 {margin: 5px 0 0; overflow: hidden; color: var(--ink-900); font-size: 19px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap;}
.site-domain {display: grid; gap: 4px; margin: 17px 0; padding: 12px 13px; border-radius: 11px; background: #f6f7fa;}
.site-domain code {overflow: hidden; color: var(--ink-700); font: 700 12px/1.4 inherit; text-overflow: ellipsis; white-space: nowrap;}
.site-actions {display: grid; gap: 8px;}
.site-action {display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 10px 12px; border: 1px solid #e3e6ec; border-radius: 12px; color: var(--ink-900);}
.site-action:hover {border-color: #c9c3ff; background: #faf9ff;}
.site-action.is-admin {border-color: var(--ink-900); background: var(--ink-900); color: #fff;}
.site-action.is-admin:hover {background: #20293b;}
.site-action > span {display: flex; flex-direction: column; gap: 2px;}
.site-action b {font-size: 13px;}
.site-action small {color: var(--ink-500); font-size: 10px;}
.site-action.is-admin small {color: #b9c0ce;}
.site-action > i {font-style: normal; font-weight: 900;}
.site-paused {padding: 13px; border-radius: 11px; background: #f4f5f7; color: var(--ink-500); text-align: center; font-size: 12px;}
.mypage-empty {display: grid; justify-items: center; padding: 56px 24px; border: 1px dashed #d8dce5; border-radius: 18px; background: #fbfbfd; text-align: center;}
.mypage-empty b {font-size: 17px;}
.mypage-empty p {margin: 7px 0 20px; color: var(--ink-500); font-size: 13px;}
.mypage-empty.is-compact {min-height: 320px; align-content: center;}
.empty-receipt {display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: #eeebff; color: var(--brand-strong); font-weight: 900;}
.mypage-loading {display: grid; min-height: 330px; place-items: center; align-content: center; color: var(--ink-500);}
.mypage-loading span {width: 28px; height: 28px; border: 3px solid #e2dfff; border-top-color: var(--brand-strong); border-radius: 50%; animation: mypage-spin .8s linear infinite;}
.mypage-loading p {margin: 12px 0 0; font-size: 12px;}
}
.sample-note {margin-bottom: 14px; padding: 10px 14px; border: 1px dashed #d7c98a; border-radius: 10px; background: #fffbe9; color: #8a6d0f; font-size: 13px;}
.sample-note b {color: #6b5300;}
.sub-summary {display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 22px; background: #e5e7ed; border: 1px solid #e5e7ed; border-radius: 16px; overflow: hidden;}
.sub-summary > div {display: grid; gap: 6px; padding: 16px 18px; background: #fff;}
.sub-summary span {color: var(--ink-500); font-size: 11px; font-weight: 700;}
.sub-summary b {font-size: 16px; color: var(--ink-900);}
.plan-cards {display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;}
.plan-card {position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid #e5e7ed; border-radius: 18px; background: #fff;}
.plan-card.is-current {border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: linear-gradient(180deg, #faf9ff, #fff);}
.plan-current-badge {position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-size: 11px; font-weight: 800;}
.plan-card h3 {margin: 0 0 8px; font-size: 18px; color: var(--ink-900);}
.plan-price {font-size: 24px; font-weight: 850; color: var(--ink-900); letter-spacing: -.02em;}
.plan-price small {font-size: 13px; font-weight: 600; color: var(--ink-500);}
.plan-desc {margin: 6px 0 15px; color: var(--ink-500); font-size: 13px;}
.plan-features {list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; flex: 1;}
.plan-features-spacer {flex: 1; min-height: 8px;}
.plan-features li {display: flex; gap: 8px; font-size: 13px; color: var(--ink-700);}
.plan-features .tick {flex: 0 0 auto; color: var(--brand-strong); font-weight: 900;}
.plan-change-btn {width: 100%;}
.plan-current-note {text-align: center; padding: 11px; border-radius: 11px; background: var(--bg-soft); color: var(--brand-strong); font-size: 13px; font-weight: 750;}
@media (max-width: 780px) {
  .plan-cards {grid-template-columns: 1fr;}
  .sub-summary {grid-template-columns: 1fr 1fr;}
}
.billing-highlight {display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; min-height: 300px; border: 1px solid #e1e4eb; border-radius: 20px;}
.billing-highlight > div:first-child {display: flex; flex-direction: column; justify-content: center; padding: 34px; background: linear-gradient(145deg, #171c2b, #30385b); color: #fff;}
.billing-highlight > div:first-child > span {color: var(--lime); font-size: 11px; font-weight: 900;}
.billing-highlight > div:first-child strong {margin: 10px 0 8px; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.055em;}
.billing-highlight > div:first-child small {color: #bcc3d2;}
.billing-copy, .billing-details {display: flex; flex-direction: column; justify-content: center; padding: 34px;}
.coming-label {align-self: flex-start; padding: 5px 8px; border-radius: 999px; background: #eeebff; color: var(--brand-strong); font-size: 10px; font-weight: 850;}
.billing-copy h3 {margin: 14px 0 7px; font-size: 22px; letter-spacing: -.04em;}
.billing-copy p {margin: 0 0 20px; color: var(--ink-500); font-size: 13px;}
.billing-copy .btn {align-self: flex-start;}
.billing-details {gap: 17px;}
.billing-details > div {display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid #edf0f4;}
.billing-details span {color: var(--ink-500); font-size: 12px;}
.billing-details b {font-size: 14px;}
.payment-table {overflow: hidden; border: 1px solid #e1e4eb; border-radius: 16px;}
.payment-row {display: grid; grid-template-columns: 1fr 1.5fr .8fr .7fr; gap: 14px; align-items: center; min-height: 68px; padding: 12px 17px; border-top: 1px solid #edf0f4; font-size: 12px;}
.payment-row.is-head {min-height: 44px; border-top: 0; background: #f6f7fa; color: var(--ink-500); font-size: 11px; font-weight: 800;}
.payment-row b, .payment-row small {display: block;}
.payment-row small {margin-top: 3px; color: var(--ink-500); font-size: 10px;}
.payment-row i {padding: 5px 8px; border-radius: 999px; background: #e9f8ef; color: #247a47; font-size: 10px; font-style: normal; font-weight: 850;}
.page-head, .builder-hero {border-bottom: 1px solid rgba(30, 41, 59, .06);}
.feature-card, .price-card, .industry-card, .news-card {border-color: #e2e5ec; box-shadow: 0 16px 38px -34px rgba(17, 24, 39, .48);}
.feature-card:hover, .industry-card:hover, .news-card:hover {transform: translateY(-3px); box-shadow: 0 22px 48px -34px rgba(17, 24, 39, .58);}
@media (max-width: 940px) {
  .mypage-layout {grid-template-columns: 210px minmax(0, 1fr); gap: 18px;}
  .mypage-content {padding: 25px;}
  .site-manage-grid {grid-template-columns: 1fr;}
}
@media (max-width: 720px) {
  .mypage-hero {padding: 20px 0 16px;}
  .mypage-hero .wrap {align-items: flex-start; flex-direction: column;}
  .mypage-hero .btn {width: 100%;}
  .mypage-shell {padding-top: 22px;}
  .mypage-layout {grid-template-columns: 1fr;}
  .mypage-side {position: static;}
  .mypage-menu {display: grid; grid-template-columns: repeat(3, 1fr);}
  .mypage-menu a {align-items: center; padding-inline: 7px; text-align: center;}
  .mypage-menu a small {display: none;}
  .mypage-site-shortcut {margin-top: 2px;}
  .billing-highlight {grid-template-columns: 1fr;}
  .payment-row {grid-template-columns: 1fr 1fr;}
  .payment-row.is-head {display: none;}
}
@media (max-width: 520px) {
  .account-dropdown {position: fixed; top: 68px; right: 16px; left: 16px; width: auto;}
  .mypage-content {padding: 21px 17px; border-radius: 18px;}
  .mypage-panel-head {align-items: flex-start; flex-direction: column; margin-bottom: 21px;}
  .mypage-panel-head h2 {font-size: 25px;}
  .account-info-grid {grid-template-columns: 1fr;}
  .account-info-grid > div + div {border-top: 1px solid #e5e7ed; border-left: 0;}
  .owned-site-row {grid-template-columns: 38px minmax(0, 1fr) 30px;}
  .owned-site-row .site-state {display: none;}
  .subsection-head {align-items: flex-start; flex-direction: column;}
  .site-manage-body {padding: 17px;}
  .billing-highlight > div:first-child, .billing-copy, .billing-details {padding: 26px 22px;}
  .payment-row {grid-template-columns: 1fr; gap: 7px; padding: 16px;}
}

/* ─── 블로그 검색 칸 — 받아 둔 글을 제목·발췌로 거른다(app.js applyBlogFilter, 2026-09-10) ─── */
.blog-search { display: flex; align-items: center; gap: 8px; cursor: text; }
.blog-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--ink-700); outline: none; }
.blog-search input::placeholder { color: var(--ink-300); }
.blog-search:focus-within { box-shadow: 0 0 0 2px var(--brand-soft); }
.blog-none { margin: 24px 0; color: var(--ink-500); font-size: 15px; }
.topic-head .topic-more { text-decoration: none; }

/* ─── v2 — 로고 그림·업종 카드 ──────────────────────────── */
/* site-info.logo 가 있으면 AI6 마크 자리에 그림이 들어간다(app.js brandMark). */
.brand-logo { height: 30px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; }
/* 업종별 활용 카드 — 그 업종의 템플릿 수. 「템플릿 보기」 단추가 바닥에 붙게 여백을 준다. */
.case2-body .use-count { font-size: 13px; font-weight: 700; color: var(--ink-300); }
.case2-body .btn { margin-top: auto; align-self: flex-start; }
/* 템플릿 카드 — 플랫폼이 준 미리보기 그림(templates.previewUrl). 없으면 .template-frame 목업. */
.template-screen .template-preview { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; background: #fff; }

/* ═══ v2 · 게시판 화면을 /blog 와 같은 모양으로 ═══════════════════════
 *
 * 게시판 화면은 서버가 그린다. 껍데기(board-skins)는 조각 다섯을 **맨 바깥 층**에 나란히 둔다 —
 * `.blog-side-head` · boards 블록(nav.board-nav) · `.blog-side-foot` · `.topic-head` · 본문 블록.
 * 렌더러가 HTML 조각은 div.ai6-prose 로 감싸고, 블록은 제 마크업으로 바꿔 article.page.is-wide 안에
 * 넣는다. 그 article 을 여기서 그리드로 만들어 왼쪽 열(사이드바)·오른쪽 열(피드)로 모은다.
 *
 * ★ 범위는 `.page:has(> .board-nav)` — boards 블록이 있는 화면, 곧 게시판 화면뿐이다.
 * ★ 렌더러의 globals.css 가 먼저 칠하므로 선택자를 이 범위로 좁혀 이긴다(specificity 가 더 높다).
 * ⚠️ 행은 `auto auto 1fr` 셋이다. 키 큰 본문 블록이 2~3행에 걸치면 그 높이가 1fr 인 3행으로 가서,
 *    사이드바 꼬리(3행)가 칩 바로 밑에 붙는다 — 행을 auto 로만 두면 꼬리가 화면 맨 밑으로 밀린다.
 */
.page.is-wide:has(> .board-nav) {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 6vw, 84px);
  row-gap: 0;
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 24px 88px;
}
.page:has(> .board-nav) > .ai6-prose { max-width: none; margin: 0; }
.page:has(> .board-nav) > .ai6-prose:empty { display: none; }
/* 1행 — 첫 조각(사이드 머리 + 구획 머리)이 두 열에 걸친다. subgrid 로 같은 열 선을 쓴다 */
.page:has(> .board-nav) > .ai6-prose:has(> .blog-side-head) {
  grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: start;
}
.page:has(> .board-nav) > .ai6-prose > .blog-side-head { grid-column: 1; }
.page:has(> .board-nav) > .ai6-prose > .topic-head { grid-column: 2; }
/* 사이드바 — 칩·꼬리가 1열 2·3행 */
.page:has(> .board-nav) > .board-nav { grid-column: 1; grid-row: 2; max-width: none; margin: 0; display: block; }
.page:has(> .board-nav) > .ai6-prose:has(> .blog-side-foot) { grid-column: 1; grid-row: 3; align-self: start; }
/* 피드 — 본문 블록(목록·글·폼)은 2열 2~3행. 구획 머리가 없는 상세는 1~3행 */
.page:has(> .board-nav) > :not(.board-nav):not(.ai6-prose:has(> .blog-side-head)):not(.ai6-prose:has(> .blog-side-foot)) {
  grid-column: 2; grid-row: 2 / span 2; min-width: 0; margin: 0;
}
.page:has(> .board-nav):not(:has(> .ai6-prose > .topic-head)) > :not(.board-nav):not(.ai6-prose:has(> .blog-side-head)):not(.ai6-prose:has(> .blog-side-foot)) {
  grid-row: 1 / span 3;
}
.page:has(> .board-nav) .blog-side-title { margin-bottom: 20px; }
.page:has(> .board-nav) .topic-desc { margin: 4px 0 0; color: var(--ink-500); font-size: 15px; }
.page:has(> .board-nav) .topic-head { flex-wrap: wrap; align-items: flex-end; }
.page:has(> .board-nav) .topic-head > * { flex: 1 0 100%; }

/* 사이드 머리·꼬리는 div.ai6-prose 안에 있어 globals 의 본문 링크 서식(파란 밑줄)이 먹는다 — SPA 와 같게 되돌린다 */
.page:has(> .board-nav) .ai6-prose .blog-side-title { color: var(--ink-900); text-decoration: none; }
.page:has(> .board-nav) .ai6-prose .blog-side-link { color: var(--ink-700); text-decoration: none; }
.page:has(> .board-nav) .ai6-prose .blog-side-link:hover, .page:has(> .board-nav) .ai6-prose .blog-side-title:hover { color: var(--brand-strong); }
.page:has(> .board-nav) .ai6-prose > .blog-side-head, .page:has(> .board-nav) .ai6-prose > .blog-side-foot, .page:has(> .board-nav) .ai6-prose > .topic-head { margin-top: 0; }

/* 게시판 칩(boards 블록) — 블로그 사이드의 .blog-nav .chip 과 같은 세로 목록. 지금 게시판만 강조 */
.page:has(> .board-nav) > .board-nav ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.page:has(> .board-nav) > .board-nav a {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  padding: 8px 10px; border: 0; border-radius: 7px; background: transparent;
  color: var(--ink-500); font-size: 14px; font-weight: 650; text-decoration: none;
}
.page:has(> .board-nav) > .board-nav a:hover,
.page:has(> .board-nav) > .board-nav a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); box-shadow: none; }

/* 검색 폼(서버) — 사이드의 .blog-search 톤: 둥근 회색 상자 안에 범위·검색어·단추 */
.page:has(> .board-nav) .board-search {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 0 0 26px; padding: 6px 6px 6px 12px; border: 0; border-radius: 12px; background: var(--bg-soft);
}
.page:has(> .board-nav) .board-search::before { content: "⌕"; font-size: 18px; color: var(--ink-300); margin-right: 2px; }
.page:has(> .board-nav) .board-search select,
.page:has(> .board-nav) .board-search input {
  height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 13.5px; color: var(--ink-700);
}
.page:has(> .board-nav) .board-search select { color: var(--ink-500); font-weight: 650; }
.page:has(> .board-nav) .board-search input { flex: 1 1 160px; min-width: 0; }
.page:has(> .board-nav) .board-search input::placeholder { color: var(--ink-300); }
.page:has(> .board-nav) .board-search button {
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--ink-900); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.page:has(> .board-nav) .board-search .found { flex: 1 0 100%; margin: 4px 0 2px 2px; color: var(--ink-500); font-size: 13px; }
.page:has(> .board-nav) .board-search .found a { color: var(--brand-strong); font-weight: 700; }

/* 목록형(.list) — 블로그의 .latest-grid / .post-card 카드 그리드로. li 가 카드, ::before 가 덮개 */
.page:has(> .board-nav) .list {
  list-style: none; margin: 0; padding: 0; border: 0; max-width: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.page:has(> .board-nav) .list > li {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.page:has(> .board-nav) .list > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.page:has(> .board-nav) .list a {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px;
  height: 100%; padding: 0; color: inherit; text-decoration: none;
}
/* 덮개 = 서버가 주는 .thumb(표지 img, 없으면 span). 표지가 없으면 기본 그림 — 주소는 이 CSS 파일 기준이라 SPA·게시판 화면 양쪽에 맞는다 */
.page:has(> .board-nav) .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: url("ai6-promo-assets/ai6-thumb.svg") center / cover no-repeat; }
.page:has(> .board-nav) .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page:has(> .board-nav) .thumb:not(:has(img)) span { display: none; }
.page:has(> .board-nav) .list .t {
  flex: 1; padding: 18px 22px 0; white-space: normal; overflow: visible;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; color: var(--ink-900);
}
.page:has(> .board-nav) .list a:hover .t { color: var(--brand); }
.page:has(> .board-nav) .list time { padding: 0 22px 22px; color: var(--ink-300); font-size: 13px; }
/* 답변 줄 — 덮개 없이 옅은 바탕의 얇은 카드 */
.page:has(> .board-nav) .list > li.reply > a { padding: 0; background: var(--bg-soft); }
.page:has(> .board-nav) .list > li.reply .thumb { display: none; }

/* 사진형(.grid .card) — 같은 카드, 덮개는 썸네일 */
.page:has(> .board-nav) .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.page:has(> .board-nav) .grid > li.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.page:has(> .board-nav) .grid > li.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.page:has(> .board-nav) .grid > li.card a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.page:has(> .board-nav) .grid > li.card h2 { margin: 0; padding: 18px 22px 22px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.page:has(> .board-nav) .grid > li.card a:hover h2 { color: var(--brand); }

/* 문답형(.faq) — 서버 기본 위에 카드 테두리만 */
.page:has(> .board-nav) .faq { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; max-width: none; list-style: none; }
.page:has(> .board-nav) .faq > li { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 2px 18px; }
.page:has(> .board-nav) .faq summary { padding: 15px 0; font-weight: 700; font-size: 16px; }
.page:has(> .board-nav) .faq details > div, .page:has(> .board-nav) .faq details > p { padding: 0 0 16px; }

/* 쪽 넘김 — 칩 모양 */
.page:has(> .board-nav) .pager { justify-content: flex-start; gap: 6px; margin-top: 32px; }
.page:has(> .board-nav) .pager a { min-width: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-500); font-size: 13px; font-weight: 700; text-decoration: none; }
.page:has(> .board-nav) .pager a:hover { border-color: var(--ink-300); color: var(--ink-900); }
.page:has(> .board-nav) .pager a.on { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

/* 빈 목록·글 상세·폼 */
.page:has(> .board-nav) .ai6-block > .muted { margin: 24px 0; color: var(--ink-500); font-size: 15px; }
.page:has(> .board-nav) > article.ai6-block > h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.page:has(> .board-nav) > article.ai6-block > .meta { margin: 0 0 28px; color: var(--ink-500); font-size: 14px; }
.page:has(> .board-nav) > article.ai6-block > .ai6-prose { max-width: none; }
.page:has(> .board-nav) .more { margin-top: 32px; }
.page:has(> .board-nav) .more a { color: var(--brand-strong); }
.page:has(> .board-nav) .empty { margin: 24px 0; color: var(--ink-500); }

/* `/blog` 허브는 게시판 스킨의 `.page > .board-nav` 구조가 아니라 `.blog-layout` 안에서
   BoardBrowse 를 그린다. 같은 목록 컴포넌트를 쓰므로, 표지가 없는 글에는 이 자리에서도
   AI6 기본 그림을 덮어야 한다. 이 규칙이 없으면 Thumb 의 "사진 준비 중"만 보인다. */
.blog-layout .blog-topic .list {
  list-style: none; margin: 0; padding: 0; border: 0; max-width: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.blog-layout .blog-topic .list > li {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.blog-layout .blog-topic .list > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-layout .blog-topic .list a {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px;
  height: 100%; padding: 0; color: inherit; text-decoration: none;
}
.blog-layout .blog-topic .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: url("ai6-promo-assets/ai6-thumb.svg") center / cover no-repeat; }
.blog-layout .blog-topic .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-layout .blog-topic .thumb:not(:has(img)) span { display: none; }
.blog-layout .blog-topic .list .t {
  flex: 1; padding: 18px 22px 0; white-space: normal; overflow: visible;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; color: var(--ink-900);
}
.blog-layout .blog-topic .list a:hover .t { color: var(--brand); }
.blog-layout .blog-topic .list time { padding: 0 22px 22px; color: var(--ink-300); font-size: 13px; }
.blog-layout .blog-topic .list > li.reply > a { padding: 0; background: var(--bg-soft); }
.blog-layout .blog-topic .list > li.reply .thumb { display: none; }
.blog-layout .blog-topic .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.blog-layout .blog-topic .grid > li.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.blog-layout .blog-topic .grid > li.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-layout .blog-topic .grid > li.card a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.blog-layout .blog-topic .grid > li.card h2 { margin: 0; padding: 18px 22px 22px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.blog-layout .blog-topic .grid > li.card a:hover h2 { color: var(--brand); }

@media (max-width: 900px) {
  .page.is-wide:has(> .board-nav) { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 12px; }
  .page:has(> .board-nav) > .ai6-prose:has(> .blog-side-head) { grid-column: 1; grid-row: 1; display: block; }
  .page:has(> .board-nav) > .board-nav { grid-row: 2; }
  .page:has(> .board-nav) > .board-nav ul { flex-direction: row; overflow-x: auto; padding-bottom: 7px; }
  .page:has(> .board-nav) > .board-nav a { width: auto; flex: 0 0 auto; }
  .page:has(> .board-nav) > .ai6-prose:has(> .blog-side-foot) { display: none; }
  .page:has(> .board-nav) > .ai6-prose > .topic-head { margin-top: 18px; }
  .page:has(> .board-nav) > :not(.board-nav):not(.ai6-prose:has(> .blog-side-head)):not(.ai6-prose:has(> .blog-side-foot)),
  .page:has(> .board-nav):not(:has(> .ai6-prose > .topic-head)) > :not(.board-nav):not(.ai6-prose:has(> .blog-side-head)):not(.ai6-prose:has(> .blog-side-foot)) { grid-column: 1; grid-row: 3; }
  .page:has(> .board-nav) .list, .page:has(> .board-nav) .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .page:has(> .board-nav) .list, .page:has(> .board-nav) .grid { grid-template-columns: 1fr; }
}

/* ─── 틀(shell.html) 머리말 — 서버 메뉴 마크업을 SPA 머리말과 같은 모양으로 ─────
   globals.css 의 `.nav .nav-link`(0,2,0)이 먼저 칠하므로 `.ai6-shell-head` 를 앞에 붙여 이긴다. */
.ai6-shell-head .nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.ai6-shell-head .nav .nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink-700); white-space: nowrap; text-decoration: none;
}
.ai6-shell-head .nav .nav-item:hover > .nav-link, .ai6-shell-head .nav .nav-link:focus-visible { background: var(--bg-soft); color: var(--ink-900); }
/* 하위가 있다는 표시 — globals 의 삼각형 대신 SPA 의 꺾쇠(.nav-caret) 모양 */
.ai6-shell-head .nav-item:has(> .nav-sub) > .nav-link::after {
  content: ""; display: inline-block; width: 7px; height: 7px; border: 0;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  margin: -4px 1px 0 4px; opacity: .72; transform: rotate(45deg); transition: transform .16s ease, margin .16s ease;
}
.ai6-shell-head .nav-item:hover > .nav-link::after, .ai6-shell-head .nav-item:focus-within > .nav-link::after { margin-top: 3px; transform: rotate(225deg); }
.ai6-shell-head .nav-sub { padding: 8px; min-width: 200px; }
.ai6-shell-head .nav-sub .nav-link { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-700); }
.ai6-shell-head .nav-sub .nav-item:hover > .nav-link, .ai6-shell-head .nav-sub .nav-link:hover { background: var(--bg-soft); color: var(--brand-strong); }
.ai6-shell-head .header-cta { display: flex; margin-left: auto; align-items: center; gap: 10px; }
.btn-link { font-size: 14px; font-weight: 750; color: var(--ink-700); padding: 8px 4px; text-decoration: none; }
.btn-link:hover { color: var(--brand-strong); }
.ai6-shell-foot .footer-top { grid-template-columns: 1.4fr 1fr; }
.ai6-shell-foot .footer-brand p:empty { display: none; }

/* ─── v2 · 블로그 안의 게시판 목록(/blog/{code}) — 카드가 아니라 줄 목록 ────────
   왼쪽 칩을 누르면 오른쪽에 게시판 이름 + 그 게시판 글이 줄로 선다. 글 상세는 서버 화면(.post-link). */
.board-list { border-top: 1px solid var(--line); }
.board-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px;
  align-items: baseline; padding: 18px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line);
  border-radius: 10px; transition: background .12s ease;
}
.board-row:hover { background: var(--bg-soft); }
.board-row[hidden] { display: none; }
.board-row h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.board-row:hover .post-link { color: var(--brand); }
.board-row p { grid-column: 1; margin: 0; color: var(--ink-500); font-size: 14px; }
.board-row .post-date { grid-column: 2; grid-row: 1; white-space: nowrap; }
.blog-nav .chip.is-active { color: var(--brand-strong); background: var(--brand-soft); }
@media (max-width: 560px) {
  .board-row { grid-template-columns: 1fr; margin: 0; padding: 16px 4px; }
  .board-row .post-date { grid-column: 1; grid-row: auto; }
}

/* ─── v2 · 썸네일 — 카드 덮개는 표지 그림(없으면 기본 그림), 줄 목록은 왼쪽 작은 썸네일 ────── */
.post-cover { position: relative; overflow: hidden; }
.post-cover .post-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover .post-cat { position: relative; z-index: 1; }
.board-row { grid-template-columns: 120px minmax(0, 1fr) auto; column-gap: 18px; align-items: start; }
.board-row .row-thumb { grid-column: 1; grid-row: 1 / span 2; width: 120px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-soft) url("ai6-promo-assets/ai6-thumb.svg") center / cover no-repeat; }
.board-row .row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.board-row .row-body { grid-column: 2; display: flex; flex-direction: column; gap: 4px; }
.board-row .row-body p { grid-column: auto; }
.board-row .post-date { grid-column: 3; grid-row: 1; padding-top: 3px; }
@media (max-width: 560px) {
  .board-row { grid-template-columns: 96px minmax(0, 1fr); }
  .board-row .row-thumb { width: 96px; }
  .board-row .post-date { grid-column: 2; grid-row: auto; }
}

/* 비교표 행의 작은 설명(plan-items.description) */
.price-table td small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-500); }

/* ─── 홈 배너·팝업 — 코어 유형 banner·popup (2026-09-22, app.js renderBanner·showHomePopups) ───
   자리·동작은 클리닉 번들과 같다. 띠는 「소식」 구획 바로 앞, 팝업은 첫 화면에서 창마다 같은 자리에 포갠다. */
.bnr { padding: 40px 0 0; }
/* 틀 비율은 첫 사진에 맞춘다(app.js 가 --ratio 를 준다) — 못 박은 비율로 자르지 않는다. 사진 전에는 16:9 로 자리만. */
.bnr__view { position: relative; margin-inline: auto; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft);
  aspect-ratio: var(--ratio, 16 / 9); max-block-size: min(70vh, 32rem); }
.bnr__slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .5s; }
.bnr__slide.is-on { opacity: 1; visibility: visible; }
.bnr__slide img { width: 100%; height: 100%; object-fit: contain; }
.bnr__cap { position: absolute; inset-block-end: 0; inset-inline: 0; padding: 22px 26px; color: #fff; background: linear-gradient(to top, rgba(11, 18, 32, .65), transparent); }
.bnr__cap b { display: block; font-size: 20px; letter-spacing: -.02em; }
.bnr__cap span { display: block; margin-top: 4px; font-size: 14px; opacity: .9; }
.bnr__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--ink-900); box-shadow: var(--shadow); }
.bnr__nav:hover { background: #fff; }
.bnr__nav .ic { width: 20px; height: 20px; }
.bnr__nav--prev { left: 14px; }
.bnr__nav--next { right: 14px; }
.bnr__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.bnr__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--line); }
.bnr__dot.is-on { background: var(--brand); }
@media (max-width: 640px) { .bnr__cap { padding: 14px 16px; } .bnr__cap b { font-size: 16px; } }

/* 머리글이 z-index 50 이다 — 팝업은 화면에서 가장 위. */
.popup { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 18, 32, .5); padding: 24px; }
/* 크기를 못 박고 속이 길면 본문만 스크롤한다 — 창을 닫을 때마다 네모가 커졌다 작아졌다 하지 않게. */
.popup__box { position: absolute; top: max(1rem, 6vh); left: 50%; transform: translateX(-50%); width: min(30rem, calc(100% - 3rem)); height: min(34rem, 80vh);
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.popup__head { flex: none; }
.popup__head .kicker { display: inline-block; color: var(--brand-strong); background: var(--brand-soft); font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.popup__head h3 { margin: 10px 0 16px; font-size: 22px; letter-spacing: -.03em; }
.popup__body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.popup__item { display: block; color: inherit; }
.popup__img { width: 100%; height: auto; border-radius: var(--radius-sm); margin-bottom: 14px; }
.popup__text { font-size: 15px; color: var(--ink-700); }
.popup__text p { margin: 0 0 10px; }
.popup__foot { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--ink-500); }
.popup__foot label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.popup__foot .btn { padding: 10px 18px; font-size: 14px; }
