/* BizBee 랜딩 — goldfish.sh 의 편집(에디토리얼) 문법을 벌·벌집 언어로 옮긴 리디자인.
   원칙: 초대형 세리프 카피가 주인공, 색은 꿀 앰버 한 줄기만, 장식은 흐릿한 벌 한 마리와
   희미한 벌집 패턴뿐. 섹션은 넓은 여백으로 호흡한다.
   구조: 토큰 → 베이스 → 공용(버튼/장식) → nav → hero → 섹션들 → 미디어쿼리 → reduced-motion.
   모바일 퍼스트: 기본 선언이 곧 모바일 값. site.js / hive.js 의 셀렉터 훅은 전부 유지한다. */

:root {
  /* ---------- 색 — 딥브라운 중심 + 골드 한 줄기. 채도 높은 원색 금지 ---------- */
  --honey: #efb53a;        /* 채움 전용: 헥사곤 도트, 다크 밴드 위 골드 버튼 */
  --honey-deep: #c98a21;   /* 보더/아이콘 전용 */
  --nectar: #c87f1b;       /* 디스플레이 강조 텍스트 (large text 전용) */
  --nectar-ink: #96650f;   /* 소형 강조 텍스트 (캔버스 위 4.5:1 이상) */
  --bark: #2b1d0e;         /* 제목 — 프리미엄 근검정 브라운 */
  --bark-soft: #6b573f;    /* 보조 강조 */
  --dark: #201409;         /* 다크 버튼 / CTA 밴드 배경 */
  --cream: #fdfbf7;        /* 페이지 바탕 — 채도 낮춘 웜 화이트 */
  --ink: #2b2115;          /* 본문 */
  --ink-dim: #6e604d;      /* 본문 보조 */
  --panel: #ffffff;        /* 카드/패널 */
  --tint: #f8f2e7;         /* 옅은 꿀빛 (hover, 말풍선) */
  --tint-deep: #f1e6d2;    /* 진한 꿀빛 (배지, 번호) */
  --line: #eae2d4;
  --tint-line: #eee3cc;
  --ok: #2f9e5f;           /* "복사됨" 피드백 전용 — 그 외 초록 사용 금지 */
  --white: #fefefd;

  /* 유리 헤더 — 반투명 크림 + blur. getenergy.com 의 떠 있는 캡슐 헤더 문법을
     꿀빛으로 옮긴 것. 흰 테두리 한 줄이 캡슐을 배경에서 떼어놓는 장치라 지우지 말 것. */
  --glass: rgba(255, 252, 246, 0.80);
  --glass-strong: rgba(255, 252, 246, 0.93);
  --glass-line: rgba(255, 255, 255, 0.78);

  /* ---------- 타이포 ---------- */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif KR", "Apple SD Gothic Neo", Georgia, serif;

  /* 한국어 3~4어절이 한 줄에 앉는 크기까지만. 무리한 초대형은 줄바꿈만 망가뜨린다.
     2026-08: 첫 화면 아래가 다 크다는 피드백으로 h2/CTA/본문 계열을 한 단 낮췄다
     (.section 여백도 144→104px). 다만 **히어로는 원래 크기 그대로 둔다** — 첫 화면은
     크게 가는 게 이 랜딩의 의도다. --text-display 는 .hero-title 전용이라 여기 남아 있고,
     히어로 리드는 --text-lead(작아진 값)를 안 쓰고 .hero-lead 에서 따로 지정한다.
     즉 이 두 값을 건드리면 히어로만 바뀐다. 아래 섹션 크기는 h2/lead/body 쪽이다. */
  --text-display: clamp(38px, 6.2vw, 82px);
  --text-h2: clamp(22px, 2.8vw, 33px);
  --text-h3: 17.5px;
  --text-cta: clamp(23px, 2.8vw, 33px);
  --text-lead: clamp(15px, 1.4vw, 16.5px);
  --text-body: 15px;
  --text-meta: 12.5px;
  --text-label: 11.5px;

  /* ---------- 스페이싱 / 라운드 ---------- */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px; --sp-9: 96px; --sp-10: 144px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* 레이어드 소프트 섀도 — 보더 대신 이걸로 위계를 만든다 */
  --shadow-sm: 0 1px 2px rgba(43, 29, 14, 0.04);
  --shadow-md: 0 2px 6px rgba(43, 29, 14, 0.05), 0 12px 32px rgba(43, 29, 14, 0.07);
  --shadow-lg: 0 2px 8px rgba(43, 29, 14, 0.06), 0 24px 60px rgba(43, 29, 14, 0.10);
  --container: 1120px;
  /* 떠 있는 캡슐 헤더의 "차지하는 높이" — 위 여백 12 + 캡슐 60 + 아래 숨쉴 틈 12.
     앵커 스크롤(scroll-margin-top)이 이 값을 쓰므로 캡슐 높이를 바꾸면 같이 고칠 것. */
  --nav-h: 84px;
}

/* ==========================================================================
   베이스
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* 한국어는 어절 단위 줄바꿈. 일본어 페이지는 기본값 유지(site.css 공유 주의). */
:lang(ko) { word-break: keep-all; }

:target,
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

