/* booviva landing — fonts (Pretendard body / SUIT display).
   Loaded via cdn.booviva.kr dynamic-subset <link> in landing.html.tmpl head
   (consistent with share.html.tmpl) — not @import here. */

/* ============================================================
   Page reset (SSR full-body — no SPA shell tokens)
   ============================================================ */
html, body { margin: 0; padding: 0; }

/* ============================================================
   Root / tokens
   ============================================================ */
.landing-page {
  --lp-font: var(--font, 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif);
  --lp-font-display: var(--font-display, 'SUIT Variable', 'SUIT', 'Pretendard Variable', -apple-system, system-ui, 'Malgun Gothic', sans-serif);

  --lp-brand: var(--brand-400, #e25b48);
  --lp-brand-strong: var(--brand-600, #c05540);
  --lp-brand-soft: var(--brand-300, #ec7b69);

  /* dark surface palette (page shell) */
  --lp-bg: #0b0a09;
  --lp-ink: #f3efe9;
  --lp-ink-bright: #f7f4ef;
  --lp-ink-soft: #d7d2c9;
  --lp-ink-dim: #a8a299;
  --lp-faint: #5c574f;
  --lp-label: #6b665e;
  --lp-line: rgba(255, 255, 255, 0.06);
  --lp-line-2: rgba(255, 255, 255, 0.1);

  /* light section palette */
  --lp-light-bg: #ffffff;
  --lp-light-ink: #1f1c18;
  --lp-light-dim: #5f594f;
  --lp-card-bg: #f4f3f1;
  --lp-card-icon-bg: #e7e4df;

  --lp-maxw: 1044px;
  --lp-pad-x: 32px;

  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  min-height: 100vh;
  /* clip(≠hidden): 가로 넘침(마퀴·풀블리드)은 자르되 스크롤 컨테이너를 만들지 않아
     자손 .lp-nav 의 position: sticky 가 살아있다. hidden 이면 sticky 가 깨진다. */
  overflow-x: clip;
}

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

.landing-page ::selection {
  background: var(--lp-brand);
  color: var(--lp-bg);
}

.lp-accent {
  color: var(--lp-brand);
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lp-btn--ghost { background: transparent; color: var(--lp-ink-soft); }
.lp-btn--ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--lp-ink); }
.lp-btn--subtle { background: #1b1916; border-color: var(--lp-line-2); color: var(--lp-ink); }
.lp-btn--subtle:hover { background: #26231f; }
.lp-btn--primary { background: var(--lp-brand-strong); color: #fff; font-weight: 700; border-radius: 10px; }
.lp-btn--primary:hover { background: var(--lp-brand); }
.lp-btn--lg { font-size: 15px; font-weight: 700; gap: 12px; padding: 14px 28px; border-radius: 11px; }
.lp-arrow { font-size: 16px; }

/* ============================================================
   Nav
   ============================================================ */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--lp-line);
}
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line-2); }
.lp-nav-inner {
  max-width: var(--lp-maxw);
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--lp-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-nav-logo { display: flex; align-items: center; min-width: 150px; }
.lp-nav-links { display: flex; align-items: center; gap: 30px; }
.lp-nav-link {
  color: var(--lp-ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.lp-nav-link:hover { color: var(--lp-ink); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; min-width: 160px; justify-content: flex-end; }

/* nav "기능" 메가 메뉴 (flex.team 스타일 풀-위드 호버 패널) */
.lp-nav-dd { position: relative; }
.lp-nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink-soft);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}
.lp-nav-dd-toggle:hover { color: var(--lp-ink); }
.lp-nav-dd-toggle[aria-expanded='true'] { color: var(--lp-ink); }

/* 풀-위드 패널 — nav(sticky=positioning context) 하단에 화면 폭 전체로 펼침.
   닫힘 상태는 visibility+pointer-events 로 클릭 차단까지 확실히 끈다. */
.lp-nav-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  background: #000;
  border-bottom: 1px solid var(--lp-line-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.lp-nav.is-mega-open .lp-nav-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.lp-nav-mega-inner {
  max-width: var(--lp-maxw);
  margin: 0 auto;
  padding: 26px var(--lp-pad-x) 34px;
}
.lp-nav-mega-cat {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lp-label);
}
.lp-nav-mega-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.lp-nav-mega-item {
  display: block;
  padding: 7px 0;
  font-family: var(--lp-font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lp-ink-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.lp-nav-mega-item:hover,
.lp-nav-mega-item:focus-visible {
  color: var(--lp-ink-bright);
  outline: none;
}

/* ============================================================
   Hero
   ============================================================ */
.lp-hero {
  position: relative;
  overflow: hidden;
  margin-top: -64px;
  height: 600px;
  display: flex;
  align-items: center;
}
.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/landing/img/hero-soft.jpg');
  background-size: cover;
  background-position: center 60%;
}
.lp-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(74% 86% at 44% 50%, rgba(18, 28, 32, 0.46), rgba(18, 28, 32, 0.16) 56%, transparent 84%);
}
.lp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px var(--lp-pad-x) 0;
  text-align: center;
}
.lp-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
}
.lp-hero-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(40px, 7.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #fff;
}
.lp-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   Social proof — marquee
   ============================================================ */
