/* Shared by every homepage page (home · blog · pricing · contact): font, base tokens, buttons, the site header and footer,
   the review strip, and the shared parts at the end (section heading · form parts · 목차 · screen-reader text). Page-only parts stay in each page. Values copied from brand/tokens.css. Light page, blue accent —
   no dark theme (user 11-20). Body width 1200px (user 11-21). */
@font-face { font-family: "Pretendard Variable"; src: url("fonts/PretendardVariable.woff2") format("woff2"); font-weight: 45 920; font-display: swap; }
:root {
  color-scheme: light;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --bg: #FFFFFF; --bg-subtle: #F6F8FC; --surface: #FFFFFF; --surface-2: #F9FAFD; --bg-muted: #EDF1F7;
  --line: #E3E8F0; --line-strong: #CDD5E2; --grid: #E9EDF4;
  --fg: #0F1729; --fg-2: #2C384D; --fg-3: #596377; --fg-4: #8A93A5;
  --accent: #2B65FE; --accent-text: #1C4FE6; --accent-soft: #EDF2FF; --accent-soft-2: #DCE6FF;
  --btn-bg: #2B65FE; --btn-bg-hover: #1C4FE6; --btn-bg-press: #173FBA; --on-accent: #FFFFFF;
  --row-hover: #F5F8FF; --focus: rgba(43, 101, 254, .42);
  --success-text: #0A7A54; --danger-text: #B42318; --tip-bg: #173FBA;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --gutter: 24px; --gnb-inset: 16px;
  --card-tint: #EFF3F9;
}
/* the space between a page's sections — roomy (user 11-21 「각 Section간에 Spacing좀 넉넉히 주자」, it was 112px):
   160px, 128px on tablets, 96px on phones */