:focus-visible {
  outline: 2px solid var(--honey-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--honey); color: var(--bark); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }

.tour, .feats, .install, .faq, .cta, .pricing {
  position: relative;
  overflow-wrap: break-word;
}

/* goldfish 문법: 섹션 머리는 전부 중앙 정렬, 아래로 넉넉히 띄운다. */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-7);
  text-align: center;
}
.section-head .eyebrow { display: flex; justify-content: center; }
.section-head-center { margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { display: flex; justify-content: center; }

/* eyebrow — 자간 넓힌 산세리프 라벨. 한국어에 이탤릭은 합성 왜곡이라 금지. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  color: var(--nectar-ink);
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 10px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.section-title {
  margin: var(--sp-4) 0 0;
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--bark);
}
/* 강조는 색으로만 — 이탤릭 없음 */
.section-title em {
  font-style: normal;
  color: var(--nectar);
}

.section-sub {
  margin: var(--sp-4) auto 0;
  max-width: 620px;
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-dim);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--panel);
  color: var(--bark);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: top 0.16s ease;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   버튼 — 진한 단색(bark) 주 버튼 + 아웃라인 보조.
   2026-08: getenergy.com 문법을 얹었다 — 주 버튼은 흰 테두리 2px + 바깥 흰 링으로
   배경에서 한 겹 떠 있고, 굵은 CTA 에는 원형 화살표 칩(.btn-arrow)이 붙는다.
   칩이 붙은 버튼만 오른쪽 패딩을 줄여야 해서 :has() 를 쓴다 — 모르는 브라우저는
   이 규칙만 무시하고 칩이 조금 넉넉한 자리에 앉을 뿐 깨지지 않는다.
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap; /* 버튼 텍스트가 두 줄로 꺾이는 사고 방지 */
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease,
    transform 0.16s ease;
}

.btn-primary {
  background: var(--dark);
  color: #f8f3ea;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.62),
    0 2px 4px rgba(32, 20, 9, 0.12), 0 10px 26px rgba(32, 20, 9, 0.16);
}
.btn-primary:hover {
  background: #38260f;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.62),
    0 3px 6px rgba(32, 20, 9, 0.14), 0 16px 34px rgba(32, 20, 9, 0.20);
  transform: translateY(-2px);
}
.btn-primary:active {
  background: #191006;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.62), 0 1px 2px rgba(32, 20, 9, 0.12);
  transform: none;
}

/* 원형 화살표 칩 — 버튼 안에 박힌 작은 크림색 동전. 굵은 CTA 에만 붙인다. */
.btn-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.16s ease;
}
.btn:has(.btn-arrow) {
  gap: 16px;
  padding-right: 6px;
  border-radius: var(--r-lg);
}
.btn:hover .btn-arrow { transform: translateX(2px); }

.btn-sm .btn-arrow { width: 26px; height: 26px; font-size: 14px; }
.btn-sm:has(.btn-arrow) { gap: 10px; padding-right: 5px; }

/* ── 사전등록 CTA ──────────────────────────────────────────────────────────
   웹스토어 공개 전까지 다운로드 버튼이 맡던 자리를 대신한다. 죽은 회색 버튼으로
   두면 눈길이 안 가서, 반대로 꿀색으로 채워 "지금 등록해두라"는 신호로 쓴다.
   전신은 <button disabled> 였지만 지금은 진짜 <a> 라 눌리고 폼이 새 탭으로 열린다 —
   그래서 hover/active 와 포인터 커서를 살려둬야 한다. 여기서 다시 죽이지 말 것.
   선택자를 3중(.btn.btn-primary.is-prereg)으로 둔 건 다크 CTA 밴드의
   `.cta-band .btn-primary` 색 반전 규칙을 확실히 이기기 위해서다.
   공개 후 되돌릴 때는 HTML 의 [data-prereg] 를 웹스토어 <a> 로 바꾸면 되고,
   이 블록은 남겨두어도 아무 데도 걸리지 않는다. */
.btn.btn-primary.is-prereg {
  gap: 10px;
  background: var(--honey);
  color: var(--dark);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(239, 181, 58, 0.26),
    0 2px 4px rgba(43, 29, 14, 0.10), 0 10px 26px rgba(201, 138, 33, 0.22);
}
.btn.btn-primary.is-prereg:hover {
  background: #f6c452;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(239, 181, 58, 0.34),
    0 3px 6px rgba(43, 29, 14, 0.12), 0 16px 34px rgba(201, 138, 33, 0.28);
  transform: translateY(-2px);
}
.btn.btn-primary.is-prereg:active {
  background: #e2a52c;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(239, 181, 58, 0.26),
    0 1px 2px rgba(43, 29, 14, 0.12);
  transform: none;
}

.btn-prereg-dot {
  flex: 0 0 auto;
  width: 10px; height: 11px;
  background: var(--dark);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: prereg-pulse 1.9s ease-in-out infinite;
}
@keyframes prereg-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-prereg-dot { animation: none; opacity: 0.8; }
}

