/* 이드봇 문서 — Notion 풍 사이드바 레이아웃.
   원칙: 장식 최소화, 애니메이션은 hover 색 변화 정도만, 경계는 얇은 선으로만. */

:root {
  --bg: #ffffff;
  --side: #f7f7f5;
  --text: #37352f;
  --muted: #787774;
  --faint: #9b9a97;
  --border: #e9e9e7;
  --hover: #efefed;
  --sel: #e8e7e4;
  --accent: #ff4655;
  --accent-soft: #fdf0f1;
  --code-bg: #f4f4f2;
  --code-fg: #c2445a;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191919;
    --side: #202020;
    --text: #d4d4d4;
    --muted: #9b9a97;
    --faint: #7d7d78;
    --border: #2f2f2f;
    --hover: #2a2a2a;
    --sel: #333333;
    --accent: #ff6b78;
    --accent-soft: #2a1e20;
    --code-bg: #262626;
    --code-fg: #ef8a95;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── 레이아웃 ─────────────────────────────────────────────────────── */
.app { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 30;
  display: flex; flex-direction: column;
  background: var(--side); border-right: 1px solid var(--border);
  overflow-y: auto; overscroll-behavior: contain;
}
.content { flex: 1; min-width: 0; margin-left: 248px; }
.doc { max-width: 720px; margin: 0 auto; padding: 12px 40px 96px; }

/* ── 사이드바 ─────────────────────────────────────────────────────── */
.side-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 12px 10px; margin: 0 0 4px;
}
.side-head img {
  width: 26px; height: 26px; border-radius: 4px; object-fit: cover; flex: none;
}
.side-head .st { min-width: 0; line-height: 1.3; }
.side-head strong { display: block; font-size: 14px; font-weight: 600; }
.side-head span { display: block; font-size: 11.5px; color: var(--faint); }

.side-nav { padding: 0 8px 10px; }
.nav-label {
  padding: 14px 8px 4px; font-size: 11px; font-weight: 600;
  color: var(--faint); letter-spacing: .02em;
}
.side-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px; margin-bottom: 1px; border-radius: 4px;
  font-size: 14px; color: var(--muted); text-decoration: none;
  transition: background-color .1s ease, color .1s ease;
}
.side-nav a:hover { background: var(--hover); color: var(--text); text-decoration: none; }
.side-nav a.current { background: var(--sel); color: var(--text); font-weight: 600; }
.side-nav a .ni { width: 17px; text-align: center; font-size: 14px; flex: none; }
.side-nav a.sub {
  padding-left: 14px; font-size: 13.5px;
  border-left: 2px solid transparent; border-radius: 0 4px 4px 0; margin-left: 8px;
}
.side-nav a.sub.active { border-left-color: var(--accent); color: var(--text); font-weight: 600; }

.side-foot {
  margin-top: auto; padding: 12px; font-size: 11.5px; color: var(--faint);
  border-top: 1px solid var(--border);
}

/* ── 상단바 (모바일 메뉴 + 위치) ──────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 40px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
}
.topbar.stuck { border-bottom-color: var(--border); }
.crumb { font-size: 13px; color: var(--muted); }
.crumb b { color: var(--text); font-weight: 500; }
.menu-btn {
  display: none; font: inherit; font-size: 17px; line-height: 1; cursor: pointer;
  width: 30px; height: 30px; border-radius: 4px;
  border: 0; background: transparent; color: var(--muted);
}
.menu-btn:hover { background: var(--hover); color: var(--text); }
.scrim {
  display: none; position: fixed; inset: 0; z-index: 25;
  background: rgba(15, 15, 15, .42);
}

/* ── 문서 제목 ────────────────────────────────────────────────────── */
.page-head { padding: 26px 0 8px; }
.page-icon { font-size: 44px; line-height: 1.1; margin-bottom: 8px; }
.page-head h1 {
  margin: 0 0 6px; font-size: 34px; line-height: 1.25;
  font-weight: 700; letter-spacing: -.02em;
}
.page-head .lede { margin: 0; color: var(--muted); font-size: 15px; }
.page-head .stamp { margin: 6px 0 0; color: var(--faint); font-size: 13px; }