.lp-marquee { padding: 6px 0 0; }
.lp-marquee-mask {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-marquee-track { display: flex; align-items: center; width: max-content; animation: marqueeScroll 38s linear infinite; }
.lp-marquee-item {
  flex: none;
  margin-right: 46px;
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--lp-faint);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Pain / reframe (dark)
   ============================================================ */
.lp-reframe { max-width: 780px; margin: 0 auto; padding: 170px var(--lp-pad-x) 90px; text-align: center; }
.lp-reframe-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  margin: 0 0 44px;
  color: var(--lp-ink-bright);
}
.lp-reframe-body { font-size: 18px; line-height: 1.95; color: #5c5852; }
.lp-reframe-body p { margin: 0 0 44px; }
.lp-reframe-body p.is-strong { font-weight: 600; }
.lp-reframe-body p:last-child { margin-bottom: 0; }
.lp-reframe-cta { margin-top: 48px; }

/* ============================================================
   Transition photo (full-bleed, fades to bg)
   ============================================================ */
.lp-transphoto { position: relative; height: 860px; overflow: hidden; background: var(--lp-bg); }
.lp-transphoto-img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.lp-transphoto-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 10, 9, 0) 52%, rgba(11, 10, 9, 0.92) 70%, #0b0a09 100%);
}
.lp-transphoto-inner { position: absolute; top: 0; left: 0; right: 0; padding: 150px var(--lp-pad-x) 0; text-align: center; }
.lp-transphoto-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.36;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}

/* ============================================================
   Light band — transition headline + 3 sections
   ============================================================ */
.lp-light { background: var(--lp-light-bg); color: var(--lp-light-ink); padding-bottom: 95px; }

.lp-transition { max-width: var(--lp-maxw); margin: 0 auto; padding: 90px var(--lp-pad-x) 0; text-align: center; }
.lp-transition-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--lp-light-ink);
}

.lp-sec { max-width: var(--lp-maxw); margin: 0 auto; padding: 120px var(--lp-pad-x) 0; text-align: center; }
.lp-sec + .lp-sec { padding-top: 150px; }
.lp-sec-num {
  width: 34px;
  height: 34px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-light-dim);
}
.lp-sec-numrow { position: relative; width: 34px; margin: 0 auto 22px; }
.lp-sec-numrow .lp-sec-num { margin: 0; }
.lp-sec-numrow .lp-sec-badge { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); white-space: nowrap; }
.lp-sec-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(214, 151, 55, 0.16); color: #e0a53c; font-size: 12px; font-weight: 700; }
.lp-sec-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #e0a53c; }
.lp-sec-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--lp-light-ink);
}
.lp-sec-sub { font-size: 17px; line-height: 1.6; color: var(--lp-light-dim); margin: 0; }
.lp-sec-viz { margin-top: 56px; position: relative; }