/* 버튼을 누르면 무슨 일이 일어나는지 한 줄로 설명하는 자리. 버튼 바로 아래에 붙인다.
   기본은 왼쪽 정렬(설치 단계 안). 가운데 정렬 섹션에서만 좌우 마진을 auto 로 준다 —
   auto 를 기본값으로 두면 설치 단계에서 혼자 가운데로 밀려 어긋난다. */
.prereg-note {
  margin: var(--sp-3) 0 0;
  max-width: 640px;
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--nectar-ink);
}
.hero-inner .prereg-note,
.cta-band .prereg-note { margin-inline: auto; }
.cta-band .prereg-note { color: rgba(250, 245, 234, 0.66); }

.btn-secondary {
  background: var(--panel);
  color: var(--bark);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--tint); border-color: #ddd0ba; }
.btn-secondary:active { background: #f1e9da; }

/* 히어로·최종 CTA 의 보조 버튼은 테두리를 지운 조용한 글자 버튼으로 — 주 버튼 하나만
   무게를 갖게 한다(요금제 카드의 .btn-secondary 는 그대로 아웃라인 유지). */
.hero-actions .btn-secondary,
.cta-actions .btn-secondary {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--bark-soft);
}
.hero-actions .btn-secondary:hover { background: var(--tint); color: var(--bark); }

.btn-ghost {
  background: transparent;
  color: var(--ink-dim);
  border: 0;
  padding: 9px 16px;
  font-size: 14px;
}
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-ghost:active { background: #f1e9da; }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ==========================================================================
   공용 장식
   ========================================================================== */

.kbd {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: var(--r-sm);
  background: var(--panel);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bark);
  white-space: nowrap; /* 좁은 화면에서 "오른쪽 / ⌥" 로 꺾이는 것 방지 */
}

.hex-num {
  width: 42px; height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-deep);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; line-height: 1;
  color: var(--bark);
}

.hex-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 var(--sp-6);
}
.hex-divider-hex {
  width: 12px; height: auto;
  fill: none;
  stroke: var(--tint-line);
  stroke-width: 2;
}
.hex-divider-hex:nth-child(2) { fill: var(--honey); stroke: var(--honey-deep); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Nav — 화면 위에 떠 있는 유리 캡슐(getenergy.com 헤더 문법).
   .nav 는 자리만 잡는 투명 껍데기, 실제 캡슐은 .nav-inner 다.
   캡슐 위로 본문이 지나가면 지저분해서, 스크롤하면 .nav::before 크림 스크림이 켜진다.
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px 0;
  background: transparent;
}

/* 캡슐 뒤 크림 스크림 — 아래로 14px 더 흘려서 경계가 딱 끊기지 않게 한다. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -16px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--cream) 55%, rgba(253, 251, 247, 0));
  opacity: 0;
  transition: opacity 0.24s ease;
}
.nav.is-scrolled::before { opacity: 1; }

/* .container 의 좌우 패딩(파일 끝 미디어쿼리 포함)을 확실히 이기려고 .nav 를 앞에 둔다. */
.nav .nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 60px;
  padding: 0 10px 0 18px;
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 36px rgba(43, 29, 14, 0.10);
  transition: background 0.24s ease, box-shadow 0.24s ease;
}
.nav.is-scrolled .nav-inner {
  background: var(--glass-strong);
  box-shadow: 0 14px 44px rgba(43, 29, 14, 0.14);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.nav-mark { width: 28px; height: 28px; }
.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bark);
}