hr.rule { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

/* ── 본문 요소 ────────────────────────────────────────────────────── */
h2 {
  margin: 34px 0 8px; font-size: 22px; font-weight: 650;
  letter-spacing: -.01em; scroll-margin-top: 64px;
}
h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 650; scroll-margin-top: 64px; }
h4 { margin: 18px 0 4px; font-size: 15px; font-weight: 650; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 4px; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 650; }
.muted { color: var(--muted); }
small, .small { font-size: 13px; color: var(--muted); }

/* 명령어 이름은 한글이라 모노스페이스 폰트에 글리프가 없다. 그대로 두면
   브라우저 기본 한글 폰트로 제각각 대체돼 자간·굵기가 튄다. 모노스페이스
   뒤에 Pretendard 를 두면 라틴/기호만 모노스페이스로 잡히고 한글은 본문과
   같은 글꼴로 떨어진다(글꼴 대체는 글리프 단위로 일어난다). */
code {
  background: var(--code-bg); border-radius: 3px; padding: .5px 5px;
  font-size: 14px; color: var(--code-fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-variant-ligatures: none;
  word-break: keep-all;
}

/* ── 콜아웃 / 타일 ────────────────────────────────────────────────── */
.callout {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--side); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin: 16px 0;
  font-size: 14px; color: var(--muted);
}
.callout .ci { font-size: 17px; line-height: 1.5; flex: none; }
.callout strong { color: var(--text); }
.callout p { margin: 0 0 6px; }
.callout p:last-child { margin: 0; }
.callout.warn { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 26%, transparent); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 10px; margin: 14px 0; }
.tile {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  background: var(--bg);
}
.tile h4 { margin: 0 0 4px; font-size: 14px; }
.tile p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ── 명령어 목록 ─────────────────────────────────────────────────── */
.cmdlist { list-style: none; padding: 0; margin: 12px 0; }
.cmdlist li { margin: 0; border-bottom: 1px solid var(--border); }
.cmdlist li:last-child { border-bottom: 0; }
.cmdlist .row {
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
  padding: 9px 6px; border-radius: 3px; transition: background-color .1s ease;
  color: inherit; text-decoration: none;
}
.cmdlist a.row:hover { background: var(--hover); }
.cmdlist a.row:hover .name code { color: var(--accent); }
.cmdlist .name { flex: none; min-width: 132px; font-weight: 600; line-height: 1.9; }
.cmdlist .desc { flex: 1; min-width: 190px; color: var(--muted); font-size: 14px; }
.need {
  flex: none; font-size: 11px; font-weight: 600; padding: 1px 7px;
  border-radius: 3px; border: 1px solid var(--border); color: var(--faint);
}
.need.login { border-color: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--accent); }

/* ── 단계 ────────────────────────────────────────────────────────── */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 14px 0; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 32px; margin-bottom: 14px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sel); color: var(--text); font-weight: 650; font-size: 12px;
}
ol.steps strong { display: block; margin-bottom: 1px; }
ol.steps p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── FAQ / 표 ────────────────────────────────────────────────────── */
details.faq { border-bottom: 1px solid var(--border); padding: 10px 2px; }
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none;
  display: flex; align-items: center; gap: 8px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "›"; color: var(--faint); font-size: 16px; width: 12px;
  transition: transform .12s ease;
}
details.faq[open] summary::before { transform: rotate(90deg); }
details.faq p { margin: 8px 0 4px 20px; color: var(--muted); font-size: 14px; }

table.opt { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
table.opt th, table.opt td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
table.opt th { color: var(--faint); font-weight: 600; font-size: 12.5px; }
table.opt tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }

/* ── 버튼 ────────────────────────────────────────────────────────── */
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color .1s ease, border-color .1s ease;
}
.btn:hover { background: var(--hover); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn .ico { width: 16px; height: 16px; flex: none; }

/* ── 카드 링크(문서 홈) ──────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; margin: 16px 0; }
.cards a {
  display: block; padding: 15px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: var(--text);
  transition: background-color .1s ease;
}
.cards a:hover { background: var(--hover); text-decoration: none; }
.cards .ci { font-size: 19px; line-height: 1.4; }
.cards b { display: block; font-size: 14.5px; font-weight: 600; margin: 3px 0 2px; }
.cards span { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── 명령어 모아보기(showcase) ───────────────────────────────────── */
.cmd { border-bottom: 1px solid var(--border); padding: 22px 0; }
.cmd:last-child { border-bottom: 0; }
.cmd-head { display: flex; align-items: flex-start; gap: 11px; flex-wrap: wrap; margin-bottom: 12px; }
.cmd-badge { font-size: 21px; line-height: 1.3; flex: none; }
.cmd-head .meta { flex: 1; min-width: 190px; }
.cmd-head h3 { margin: 0 0 2px; font-size: 16px; }
.cmd-head h3 code {
  background: none; padding: 0; font-size: 16.5px; font-weight: 600;
  color: var(--text); letter-spacing: -.01em;
}
.cmd-head p { margin: 0; color: var(--muted); font-size: 13.5px; }

.shot { margin: 0 0 10px; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--side);
}
.shot video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; border: 1px solid var(--border); border-radius: 10px;
  background: #111;
}
.shot figcaption { padding: 5px 2px 0; font-size: 11.5px; color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.01em; }
.shot.empty img { display: none; }
.shot.empty::before {
  content: "GIF 를 넣어 주세요";
  display: grid; place-items: center; min-height: 168px;
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--side); color: var(--faint); font-size: 13px;
}
.cmd-opts { list-style: none; margin: 0; padding: 0; }
.cmd-opts li { font-size: 13.5px; color: var(--muted); padding-left: 13px; position: relative; margin-bottom: 3px; }
.cmd-opts li::before { content: "·"; position: absolute; left: 3px; color: var(--faint); }
.cmd-opts li:last-child { margin-bottom: 0; }
.cmd-opts .req { color: var(--accent); }