/* light cards */
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
.lp-card { background: var(--lp-card-bg); border-radius: 16px; padding: 28px; }
.lp-card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-card-icon-bg);
  color: #46413a;
}
.lp-card-title {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--lp-light-ink);
  margin: 0 0 9px;
}
.lp-card p { font-size: 14px; line-height: 1.7; color: var(--lp-light-dim); margin: 0; }

/* ============================================================
   Product panel — shared frame + fit scaling
   ============================================================ */
.la-panel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 14px 34px -14px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font);
  text-align: left;
}
.la-panel .dt-table td,
.la-panel .dt-table th { padding: 11px 14px; white-space: nowrap; }
.la-panel .cell-listing-title { max-width: 230px; }
.la-panel .cell-address-jibun { overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

.lp-fit { position: relative; width: 100%; overflow: hidden; }
.lp-fit-inner { width: 1080px; transform-origin: top left; }

/* listing app panel */
.lp-app { display: flex; min-height: 520px; }
.lp-app-side { width: 228px; flex: none; background: var(--surface-0); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.lp-app-ws { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 14px 12px 10px; border-radius: 10px; }
.lp-app-ws-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
}
.lp-app-ws-name { font-weight: 700; font-size: 14px; color: var(--text-primary); flex: 1; }
.lp-app-chev { color: var(--text-tertiary); font-size: 13px; }
.lp-app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin: 0 12px 10px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-tertiary);
  font-size: 13px;
}
.lp-app-search-text { flex: 1; }
.lp-app-kbd { font-family: var(--font-mono); font-size: 11px; padding: 1px 5px; border: 1px solid var(--border); border-radius: 5px; }
.lp-app-nav { padding: 2px 10px; display: flex; flex-direction: column; gap: 2px; }
.lp-app-navitem { padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--text-secondary); }
.lp-app-navitem.is-active { font-weight: 600; color: var(--text-primary); background: var(--surface-sunken); }
.lp-app-navlabel { padding: 18px 18px 8px; font-size: 11px; font-weight: 700; color: var(--text-tertiary); }
.lp-app-side-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 10px; }
.lp-app-user { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-app-user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.lp-app-user-role { font-size: 11.5px; color: var(--text-tertiary); }
.lp-app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--surface-0); }
.lp-app-crumb { display: flex; align-items: center; gap: 8px; padding: 16px 20px 14px; font-size: 13px; color: var(--text-tertiary); }
.lp-app-crumb .is-current { color: var(--text-primary); font-weight: 600; }
.lp-app-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 14px; border-bottom: 1px solid var(--border); }
.lp-app-tab { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.lp-app-tab b { font-size: 13px; font-weight: 600; color: var(--text-tertiary); font-variant-numeric: tabular-nums; margin-left: 6px; }
.lp-app-tools { display: flex; align-items: center; gap: 8px; }
.lp-app-tool-search { display: flex; align-items: center; height: 34px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-tertiary); font-size: 13px; width: 258px; }
.lp-app-tool-filter { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-secondary); font-size: 13px; font-weight: 500; }
.lp-cell-tag { font-size: 11px; font-weight: 600; color: var(--text-tertiary); background: var(--surface-subtle); padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.lp-cell-area { display: flex; flex-direction: column; gap: 1px; }
.lp-cell-area-sub { font-size: 12px; color: var(--text-tertiary); }
.lp-cell-money { display: flex; flex-direction: column; gap: 3px; }
.lp-app-spacer { flex: 1; }
.lp-app-foot { display: flex; align-items: center; justify-content: space-between; }
.lp-app-pager { display: flex; align-items: center; gap: 4px; }
.lp-pg { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 7px; color: var(--text-secondary); font-size: 13px; }
.lp-pg.is-active { background: var(--brand-600); color: #fff; font-weight: 600; }

/* AI marketing chat panel */
.lp-aimk { position: relative; }
.lp-aimk-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.lp-aimk-title { font-size: 15px; font-weight: 700; color: var(--text-primary); font-family: var(--font-display); }
.lp-aimk-body { padding: 26px 24px 22px; }

/* user message */
.lp-aimk-userrow { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.lp-aimk-userbubble { max-width: 64%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--brand-400); color: #fff; font-size: 14.5px; line-height: 1.55; }

/* AI response */
.lp-aimk-ai { margin-bottom: 22px; }
.lp-aimk-ailabel { font-size: 11.5px; color: var(--brand-400); font-weight: 700; margin-bottom: 11px; }
.lp-aimk-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.lp-aimk-step { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.lp-aimk-step b { color: var(--text-primary); font-weight: 600; }
.lp-aimk-check { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #1f8a5b; display: inline-flex; align-items: center; justify-content: center; }
.lp-aimk-step.is-running { color: var(--text-primary); animation: aiStep 1.6s ease-in-out infinite; }
.lp-aimk-spinner { flex: none; width: 18px; height: 18px; display: inline-flex; }
.lp-aimk-spinner svg { animation: aiSpin 1s linear infinite; }
.lp-aimk-caret { animation: aiCaret 1s step-end infinite; }

/* AI outputs */
.lp-aimk-outputs { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; max-width: 620px; }
.lp-aimk-out { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-subtle); overflow: hidden; }
.lp-aimk-out-head { padding: 11px 15px; border-bottom: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.lp-aimk-out-body { padding: 15px; }
.lp-aimk-blog-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 12px; }
.lp-aimk-lines { display: flex; flex-direction: column; gap: 8px; }
.lp-aimk-line { height: 7px; border-radius: 4px; background: var(--border); }
.lp-aimk-line-1 { width: 96%; animation: aiType1 3.4s ease-in-out infinite; }
.lp-aimk-line-2 { width: 88%; animation: aiType2 3.4s ease-in-out infinite; }
.lp-aimk-line-3 { width: 72%; animation: aiType3 3.4s ease-in-out infinite; }
.lp-aimk-tags { display: flex; gap: 6px; margin-top: 14px; }
.lp-aimk-tag { font-size: 11px; font-weight: 600; color: #5b8def; background: rgba(58, 111, 224, 0.12); padding: 2px 9px; border-radius: 5px; }

/* short-form video card */
.lp-aimk-out-video { display: flex; justify-content: center; }
.lp-aimk-video { position: relative; width: 84px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #2a2724, #181613); border: 1px solid var(--border); animation: aiPulse 2.2s ease-in-out infinite; }
.lp-aimk-play { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: inline-flex; align-items: center; justify-content: center; }
.lp-aimk-progress { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.lp-aimk-progress-bar { height: 100%; width: 42%; border-radius: 3px; background: var(--brand-400); animation: aiFrame 2.2s ease-in-out infinite; }
.lp-aimk-dur { position: absolute; top: 7px; right: 8px; font-size: 9px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.4); padding: 1px 5px; border-radius: 4px; }

/* composer */
.lp-aimk-composer { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 11px 12px 11px 18px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-0); box-shadow: 0 0 0 3px rgba(226, 91, 72, 0.1); }
.lp-aimk-placeholder { flex: 1; font-size: 14px; color: var(--text-tertiary); }
.lp-aimk-caret-bar { display: inline-block; width: 1.5px; height: 15px; background: var(--brand-400); margin-left: 1px; vertical-align: -2px; animation: aiCaret 1s step-end infinite; }
.lp-aimk-send { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-400); color: #fff; }

@keyframes aiSpin { to { transform: rotate(360deg); } }
@keyframes aiStep { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes aiCaret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes aiType1 { 0% { width: 0; } 30%, 100% { width: 96%; } }
@keyframes aiType2 { 0%, 20% { width: 0; } 55%, 100% { width: 88%; } }
@keyframes aiType3 { 0%, 45% { width: 0; } 80%, 100% { width: 72%; } }
@keyframes aiFrame { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 91, 72, 0); } 50% { box-shadow: 0 0 0 6px rgba(226, 91, 72, 0.1); } }

/* homepage preview panel (browser + phone) */
.lp-hp { position: relative; }
.lp-hp-browser { border-radius: 13px; border: 1px solid rgba(0, 0, 0, 0.08); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 18px 40px -16px rgba(0, 0, 0, 0.12); overflow: hidden; }
.lp-hp-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); background: #eef0f2; }
.lp-hp-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-hp-url { display: flex; align-items: center; gap: 7px; justify-content: center; margin: 0 auto; height: 24px; padding: 0 16px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 7px; font-size: 12px; color: #6b7178; max-width: 320px; width: 100%; }
.lp-hp-url-lock { font-size: 10px; }
.lp-hp-bar-pad { width: 30px; flex: none; }
.lp-hp-screen { background: #fbfaf8; line-height: 0; }
.lp-hp-screen-img { display: block; width: 100%; height: auto; }
.lp-hp-phone { position: absolute; right: 0; bottom: -14px; width: 262px; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18)); }
.lp-hp-phone-frame { width: 100%; display: block; }
.lp-hp-phone-screen { position: absolute; inset: 2.4% 4.4%; border-radius: 34px; background: #fbfaf8; overflow: hidden; }
.lp-hp-phone-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ============================================================
   CTA (dark)
   ============================================================ */
.lp-cta { max-width: var(--lp-maxw); margin: 0 auto; padding: 95px var(--lp-pad-x) 170px; text-align: center; }
.lp-cta-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.8vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--lp-ink-bright);
}

/* ============================================================
   Footer (dark, 5-col)
   ============================================================ */
.lp-footer { background: #0e0d0b; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 72px var(--lp-pad-x) 48px; }
.lp-footer-inner { max-width: var(--lp-maxw); margin: 0 auto; }
.lp-footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.lp-footer-tagline { font-family: var(--lp-font-display); font-weight: 800; font-size: 30px; line-height: 1.3; letter-spacing: -0.02em; color: #fff; margin: 0; }
.lp-footer-tagline span { color: var(--lp-label); }
.lp-footer-actions { display: flex; gap: 9px; }
.lp-footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 48px 0; }
.lp-footer-col h5 { font-size: 12px; font-weight: 700; color: var(--lp-label); margin: 0 0 16px; }
.lp-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.lp-footer-col span { font-size: 13.5px; font-weight: 600; color: #e7e2d9; }
.lp-footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.lp-footer-legal-links { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 12.5px; }
.lp-footer-legal-links a { color: var(--lp-ink-dim); text-decoration: none; }
.lp-footer-legal-links a:hover { color: var(--lp-ink); }
.lp-footer-legal-links span { color: var(--lp-label); }
.lp-footer-legal { font-style: normal; font-size: 12px; line-height: 1.7; color: var(--lp-label); }
.lp-footer-legal p { margin: 0; }
.lp-footer-legal a { color: #8a847b; text-decoration: none; }
.lp-footer-legal a:hover { color: var(--lp-ink-dim); }
.lp-footer-cols { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 48px; padding: 48px 0 0; }
.lp-footer-menus { display: flex; gap: 56px; }
.lp-footer-col a { font-size: 13.5px; font-weight: 600; color: #e7e2d9; text-decoration: none; }
.lp-footer-col a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .lp-cards { grid-template-columns: 1fr 1fr; }
  .lp-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .landing-page { --lp-pad-x: 20px; }
  .lp-nav-links, .lp-nav-mega { display: none; }
  .lp-nav-logo, .lp-nav-cta { min-width: 0; }
  .lp-hero { height: 520px; }
  .lp-hero-sub { font-size: 17px; }
  .lp-reframe { padding-top: 110px; }
  .lp-transphoto { height: 620px; }
  .lp-transphoto-inner { padding-top: 110px; }
  .lp-reframe-body { font-size: 16px; line-height: 1.85; }
  .lp-sec { padding-top: 96px; }
  .lp-sec + .lp-sec { padding-top: 110px; }
  .lp-cards { grid-template-columns: 1fr; }
  .lp-aimk-outputs { grid-template-columns: 1fr; }
  .lp-cta { padding: 80px var(--lp-pad-x) 110px; }
  .lp-hp-phone { display: none; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-marquee-track { animation: none; }
  .lp-aimk-step.is-running,
  .lp-aimk-spinner svg,
  .lp-aimk-caret,
  .lp-aimk-caret-bar,
  .lp-aimk-line-1,
  .lp-aimk-line-2,
  .lp-aimk-line-3,
  .lp-aimk-video,
  .lp-aimk-progress-bar { animation: none; }
}

/* ============================================================
   desk-ui token + component snapshot (panels only)
   ------------------------------------------------------------
   PINNED SNAPSHOT of desk-ui light-mode :root tokens + the minimal
   component subset the app-mimicking product panels (.la-panel) depend
   on. The panels were ported verbatim from desk-ui, so they reference
   raw tokens (--surface-0, --border, --text-*, --brand-*, --font*,
   --radius-*, --status-*, --row-h-sm, --weight-*, --tracking-*) and the
   component classes (.btn, .status-pill, .avatar, .cell-*, .dt-table,
   .dt-foot) that do NOT exist in this SSR bundle.

   DRIFT RISK: values are copied by hand from
   apps/desk-ui/src/styles/tokens.css (:root, light mode only) and
   components.css / DataTable.css. If desk-ui tokens change, these will
   silently diverge — there is no build-time link. Light mode only:
   no [data-theme]/.darkTheme blocks. HSL-component vars are resolved to
   hsl(...) literals; calc() font sizes resolved to px.
   Scoped under .landing-page so nothing bleeds to the global page.
   ============================================================ */
.landing-page {
  /* ---- Surface (bg-* HSL ladder, light) ---- */
  --surface-0: hsl(60 17% 98%);       /* #FAFAF8 — cards, panel body */
  --surface-sunken: hsl(60 11% 95%);  /* table thead, row hover */
  --surface-subtle: hsl(60 11% 95%);  /* input bg, muted blocks */
  --surface-hover: hsl(60 11% 95%);
  --surface-active: hsl(45 12% 93%);

  /* ---- Border ---- */
  --border-subtle: hsl(45 12% 93%);
  --border: hsl(50 11% 89%);
  --border-strong: #D4D4CF;

  /* ---- Text ---- */
  --text-primary: hsl(0 0% 7%);
  --text-secondary: hsl(60 3% 21%);
  --text-tertiary: hsl(43 3% 47%);
  --text-inverse: #ffffff;

  /* ---- Neutral gray (back-compat consumers) ---- */
  --gray-100: hsl(45 12% 93%);
  --gray-300: #B8B8B2;
  --gray-400: #9B9B95;
  --gray-500: hsl(43 3% 47%);
  --gray-600: #555550;

  /* ---- Brand (hex) ---- */
  --brand-400: #E25B48;
  --brand-600: #C05540;
  --brand-700: #9E3E2C;
  --brand-800: #6C2519;

  /* ---- Listing status ---- */
  --status-vacant: #16A34A;
  --status-pending: #7C3AED;
  --status-closed: #555550;
  --status-closed-bg: hsl(45 12% 93%);
  --status-contract: hsl(210 71% 52%);

  /* ---- Typography ---- */
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, "Malgun Gothic", sans-serif;
  --font-display: 'SUIT Variable', 'SUIT', 'Pretendard Variable', -apple-system, system-ui, "Malgun Gothic", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* base 15px — calc() chain resolved to literals */
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-base: 15px;

  --weight-regular: 430;
  --weight-medium: 550;
  --weight-semibold: 580;
  --weight-bold: 600;

  --tracking-snug: -0.01em;
  --tracking-wide: 0.03em;

  /* ---- Radius ---- */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* ---- Row height (status-pill/btn-sm height tokens) ---- */
  --row-h-sm: 28px;

  /* ---- Shadow (btn focus only) ---- */
  --shadow-xs: 0 1px 1px 0 rgba(20, 20, 18, .04);
  --shadow-focus: 0 0 0 3px rgba(192, 85, 64, .12);

  /* ---- Transition ---- */
  --t-fast: 80ms cubic-bezier(0.2, 0, 0.1, 1);
}

/* ---------- BUTTONS (subset: .btn .btn-primary .btn-sm) ---------- */
.landing-page .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.landing-page .btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.landing-page .btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.landing-page .btn:disabled { opacity: .5; cursor: not-allowed; }
.landing-page .btn-primary {
  background: var(--brand-600);
  color: var(--text-inverse);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 2px rgba(11, 45, 107, .25);
}
.landing-page .btn-primary:hover { background: var(--brand-700); }
.landing-page .btn-primary:active { background: var(--brand-800); }
.landing-page .btn-sm { height: var(--row-h-sm); padding: 0 10px; font-size: var(--text-sm); }

/* ---------- STATUS PILL ---------- */
.landing-page .status-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; height: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: var(--text-xs); font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  white-space: nowrap;
  background: var(--status-closed-bg);
}
.landing-page .status-pill::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}
.landing-page .status-vacant { color: var(--status-vacant); }
.landing-page .status-pending { color: var(--status-pending); }
.landing-page .status-contract { color: var(--status-contract); }

/* ---------- AVATAR ---------- */
.landing-page .avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--text-secondary);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  overflow: hidden;
  flex-shrink: 0;
  background-size: cover; background-position: center;
}
.landing-page .avatar-xs { width: 20px; height: 20px; font-size: var(--text-2xs); border-radius: var(--radius-sm); }
.landing-page .avatar-sm { width: 24px; height: 24px; font-size: var(--text-2xs); border-radius: var(--radius-sm); }
.landing-page .avatar-c1 { background: #E6ECFF; color: #1E3A8A; }
.landing-page .avatar-c4 { background: #FFE4E6; color: #9F1239; }
.landing-page .avatar-c6 { background: #D8F0FB; color: #075985; }

/* ---------- TABLE CELLS ---------- */
.landing-page .cell-money { display: inline-flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; font-weight: var(--weight-medium); }
.landing-page .cell-money .label { font-size: var(--text-2xs); color: var(--text-tertiary); font-weight: var(--weight-regular); }
.landing-page .cell-money .value { color: var(--text-primary); }
.landing-page .cell-money .unit { font-size: var(--text-xs); color: var(--text-tertiary); font-weight: var(--weight-regular); }

.landing-page .cell-listing { display: flex; align-items: center; gap: 10px; }
.landing-page .cell-thumb {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--surface-subtle); color: var(--text-tertiary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.landing-page .cell-listing-meta { min-width: 0; }
.landing-page .cell-listing-title { font-weight: var(--weight-medium); color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-page .cell-listing-sub { font-size: var(--text-xs); color: var(--text-tertiary); font-family: var(--font-mono); }

.landing-page .cell-address-road { color: var(--text-primary); font-size: var(--text-sm); }
.landing-page .cell-address-jibun { color: var(--text-tertiary); font-size: var(--text-xs); }

.landing-page .cell-user { display: inline-flex; align-items: center; gap: 6px; }
.landing-page .cell-user .name { color: var(--text-primary); font-size: var(--text-sm); }
.landing-page .cell-user .role { color: var(--text-tertiary); font-size: var(--text-xs); }

/* ---------- DATA TABLE (subset: .dt-table chrome + .dt-foot) ---------- */
.landing-page .dt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.landing-page .dt-table thead tr { background: var(--surface-sunken); }
.landing-page .dt-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-tertiary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: var(--surface-sunken);
  line-height: 20px;
}
.landing-page .dt-table td {
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  background: var(--surface-0);
}
.landing-page .dt-table tbody tr:last-child td { border-bottom: 0; }
.landing-page .dt-table tbody tr:hover td { background: var(--surface-sunken); }
.landing-page .dt-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-0);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