.nav-links {
  display: none;
  margin-left: auto;
  gap: var(--sp-1);
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  padding: 8px 13px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-link:hover { background: var(--tint); color: var(--ink); }
.nav-link:active { background: #f1e9da; }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
}

.nav-lang { display: flex; gap: 2px; }
.nav-lang-link {
  padding: 6px 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-lang-link:hover { background: var(--tint); color: var(--ink); }
.nav-lang-link.is-active { color: var(--bark); background: var(--tint-deep); }

/* 캡슐 안에서는 흰 링이 유리 배경에 묻혀 안 보인다 — 브라운 링으로 갈아끼운다. */
.nav-cta,
.nav-cta:hover {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(43, 29, 14, 0.07), 0 6px 16px rgba(32, 20, 9, 0.16);
}

/* ==========================================================================
   Hero — goldfish 문법 그대로: 화면 하나를 통째로 쓰는 중앙 정렬 세리프 카피,
   그 위를 스치는 흐릿한 벌 한 마리, 아래 다운로드 버튼과 카운터 한 줄.
   ========================================================================== */

/* 2026-08: 첫 화면을 타이포만으로 채우던 구성에서, 카피 아래에 제품 화면 한 장을
   빛무리(.hero-glow)와 함께 세우는 구성으로 바꿨다. 데모 카드는 원래 #how 에 있던
   것을 여기로 올린 것이다 — #how 에는 단계별 목업(.tour-shot)이 대신 들어갔다.
   따라서 min-height(92svh)는 뺀다. 이제 히어로 높이는 내용이 정한다. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}

/* 아주 희미한 벌집 패턴 — 배경 전면에 깔고 radial mask 로 가장자리를 지운다. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23c98a21' stroke-width='1'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16z'/%3E%3Cpath d='M28 64l28 16v32H0V80z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 0%, transparent 68%);
}

.hero-inner {
  position: relative;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  color: var(--nectar-ink);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 8px; height: 9px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 22px auto 0;
  max-width: 13em;
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--bark);
}
/* 강조는 색으로만 — 한국어 합성 이탤릭 금지 */
.hero-title em {
  font-style: normal;
  color: var(--nectar);
}

.hero-lead {
  margin: var(--sp-5) auto 0;
  max-width: 34em;
  font-size: clamp(15.5px, 1.7vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: 40px;
}
.hero-actions .btn { flex: 1 1 100%; }

/* goldfish 의 "137,164 Option clicks" 자리 — 세리프 꿀색 숫자 + 설명 한 줄 */
.hero-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
  white-space: nowrap;
}
.hero-count b {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--nectar-ink);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   히어로 제품 화면 — 카드 뒤에 깔리는 꿀빛 빛무리 + 브라우저 크롬.
   빛무리는 blur 로 뭉갠 radial-gradient 세 겹이라 이미지가 필요 없다.
   ========================================================================== */

.hero-preview {
  position: relative;
  margin: 52px auto 0;
  max-width: 720px;
}

/* 카드보다 좌우로 더 넓게 퍼져야 "빛이 새어나오는" 그림이 된다 — inset 음수값을
   카드 밖으로 크게 벌려두는 게 핵심. 색은 꿀 계열 안에서만 섞는다. */
.hero-glow {
  position: absolute;
  inset: -90px -90px -40px;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 42%, rgba(239, 181, 58, 0.62), transparent 52%),
    radial-gradient(circle at 78% 32%, rgba(201, 138, 33, 0.42), transparent 54%),
    radial-gradient(circle at 50% 92%, rgba(246, 196, 82, 0.38), transparent 58%);
  filter: blur(42px);
}

/* ==========================================================================
   데모 카드 — 히어로의 제품 화면. 브라우저 크롬(점 3개 + 주소 알약)을 얹었다.
   ========================================================================== */

.hero-demo {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  text-align: left;
}

/* 카드 패딩(20px)을 음수 마진으로 되물려 크롬 줄이 카드 폭을 꽉 채우게 한다. */
.hero-demo-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -20px -20px 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(180deg, #fffdf9, #faf5ec);
}

.hero-demo-dots { display: flex; gap: 6px; flex: 0 0 auto; }
.hero-demo-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.hero-demo-url {
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-post {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 0 4px 16px;
}
.hero-demo-author {
  margin: 0 0 6px;
  font-size: var(--text-meta);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-dim);
}

.hero-demo-reply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: var(--sp-4);
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-md);
  padding: 14px;
}

.hero-demo-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.hero-demo-mark { flex: 0 0 auto; margin-top: 2px; }

.hero-demo-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--sp-4) 4px 0;
}
.hero-demo-hint-text {
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ==========================================================================
   작동 방식 — 왼쪽에 고정(sticky)되는 목차, 오른쪽에 단계 패널이 쌓이는 제품 투어.
   getenergy.com 의 overview 문법. 스크롤에 따라 목차 항목이 켜지는 건 site.js 의
   initTourSpy 가 [data-tour-link] / [data-tour-panel] 훅으로 처리한다.
   데스크톱에선 세로 목차, 900px 미만에선 가로로 스크롤되는 칩 줄이 된다.
   ========================================================================== */

.tour-layout {
  display: grid;
  gap: var(--sp-5);
  align-items: start;
}

.tour-toc {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: var(--sp-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tour-toc::-webkit-scrollbar { display: none; }

.tour-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  font-size: var(--text-meta);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-dim);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tour-toc-link:hover { background: var(--tint); color: var(--ink); }
.tour-toc-link.is-active {
  background: var(--tint-deep);
  border-color: var(--tint-line);
  color: var(--bark);
}

.tour-toc-num {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--nectar-ink);
  font-variant-numeric: tabular-nums;
}

.tour-panels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.tour-panel { scroll-margin-top: calc(var(--nav-h) + 24px); }

.tour-copy { max-width: 46ch; margin-bottom: var(--sp-5); }

.tour-kicker {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--bark);
}

.tour-body {
  margin: 10px 0 0;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--ink-dim);
}

/* 단계 목업 — 꿀빛 그라데이션 액자 위에 점격자를 깔고, 그 위에 흰 카드를 얹는다. */
.tour-shot {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.24) 46%),
    linear-gradient(150deg, var(--tint) 0%, #f5e8d0 52%, var(--tint) 100%);
  box-shadow: 0 18px 44px rgba(43, 29, 14, 0.10);
}
.tour-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(201, 138, 33, 0.20) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 6%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 6%, #000 58%, transparent 100%);
}

.tour-frame {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(43, 29, 14, 0.07);
}

/* 1단계 — 커서가 놓인 입력창 + 키캡 */
.tour-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-md);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(239, 181, 58, 0.16);
}

.tour-caret {
  flex: 0 0 auto;
  width: 2px; height: 17px;
  background: var(--honey-deep);
  animation: hive-blink 1s steps(1, end) infinite;
}
/* 깜빡임을 끄면 커서는 그냥 서 있는 막대가 된다(하이브 캐럿과 같은 처리) */
@media (prefers-reduced-motion: reduce) { .tour-caret { animation: none; } }