/* ── 문서 홈 / 초대 소개 ─────────────────────────────────────────── */
.home-doc {
  max-width: 1120px; padding-top: 40px;
  word-break: keep-all; overflow-wrap: break-word;
}
.home-hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(42px, 6vw, 76px); align-items: center; padding: 58px 0 96px;
}
.home-hero > * { min-width: 0; }
.home-kicker, .section-label {
  display: inline-block; color: var(--accent); font-size: 11px;
  font-weight: 750; letter-spacing: .11em;
}
.home-kicker { margin-bottom: 20px; }
.home-hero h1 {
  max-width: 640px; margin: 0 0 22px; font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.12; letter-spacing: -.028em; font-weight: 760;
}
.home-hero h1 em { color: var(--accent); font-style: normal; }
.home-hero h1 { display: flex; align-items: center; gap: .32em; }
.title-logo {
  flex: none; width: 1.05em; height: 1.05em; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(22, 20, 20, .12);
}
.home-hero .lead {
  max-width: 560px; margin: 0 0 30px; color: var(--muted);
  font-size: 17px; line-height: 1.78;
}
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-actions .btn {
  min-height: 48px; padding: 10px 21px; border-radius: 999px; font-weight: 650;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease, border-color .2s ease;
}
.home-actions .btn:active { transform: scale(.98); }
.home-actions .btn:focus-visible, .invite-band .btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 3px;
}
.home-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none;
  margin: 20px 0 0; padding: 0; color: var(--faint); font-size: 12.5px;
}
.home-trust li { position: relative; margin: 0; padding-left: 12px; }
.home-trust li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.product-preview {
  overflow: hidden; border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: 22px; background: #202225;
  box-shadow: 0 28px 70px rgba(22, 20, 20, .16);
}
.preview-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 15px; color: #f0eeee; background: #292b2f;
  border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12px;
}
.preview-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.preview-brand img { width: 23px; height: 23px; border-radius: 6px; object-fit: cover; }
.preview-status { display: inline-flex; align-items: center; gap: 6px; color: #b5bac1; }
.preview-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #23a55a; }
.product-preview video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #17181a; }
.preview-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px 16px; color: #f0eeee; font-size: 12.5px;
}
.preview-caption b { color: #ff7380; margin-right: 5px; }
.preview-caption small { color: #949ba4; font-size: 11px; }

.home-section { margin: 0 0 112px; }
.home-section-head {
  display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 30px;
}
.home-section-head h2, .home-flow h2 {
  margin: 8px 0 0; font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.25; letter-spacing: -.022em; font-weight: 730;
}
.home-section-head > p {
  max-width: 410px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75;
}
.feature-bento {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  grid-template-rows: repeat(2, minmax(210px, auto)); gap: 14px;
}
.feature-main {
  grid-row: 1 / 3; display: flex; flex-direction: column; overflow: hidden;
  min-height: 590px; border-radius: 24px; background: #222326; color: #f5f4f3;
}
.feature-copy { padding: 38px 40px 30px; }
.feature-number { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.feature-main h3, .feature-small h3 {
  margin: 12px 0 10px; letter-spacing: -.018em; line-height: 1.35;
}
.feature-main h3 { font-size: clamp(25px, 3vw, 36px); }
.feature-main p { max-width: 500px; color: #aaaeb5; font-size: 14px; line-height: 1.75; }
.feature-main a, .feature-small a, .flow-intro a {
  display: inline-block; margin-top: 10px; color: inherit; font-size: 13px;
  font-weight: 650; text-underline-offset: 4px;
}
.feature-main video {
  display: block; width: calc(100% - 36px); margin: auto 18px 18px;
  aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.09); background: #17181a;
}
.feature-small {
  display: flex; flex-direction: column; justify-content: center;
  padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg);
}
.feature-small h3 { font-size: 21px; }
.feature-small p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.feature-store { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 15%, var(--border)); }
.command-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.command-pills code { border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border)); background: var(--bg); color: var(--text); }
.feature-account { justify-content: space-between; }