:root { --sec-gap: 160px; }
@media (max-width: 960px) { :root { --sec-gap: 128px; } }
@media (max-width: 560px) { :root { --sec-gap: 96px; } }
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.in { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* review strip — not part of the homepage */
.review { background: var(--bg-subtle); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.review .in { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; }
.review b { color: var(--fg-2); font-weight: 600; }

/* buttons — same parts as the design-system page; anything pressable is 36px or taller (user 11-20) */
.btn { --h: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 18px; border-radius: var(--r-sm); font: inherit; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 6px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 17px; border-radius: 10px; }
.btn-primary { background: var(--btn-bg); color: var(--on-accent); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-primary:active { background: var(--btn-bg-press); }
.btn-ghost { background: transparent; color: var(--fg-2); }
.btn-ghost:hover { background: var(--row-hover); color: var(--fg); }
.btn-ghost:active { background: var(--accent-soft); }
.btn-pill { border-radius: var(--r-pill); background: transparent; border-color: var(--fg); color: var(--fg); padding: 0 22px; }
.btn-pill:hover { background: var(--row-hover); }
.btn-pill:active { background: var(--accent-soft); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--fg-2); }
.btn-outline:hover { background: var(--row-hover); color: var(--fg); }
.btn-outline:active { background: var(--accent-soft); }
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* site header (site.js draws it) — logo | menu (centred on the bar) | buttons; the bar sits 16px inside the content edge */
.site .in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; height: 72px; }
.logo { justify-self: start; margin-left: var(--gnb-inset); color: var(--accent); }
.logo svg { height: 26px; width: auto; }
.site nav { display: flex; gap: 36px; font-size: 17px; font-weight: 600; color: var(--fg-2); }
.site nav a { white-space: nowrap; }
.site nav a:hover { color: var(--fg); }
.site nav a[aria-current] { color: var(--accent-text); }
.site .right { justify-self: end; margin-right: var(--gnb-inset); display: flex; align-items: center; gap: 8px; }
/* narrow screens: the menu folds into a 「메뉴」 button and drops down under the bar */
.site .menu-btn { display: none; }
.site .drop { display: none; }

/* site footer (site.js draws it) — the background is NEXTPilot's footer, copied from nextpilot.kr (measured 2026-11-21;
   user 11-21: 「Footer Background는 NEXTPilot과 똑같이」): a dark gradient under four noise layers, the top corners rounded
   56px and pulled 56px up over the page, a soft shadow upward. The text takes NEXTPilot's light tones on it. */
/* the space under every page's last section: the section gap, plus the 56px (32px on phones) the footer's rounded top
   overlaps — one rule for all pages (user 11-21 「모든 페이지의 마지막 섹션의 Padding값좀 많이 주자」) */
main { padding-bottom: calc(var(--sec-gap) + 56px); }
@media (max-width: 560px) { main { padding-bottom: calc(var(--sec-gap) + 32px); } }
.site-foot { position: relative; isolation: isolate; margin-top: -56px; border-radius: 56px 56px 0 0; color: rgba(255, 255, 255, .65); font-size: 15px; font-weight: 500;
  background: radial-gradient(90% 70% at 50% 0px, #1A1F2C 0%, rgba(26, 31, 44, 0) 60%), radial-gradient(120% 80% at 50% 100%, #0B0E15 0%, #08090F 100%);
  box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, .6); }
.site-foot .fg { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
.site-foot .fg0 { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 280px 280px; mix-blend-mode: overlay; opacity: .85; }
.site-foot .fg1 { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 200px 200px; mix-blend-mode: soft-light; opacity: .9; }
.site-foot .fg2 { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.95 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 320px 320px; mix-blend-mode: hard-light; opacity: .35; }
.site-foot .fg3 { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 400px 400px; mix-blend-mode: screen; opacity: .4; }
.site-foot .in { display: grid; gap: 20px; padding-block: 80px 48px; }
.site-foot .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-foot .logo { margin-left: 0; color: #FFFFFF; }
.site-foot .logo svg { height: 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.site-foot nav a:hover { color: #FFFFFF; }
.site-foot .biz { display: flex; flex-wrap: wrap; gap: 4px 16px; line-height: 1.7; }
.site-foot .legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.site-foot .legal a { font-weight: 500; color: rgba(255, 255, 255, .7); }
.site-foot .legal a:first-child { font-weight: 700; color: #8CC4FF; }
.site-foot .legal a:hover { text-decoration: underline; }
.site-foot .legal span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.site-foot :focus-visible { outline-color: rgba(140, 196, 255, .7); }

/* page titles rise in letter by letter (user 11-21, after jocodingax.ai/group-training — same timing): site.js wraps each
   letter of an element marked data-rise; until it has, the title waits hidden (a timer shows it anyway) */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise-w { display: inline-block; white-space: nowrap; }
.rise-ch { display: inline-block; animation: rise-in .55s cubic-bezier(.22, 1, .36, 1) both; }
.rise-js [data-rise]:not(.rise-on) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .rise-ch { animation: none; } }

/* page heading used by the sub pages (blog · pricing · contact): centred title and a line under it */
.page-head { display: grid; justify-items: center; gap: 16px; padding-block: 72px 56px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; }
.page-head p { max-width: 40em; font-size: 18px; line-height: 1.7; color: var(--fg-3); }

@media (max-width: 960px) {
  .site .in { grid-template-columns: 1fr auto; position: relative; }
  .site nav { display: none; }
  .site .menu-btn { display: inline-flex; }
  .site .drop[data-open] { display: grid; position: absolute; z-index: 20; top: 100%; left: var(--gutter); right: var(--gutter); padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: 0 12px 32px rgba(15, 23, 41, .12); }
  .site .drop a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--r-sm); font-size: 17px; font-weight: 600; color: var(--fg-2); }
  .site .drop a:hover { background: var(--row-hover); }
  .site .drop a[aria-current] { color: var(--accent-text); }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; --gnb-inset: 4px; }
  .site .in { height: 60px; gap: 12px; }
  .logo svg { height: 21px; }
  .site .btn-ghost { display: none; }
  .site .right .btn { --h: 38px; padding: 0 12px; font-size: 14px; }
  .page-head { padding-block: 48px 36px; }
  .page-head p { font-size: 16px; }
  .site-foot { margin-top: -32px; border-radius: 32px 32px 0 0; }
  .site-foot .in { padding-block: 56px 40px; }
}

/* ── Shared parts (user 11-23 「지금 디자인 만든것들 컴포넌트화 할 것 있으면 컴포넌트화 하자」): each is written once here and
   used by several pages; a page adds only what differs there (its placement, a margin). ── */

/* text only screen readers read (table captions and the like) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* a section and its title block — the small blue label (.eyebrow, optional), the title, one line under it.
   Landing 기능 소개 · 요금 안내 · 서비스 소개. */
.sec { padding-bottom: 112px; scroll-margin-top: 16px; }
.sec-head { display: grid; justify-items: center; gap: 14px; margin-bottom: 48px; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; text-wrap: balance; }
.sec-head p { font-size: 18px; line-height: 1.7; color: var(--fg-3); }
.sec-head .eyebrow { margin-bottom: -4px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--accent-text); }

/* form parts — 로그인 · 문의 · 초대장: the input box (red line when wrong), the red message under it, the blue notice box,
   the text button */
.inp { width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--bg-muted); color: var(--fg); font: inherit; font-size: 16px; }
.inp::placeholder { color: var(--fg-4); opacity: 1; }
.inp:focus { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.inp[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger-text); }
.err { font-size: 14px; line-height: 1.5; color: var(--danger-text); }
.err:empty { display: none; }
.status { padding: 14px 16px; border-radius: 10px; background: var(--bg-subtle); font-size: 15px; line-height: 1.6; color: var(--accent-text); }
.status:empty { display: none; }
.textbtn { min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--accent-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.textbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* checkbox — a 20px box in the accent colour with its words beside it (user 11-23 「체크박스만 20px로」); 문의 동의 ·
   로그인 「이메일 기억하기」. A page sets only its text size and, for words that wrap, the top alignment. */
.chk { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--fg-2); cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }

/* 목차 — 블로그 글 · 이용약관 · 개인정보 처리방침. toc.js fills it; each page places it (shown from 1200px up). */
.toc { display: none; }
.toc-t { margin-bottom: 10px; color: var(--fg); font-size: 14px; font-weight: 700; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 36px; margin-left: -2px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; color: var(--fg-3); font-size: 15px; line-height: 1.45; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--fg); }
.toc a[aria-current] { border-left-color: var(--accent); color: var(--accent-text); font-weight: 600; }

@media (max-width: 720px) {
  .sec { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .sec { padding-bottom: 72px; }
  .sec-head p { font-size: 16px; }
}