.tour-field-ph {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #a2937d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-field-btn {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--tint-deep);
  font-size: 12px;
  font-weight: 600;
  color: var(--bark-soft);
}

.tour-key {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.tour-key-note {
  font-size: var(--text-meta);
  line-height: 1.5;
  color: var(--ink-dim);
}

/* 2단계 — 원글만 읽고 사이드바는 흘려보내는 그림 */
.tour-read { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 14px; }
.tour-read-side { opacity: 0.34; }

.tour-line {
  display: block;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--line);
}
.tour-line + .tour-line { margin-top: 9px; }
.tour-line.is-lit { background: rgba(239, 181, 58, 0.55); }
.tour-line.w80 { width: 80%; }
.tour-line.w60 { width: 60%; }
.tour-line.w45 { width: 45%; }

.tour-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tour-chips li {
  padding: 4px 11px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-pill);
  background: var(--tint);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bark-soft);
}

/* 3단계 — 들어간 답글을 내가 고치고, 그 수정본을 다시 배우는 장면 */
.tour-reply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-md);
  background: var(--tint);
}
.tour-reply img { flex: 0 0 auto; margin-top: 2px; }
.tour-reply p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}
.tour-reply s { color: #a2937d; text-decoration-thickness: 1.5px; }
.tour-reply mark {
  background: rgba(239, 181, 58, 0.42);
  border-radius: 4px;
  padding: 0 3px;
  color: var(--bark);
}

.tour-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: var(--text-meta);
  line-height: 1.5;
  color: var(--ink-dim);
}
.tour-meta::before {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 10px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ==========================================================================
   기능 카드 + 페르소나 칩(흡수됨)
   ========================================================================== */

.feats-grid { display: grid; gap: 16px; }

.feats-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.feats-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #e0d5c1;
}
@media (hover: none) {
  .feats-card:hover {
    box-shadow: var(--shadow-sm);
    transform: none;
    border-color: var(--line);
  }
}

.feats-icon {
  width: 26px; height: 26px;
  color: var(--honey-deep);
  margin-bottom: 18px;
}

.feats-card-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bark);
}

.feats-card-body {
  margin: 0;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-dim);
}

/* 페르소나 — 카드 그리드에서 칩 한 줄로 압축. 대시보드의 실제 칩과 같은 7개
   라벨을 그대로 보여준다(문구는 public/i18n.js 의 chip*Label 과 동기). */
.persona-strip {
  margin-top: var(--sp-7);
  text-align: center;
}

.persona-strip-title {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--bark);
}

.persona-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.persona-chip {
  display: inline-block;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-pill);
  background: var(--panel);
  font-size: var(--text-meta);
  font-weight: 600;
  color: var(--bark-soft);
}

.persona-note {
  margin: var(--sp-4) auto 0;
  max-width: 560px;
  font-size: var(--text-meta);
  line-height: 1.7;
  color: var(--ink-dim);
  text-align: center;
}

/* ==========================================================================
   하이브 — 무대(canvas) + 설명 레일. hive.js 의 훅 전부 유지.
   ========================================================================== */

.hive {
  background: linear-gradient(180deg,
      var(--cream) 0%, var(--tint) 14%, var(--tint) 86%, var(--cream) 100%);
}

.hive-layout {
  display: grid;
  gap: var(--sp-5);
  align-items: start;
}

.hive-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 340px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  user-select: none;
}

.hive-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hive-hud {
  position: absolute;
  width: min(268px, 66%);
  padding: 12px 14px 13px;
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.hive-hud.is-on { opacity: 1; transform: none; }

.hive-hud-in,
.hive-hud-ask {
  left: 14px; right: 14px; bottom: 14px;
  width: auto;
  transform: translateY(6px);
}

.hive-hud-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bark-soft);
  margin-bottom: 6px;
}
.hive-hud-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--honey-deep);
  flex: 0 0 auto;
}

.hive-hud-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  min-height: 1.6em;
}

.hive-caret {
  display: inline-block;
  width: 2px; height: 1em;
  margin-left: 1px;
  background: var(--honey-deep);
  vertical-align: -2px;
  animation: hive-blink 1s steps(1, end) infinite;
}
@keyframes hive-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hive-caret { display: none; } }

.hive-vec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 9px;
}

.hive-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--bark-soft);
  background: var(--panel);
  border: 1px solid var(--tint-line);
  border-radius: 6px;
  padding: 1px 5px;
  opacity: 0;
  transform: translateY(4px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.28s ease;
  transition-delay: calc(var(--i) * 45ms);
}
.hive-chip.is-on { opacity: 1; transform: none; }