/* 01 / FEATURES 카드 섹션 */
.section { margin: 0 0 112px; scroll-margin-top: 64px; }
.section-kicker {
  display: inline-block; color: var(--accent); font-size: 11px;
  font-weight: 750; letter-spacing: .11em;
}
.section > h2 {
  margin: 8px 0 10px; font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.25; letter-spacing: -.022em; font-weight: 730;
}
.section-desc { max-width: 520px; margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.notion-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.feature {
  position: relative; display: flex; flex-direction: column;
  min-height: 250px; padding: 28px 26px 24px;
  border: 1px solid var(--border); border-radius: 20px; background: var(--bg);
  color: var(--text); text-decoration: none;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, box-shadow .3s ease, background-color .2s ease;
}
.feature:hover {
  text-decoration: none;
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: 0 18px 40px rgba(22, 20, 20, .08);
}
.feature:active { transform: scale(.99); }
.feature:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 3px;
}
.feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--accent-soft); font-size: 22px; line-height: 1;
}
.feature h3 { margin: 20px 0 8px; font-size: 19px; letter-spacing: -.015em; line-height: 1.35; }
.feature p { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.card-foot {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  color: var(--accent); font-size: 13px; font-weight: 650;
}
.card-foot::after { content: "→"; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.feature:hover .card-foot::after { transform: translateX(3px); }
.command-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.command-tags code {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  background: var(--bg); color: var(--text); font-size: 13px;
}
@media (prefers-color-scheme: dark) {
  .feature:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
}

.home-flow {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(42px, 8vw, 94px); align-items: center; margin: 0 0 112px;
  padding: 68px clamp(26px, 5vw, 58px); border-radius: 24px; background: var(--side);
}
.flow-intro p { max-width: 440px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-steps li { display: flex; gap: 17px; align-items: flex-start; margin: 0; padding: 21px 0; border-bottom: 1px solid var(--border); }
.flow-steps li:first-child { border-top: 1px solid var(--border); }
.flow-steps li > span {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; color: #fff; background: var(--accent); font-size: 12px; font-weight: 700;
}
.flow-steps strong { display: block; margin: 1px 0 4px; }
.flow-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.invite-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 0 0 40px; padding: 42px 46px; border-radius: 22px;
  color: #f7f5f4; background: #222326;
}
.invite-band h2 { margin: 8px 0 5px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; }
.invite-band p { margin: 0; color: #aaaeb5; font-size: 13.5px; }
.invite-band .btn {
  flex: none; min-height: 48px; padding: 10px 21px; border-radius: 999px;
  border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 650;
}
.invite-band .btn:hover { background: color-mix(in srgb, var(--accent) 88%, #111); }
.home-footer { padding: 28px 0 10px; border-top: 1px solid var(--border); color: var(--faint); }
.home-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 20px; }
.home-footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.home-footer-links a:hover { color: var(--text); }
.home-footer p { margin: 0 0 12px; font-size: 12px; line-height: 1.7; }
.home-footer small { font-size: 11.5px; }

@media (max-width: 1150px) {
  .home-hero { grid-template-columns: 1fr; }
  .product-preview { max-width: 760px; }
  .feature-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feature-main { grid-row: auto; min-height: 0; }
  .feature-small { min-height: 220px; }
}

@media (max-width: 960px) {
  .home-flow { grid-template-columns: 1fr; gap: 40px; }
  .notion-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}

@media (max-width: 760px) {
  .home-doc { padding-top: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 36px; padding: 34px 0 76px; }
  .home-hero h1 { font-size: clamp(40px, 12vw, 55px); }
  .home-hero .lead { font-size: 15.5px; }
  .product-preview { border-radius: 17px; }
  .preview-caption { align-items: flex-start; flex-direction: column; gap: 3px; }
  .home-section, .section { margin-bottom: 76px; }
  .feature { padding: 24px 22px 22px; border-radius: 17px; }
  .home-section-head { display: block; }
  .home-section-head > p { margin-top: 12px; }
  .feature-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feature-main { grid-row: auto; min-height: 0; border-radius: 19px; }
  .feature-copy { padding: 28px 26px 24px; }
  .feature-main video { width: calc(100% - 24px); margin: 8px 12px 12px; border-radius: 11px; }
  .feature-small { min-height: 210px; padding: 26px; border-radius: 17px; }
  .home-flow { grid-template-columns: 1fr; gap: 36px; margin-bottom: 76px; padding: 40px 24px; border-radius: 19px; }
  .invite-band { align-items: flex-start; flex-direction: column; padding: 34px 26px; border-radius: 19px; }
}

/* ── 하단 ────────────────────────────────────────────────────────── */
.disclaimer {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--faint);
}

/* ── 반응형 ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .16s ease; box-shadow: none; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0); }
  body.nav-open .scrim { display: block; }
  .content { margin-left: 0; }
  .menu-btn { display: grid; place-items: center; }
  .topbar { padding: 0 18px; }
  .doc { padding: 12px 18px 80px; }
  .page-head h1 { font-size: 28px; }
}

@media print {
  .sidebar, .topbar, .scrim { display: none !important; }
  .content { margin-left: 0; }
  .doc { max-width: none; padding: 0; }
  .cmd { break-inside: avoid; }
  body { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