.hive-vec-note {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.hive-chip:nth-child(n + 7) { display: none; }

.hive-hud-a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 9px 0 0;
  padding-top: 9px;
  border-top: 1px dashed var(--tint-line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  min-height: 2.6em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hive-hud-a.is-on { opacity: 1; }
.hive-hud-a img { flex: 0 0 auto; margin-top: 2px; }

.hive-meter {
  position: absolute;
  right: 14px; top: 14px;
  display: flex;
  gap: 6px;
  margin: 0; padding: 0;
  list-style: none;
}

.hive-meter li {
  min-width: 58px;
  padding: 6px 8px;
  text-align: center;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hive-meter b {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bark);
  font-variant-numeric: tabular-nums;
}

.hive-meter span {
  display: block;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink-dim);
}

.hive-legend {
  position: absolute;
  left: 14px; bottom: 14px;
  display: none;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0; padding: 0;
  list-style: none;
  font-size: 11.5px;
  color: var(--ink-dim);
}

.hive-legend li { display: flex; align-items: center; gap: 5px; }

.hive-legend i {
  width: 9px; height: 10px;
  background: var(--c);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hive-tip {
  position: absolute;
  left: 0; top: 0;
  max-width: 220px;
  padding: 8px 10px;
  background: var(--bark);
  color: var(--cream);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.hive-tip.is-on { opacity: 1; transform: none; }
.hive-tip strong { font-weight: 600; }
.hive-tip em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 250, 240, 0.72);
}
.hive-tip-type {
  margin-left: 6px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--c);
  color: var(--bark);
  font-size: 10.5px;
  font-weight: 600;
}

.hive-rail {
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.hive-step {
  position: relative;
  padding: 12px 0 12px 18px;
  border-left: 2px solid var(--tint-line);
  transition: border-color 0.3s ease;
}
.hive-step.is-active { border-left-color: var(--honey); }

.hive-step-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bark);
}

.hive-step-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.hive-step::before {
  content: "";
  position: absolute;
  left: -6px; top: 18px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tint-line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hive-step.is-active::before {
  background: var(--honey);
  box-shadow: 0 0 0 4px rgba(249, 192, 51, 0.25);
}

.hive-note {
  margin: 14px 0 0;
  font-size: var(--text-meta);
  line-height: 1.7;
  color: var(--ink-dim);
}

/* ==========================================================================
   요금제 — 그룹 머리는 중앙, 카드는 tint 채움으로 조용하게.
   CTA 는 전부 #install 또는 웹스토어로만 (결제 링크 직접 금지 — 기존 규칙 유지).
   ========================================================================== */

.pricing-grid { display: grid; gap: 14px; }

/* 무료 체험 — 카드가 아니라 가로 밴드 하나. $0 | 카피 | CTA. 모바일에선 세로 스택. */
.pricing-free {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  max-width: 780px;
  margin: 0 auto;
  padding: 26px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.pricing-free-price {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--nectar);
  flex: 0 0 auto;
}

.pricing-free-main { flex: 1 1 auto; min-width: 0; }

.pricing-free-title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bark);
}

.pricing-free-desc {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-dim);
}

.pricing-free-cta { flex: 0 0 auto; }

@media (min-width: 641px) {
  .pricing-free {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-6);
  }
}

/* 카드마다 배지 유무가 달라서 그냥 두면 가격·CTA 줄이 어긋난다. flex column + CTA에
   margin-top:auto 로 그리드 안 카드들의 버튼 높이를 맞춘다. */
.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.pricing-card--accent {
  border: 1.5px solid var(--honey-deep);
  background: var(--panel);
  box-shadow: var(--shadow-md);
}
@media (min-width: 641px) {
  .pricing-grid > .pricing-card--accent { grid-column: 1 / -1; }
}

/* height 고정은 장식이 아니라 정렬용이다 — 아래 :has() 규칙이 이 값(26px + --sp-4)만큼
   배지 없는 카드에 위 패딩을 주어 카드끼리 이름·가격 줄을 맞춘다. 같이 고칠 것. */
.pricing-card-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin: 0 0 var(--sp-4);
  padding: 0 10px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-pill);
  background: var(--tint-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bark-soft);
}

/* 배지가 한 카드에만 있으면 그 카드만 아래로 밀려 이름·가격 줄이 어긋난다.
   배지 없는 카드에 배지 자리(26px + --sp-4)만큼 위 패딩을 얹어 줄을 맞춘다.
   카드가 한 줄로 쌓이는 모바일에선 맞출 상대가 없으니 빈 여백만 되므로 적용하지 않는다.
   :has()를 모르는 옛 브라우저는 이 규칙만 통째로 무시하고 예전처럼 보인다. */
@media (min-width: 641px) {
  .pricing-card:not(:has(.pricing-card-badge)) {
    padding-top: calc(26px + 26px + var(--sp-4));
  }
}

.pricing-card-badge--accent {
  background: var(--honey);
  border-color: var(--honey-deep);
  color: var(--bark);
}

.pricing-card-name {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bark);
}

.pricing-card-price {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bark);
}

/* 절약 표시 — 초록은 팔레트를 깨서 금지. 골드 브라운으로 통일.
   "월 $O 꼴" 같은 환산 표시는 2026-08 결정으로 전부 걷어냈다(카드에 남은 건 영구권의
   "갱신도 해지도 없음" 한 줄뿐). 되살리지 말 것. */
.pricing-card-save,
.pricing-card-save-static {
  margin: calc(-1 * var(--sp-2)) 0 var(--sp-3);
  font-size: var(--text-meta);
  font-weight: 600;
  color: var(--nectar-ink);
}
.pricing-card-save-static { display: block; }

/* 베타 할인 전 정가 — 취소선. 실제 청구액이 아니므로 눈에 덜 띄게. */
.pricing-card-was {
  margin-right: var(--sp-2);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration-thickness: 1.5px;
}

.pricing-card-period {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: var(--text-meta);
  font-weight: 500;
  color: var(--ink-dim);
}

/* auto 가 남는 공간을 다 먹어 CTA를 바닥에 붙인다 — 배지 있는 카드와 없는 카드의
   버튼 줄이 맞는다. 앞 요소의 margin-bottom(--sp-4)이 최소 간격을 보장한다. */
.pricing-card-cta { margin-top: auto; }

/* 베타 할인 고지 — 그룹 설명 아래 한 줄. 카드마다 반복하지 않는다. */
.pricing-group-flag {
  margin: calc(-1 * var(--sp-3)) auto var(--sp-5);
  max-width: 60ch;
  font-size: var(--text-meta);
  line-height: 1.7;
  color: var(--bark-soft);
  text-align: center;
}
.pricing-group-flag strong { color: var(--nectar-ink); }

.pricing-flag-pill {
  display: inline-block;
  margin-right: var(--sp-2);
  padding: 3px 10px;
  border: 1px solid var(--tint-line);
  border-radius: var(--r-pill);
  background: var(--tint-deep);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bark);
}

/* 오픈 멤버 가격 고정 — 카드 아래 얇은 꿀빛 밴드. */
.pricing-lock {
  margin: var(--sp-4) auto 0;
  max-width: 720px;
  padding: 14px 20px;
  border: 1px solid var(--honey-deep);
  border-radius: var(--r-md);
  background: var(--tint);
  font-size: var(--text-meta);
  line-height: 1.7;
  color: var(--ink-dim);
  text-align: center;
}
.pricing-lock strong { color: var(--bark); font-weight: 700; }

.pricing-note {
  margin: var(--sp-6) auto 0;
  max-width: 620px;
  text-align: center;
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
}

.pricing-group { margin-bottom: var(--sp-7); }
.pricing-group:last-of-type { margin-bottom: 0; }

.pricing-group-title {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--bark);
  text-align: center;
}

.pricing-group-desc {
  margin: 0 auto var(--sp-5);
  max-width: 60ch;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-dim);
  text-align: center;
}

/* ==========================================================================
   설치 — 좁은 패널 하나. 배경 밴드 없이 조용하게.
   ========================================================================== */

.install-panel {
  list-style: none;
  margin: 0 auto;
  padding: 8px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  max-width: 680px;
}

.install-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}
.install-step + .install-step { border-top: 1px solid var(--line); }

.install-step .hex-num {
  width: 34px; height: 39px;
  font-size: 15px;
  background: var(--tint-deep);
}

.install-step-main { flex: 1; min-width: 0; }

.install-step-text {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--ink);
}
.install-step-text strong { font-weight: 700; color: var(--bark); }

.install-step-btn { margin-top: var(--sp-3); }

.install-code {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: var(--sp-3);
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-sm);
  padding: 4px 4px 4px 12px;
  max-width: 100%;
}
.install-code code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: var(--bark);
  overflow-wrap: anywhere;
}

.install-copy {
  border: 0;
  background: transparent;
  color: var(--bark-soft);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: calc(var(--r-sm) - 3px);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.install-copy:hover { background: #f1e9da; }
.install-copy:active { background: #f2e4cd; }
.install-copy.is-copied { color: var(--ok); }

/* ==========================================================================
   FAQ — button + region 아코디언 (site.js 훅 유지)
   ========================================================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: #e0d5c1; }
.faq-item.is-open {
  border-color: var(--tint-line);
  box-shadow: var(--shadow-md);
}

.faq-q { margin: 0; }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--bark);
  transition: background 0.16s ease;
}
.faq-btn:hover { background: var(--tint); }
.faq-btn:focus-visible { outline-offset: -3px; border-radius: 0; }

.faq-btn-text { flex: 1 1 auto; }

.faq-chevron {
  width: 16px; height: auto;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ink-dim);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.26s;
}
.faq-a > * { overflow: hidden; }
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.faq-a-body {
  margin: 0;
  padding: 0 18px 18px;
  min-height: 0;
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--ink-dim);
}

/* ==========================================================================
   최종 CTA + Footer — goldfish 의 마지막 화면처럼 크고 조용하게.
   ========================================================================== */

.cta { padding-bottom: 120px; }

/* 다크 밴드 — 페이지 전체가 크림이라, 마지막 한 번의 명암 반전이 마침표가 된다. */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border: 0;
  border-radius: var(--r-xl);
  padding: 56px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

/* 점격자 한 겹 — getenergy 의 closing 섹션 문법. 벌집 결(::before) 위에 겹쳐서
   가운데로 갈수록 밀도가 살아나게 마스크를 건다. */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(239, 181, 58, 0.24) 1px, transparent 1px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(circle at 50% 26%, rgba(0, 0, 0, 0.9), transparent 62%);
  mask-image: radial-gradient(circle at 50% 26%, rgba(0, 0, 0, 0.9), transparent 62%);
}

/* CTA 밴드 안에도 희미한 벌집 결 */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23efb53a' stroke-width='1'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16z'/%3E%3Cpath d='M28 64l28 16v32H0V80z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
  opacity: 0.06;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 0%, transparent 75%);
}

.cta-band > * { position: relative; }

.cta-mark { margin-bottom: 20px; }

.cta-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-cta);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #faf5ea;
}
.cta-title em { font-style: normal; color: var(--honey); }

.cta-sub {
  margin: 14px 0 0;
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(250, 245, 234, 0.72);
}

/* 다크 밴드 위에서는 주 버튼이 골드 채움으로 반전된다. 흰 링도 여기선 골드 링. */
.cta-band .btn-primary {
  background: var(--honey);
  color: var(--dark);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 5px rgba(239, 181, 58, 0.14),
    0 2px 6px rgba(0, 0, 0, 0.25), 0 14px 34px rgba(239, 181, 58, 0.20);
}
.cta-band .btn-primary:hover {
  background: #f6c452;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 0 5px rgba(239, 181, 58, 0.2),
    0 3px 8px rgba(0, 0, 0, 0.28), 0 18px 40px rgba(239, 181, 58, 0.26);
}
.cta-band .btn-primary:active { background: #e2a52c; }
.cta-band .btn-arrow { background: var(--dark); color: var(--honey); }

.cta-band .btn-secondary { color: rgba(250, 245, 234, 0.74); }
.cta-band .btn-secondary:hover {
  background: rgba(250, 245, 234, 0.09);
  color: #faf5ea;
  border-color: transparent;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-top: 30px;
}

.cta-btn {
  padding: 16px 36px;
  font-size: 16px;
}

.cta-note {
  margin-top: var(--sp-4);
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(250, 245, 234, 0.55);
}
.cta-band .cta-link { color: rgba(250, 245, 234, 0.8); }
.cta-band .cta-link:hover { color: #faf5ea; }

.cta-link {
  color: var(--bark-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.16s ease;
}
.cta-link:hover { color: var(--bark); }

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-mark { width: 20px; height: 20px; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--bark);
}
.footer-tag {
  margin-left: 6px;
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-link {
  font-size: var(--text-meta);
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link.is-active { color: var(--bark); font-weight: 700; }

.footer-copy {
  margin: 0;
  font-size: var(--text-meta);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ==========================================================================
   태블릿 이상 (641px~)
   ========================================================================== */

@media (min-width: 641px) {
  .container { padding: 0 var(--sp-5); }

  .section { padding: 104px 0; }

  .hero { padding: 64px 0 var(--sp-9); }
  .hero-actions { gap: var(--sp-5); }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-preview { margin-top: 64px; }

  .tour-panels { gap: 72px; }
  .tour-shot { padding: 28px 28px 26px; }

  .cta-actions { flex-direction: row; gap: var(--sp-5); }

  .feats-grid { grid-template-columns: repeat(2, 1fr); }

  .hive-stage { aspect-ratio: 16 / 11; }
  .hive-legend { display: flex; }
  .hive-meter { right: 18px; top: 18px; }

  .hive-hud-in {
    left: 18px; top: 18px;
    right: auto; bottom: auto;
    width: min(268px, 46%);
    transform: translateY(-6px);
  }
  .hive-hud-in.is-on { transform: none; }
  .hive-hud-text { min-height: 2.6em; }
  .hive-chip:nth-child(n + 7) { display: inline-block; }
  .hive-hud-ask {
    left: auto; right: 18px; bottom: 18px;
    width: min(300px, 52%);
  }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  .install-step { gap: 20px; padding: 22px 28px; }

  .faq-btn { padding: 18px 22px; font-size: 16px; }
  .faq-a-body { padding: 0 22px 20px; }

  .cta-band { padding: 68px var(--sp-6); }
}

/* ==========================================================================
   데스크톱 (900px~)
   ========================================================================== */

@media (min-width: 900px) {
  /* 캡슐 안을 3등분: 브랜드 | 가운데 링크 | 오른쪽 액션. flex 의 auto 마진 대신
     grid 를 써야 링크 줄이 캡슐 정중앙에 앉는다. */
  .nav .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-links { display: flex; justify-content: center; margin-left: 0; }
  .nav-right { margin-left: 0; justify-self: end; }

  /* 목차가 왼쪽에 고정되고 오른쪽 패널만 흐른다 */
  .tour-layout {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    gap: var(--sp-8);
  }
  .tour-toc {
    position: sticky;
    top: calc(var(--nav-h) + 8px);
    flex-direction: column;
    gap: 0;
    overflow: visible;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .tour-toc-link {
    min-height: 56px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(43, 29, 14, 0.10);
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #b3a894;
  }
  .tour-toc-link:hover { background: transparent; color: var(--ink-dim); }
  .tour-toc-link.is-active {
    background: transparent;
    color: var(--bark);
    font-weight: 600;
  }
  .tour-kicker { font-size: 24px; }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); }

  .hive-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--sp-6);
  }
  .hive-stage { aspect-ratio: 16 / 10; }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   모션을 꺼둔 사용자 — 파일 맨 끝에 두어 항상 이긴다.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
