/* 홈(preview_home.ejs) 전용 스타일 — 인라인 <style>(약 26KB)을 분리해 브라우저 캐시를 타게 함.
   수정 시 preview_home.ejs 의 ?v= 를 함께 올릴 것 (SW 캐시 오염 방지). */
  /* ---- Hub-specific styling ---- */
  .hub-hero {
    position: relative;
    padding: 88px 0 56px;
    overflow: hidden;
  }
  .hub-hero::before {
    content: ""; position: absolute; inset: -10% -5% auto auto;
    width: 720px; height: 720px;
    background: radial-gradient(closest-side, rgba(79,55,255,0.16), transparent 70%);
    pointer-events: none; z-index: 0;
  }
  .hub-hero::after {
    content: ""; position: absolute; left: -8%; bottom: -20%;
    width: 540px; height: 540px;
    background: radial-gradient(closest-side, rgba(255,43,176,0.10), transparent 70%);
    pointer-events: none; z-index: 0;
  }
  .hub-hero > .container { position: relative; z-index: 1; }

  .hub-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  @media (max-width: 960px) { .hub-hero-grid { grid-template-columns: 1fr; gap: 48px; } }

  .hub-hero-headline {
    font: 800 clamp(34px, 4.6vw, 60px)/1.14 var(--font-sans);
    letter-spacing: -0.034em;
    color: var(--fg-primary);
    word-break: keep-all;
    text-wrap: balance;
  }
  .hub-hero-headline .accent { color: var(--w-blue-50); }
  /* keep-all 은 한국어만 — 일본어·중국어는 띄어쓰기가 없어 keep-all 이면 줄이 안 나뉘고 폰에서 제목이 잘린다 */
  html:not(:lang(ko)) .hub-hero-headline { word-break: normal; }
  html:lang(ja) .hub-hero-headline { word-break: auto-phrase; } /* 일본어는 구절 단위로(지원 안 하는 브라우저는 위 normal 그대로) */
  .hub-hero-headline .stroke {
    -webkit-text-stroke: 1.5px var(--fg-primary);
    color: transparent;
    font-weight: 800;
  }

  /* Hero visual: stacked AI-voice illustration */
  .hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 28px;
    background: linear-gradient(160deg, var(--w-blue-50) 0%, var(--w-blue-40) 50%, var(--w-violet-50) 100%);
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(79,55,255,0.5);
  }
  .hero-visual::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(60% 60% at 80% 0%, rgba(255,43,176,0.5), transparent 60%),
      radial-gradient(80% 80% at 0% 100%, rgba(0,184,212,0.45), transparent 60%);
  }
  .hero-visual-inner {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 32px;
    color: white;
  }
  .hero-visual-tag { display: flex; gap: 8px; align-items: center; font: 600 12px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.86; }
  .hero-visual-tag .led { width: 8px; height: 8px; border-radius: 50%; background: #5BFFAA; box-shadow: 0 0 12px #5BFFAA; }
  .hero-wave {
    display: flex; align-items: end; justify-content: center; gap: 4px;
    height: 120px;
    margin: auto 0;
  }
  .hero-wave .bar {
    width: 6px; border-radius: 3px;
    background: rgba(255,255,255,0.95);
    animation: wavebars 1.4s ease-in-out infinite;
  }
  @keyframes wavebars {
    0%, 100% { height: 16%; }
    50% { height: 88%; }
  }
  .hero-visual-meta {
    display: flex; justify-content: space-between; align-items: end;
    font-feature-settings: "tnum";
  }
  .hero-visual-meta .big { font: 800 56px/1 var(--font-sans); letter-spacing: -0.04em; }
  .hero-visual-meta .small { font: 500 13px/1.4 var(--font-sans); opacity: 0.86; max-width: 200px; }

  /* Spoke cards */
  .spoke-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 32px;
  }
  @media (max-width: 860px) { .spoke-grid { grid-template-columns: 1fr; } }
  .spoke {
    position: relative;
    border-radius: 24px;
    padding: 40px;
    background: white;
    border: 1px solid var(--line-neutral-subtle);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
  }
  .spoke:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: transparent; }
  .spoke-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--bg-accent-subtle); color: var(--w-blue-45);
    display: grid; place-items: center; margin-bottom: 24px;
  }
  .spoke.broadcast .spoke-icon { background: var(--bg-energy-subtle); color: var(--w-violet-45); }
  .spoke h3 { font: 800 28px/1.2 var(--font-sans); letter-spacing: -0.028em; color: var(--fg-primary); margin-bottom: 12px; }
  .spoke .pitch { font: 500 17px/1.55 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; margin-bottom: 24px; min-height: 0; }
  .spoke ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
  .spoke ul li {
    display: flex; align-items: center; gap: 10px;
    font: 500 14.5px/1.4 var(--font-sans); color: var(--fg-neutral); letter-spacing: -0.005em;
  }
  .spoke ul li::before { content: ""; width: 4px; height: 4px; background: var(--fg-neutral-muted); border-radius: 50%; }
  .spoke .free-badge {
    position: absolute; top: 24px; right: 24px;
    background: var(--w-violet-60); color: white;
    padding: 6px 12px; border-radius: 999px;
    font: 700 11px/1 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase;
  }
  .spoke-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 20px; border-top: 1px solid var(--line-neutral-subtle);
    font-size: 12.5px; color: var(--fg-neutral-muted); letter-spacing: 0.01em;
  }

  /* Trust band */
  .trust-band { background: var(--w-cool-98); padding: 56px 0; border-top: 1px solid var(--line-neutral-subtle); border-bottom: 1px solid var(--line-neutral-subtle); }
  .trust-band-head {
    text-align: center; margin-bottom: 32px;
  }
  .trust-band-head .lead {
    font: 600 15px/1.5 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em;
  }

  /* Reasons cols */
  .reasons {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line-neutral-subtle);
    border: 1px solid var(--line-neutral-subtle);
    border-radius: 24px; overflow: hidden;
  }
  @media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }
  .reason { background: white; padding: 40px; }
  .reason h4 { font: 700 22px/1.3 var(--font-sans); letter-spacing: -0.022em; color: var(--fg-primary); margin: 16px 0 12px; }
  .reason p { font: 500 15px/1.65 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; }
  .reason .num {
    display: inline-block;
    font: 800 13px/1 var(--font-mono); letter-spacing: 0.06em;
    color: var(--w-blue-50);
  }

  /* Product preview tour */
  .preview-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  }
  [data-screen-label="04 Product Tour"] .preview-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  @media (max-width: 960px) { .preview-grid { grid-template-columns: 1fr; } }
  .preview-card { display: flex; flex-direction: column; gap: 16px; }
  .preview-card-head { display: flex; align-items: center; justify-content: space-between; }
  .preview-card-head h4 { font: 700 19px/1.3 var(--font-sans); letter-spacing: -0.018em; color: var(--fg-primary); }
  .preview-card-head .tag { font: 600 11px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-neutral-muted); }
  .preview-card .caption { font: 500 14px/1.5 var(--font-sans); color: var(--fg-neutral-muted); letter-spacing: -0.005em; }
  .browser.browser-dark {
    background: #101114;
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 22px 60px -30px rgba(0,0,0,0.72);
  }
  .browser.browser-dark .browser-bar {
    background: #15171b;
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .browser.browser-dark .browser-bar .url {
    background: #101114;
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.58);
  }

  /* Mock studio screen */
  .mock-studio {
    aspect-ratio: 1586/889;
    background: #121212;
    position: relative;
    overflow: hidden;
    font-size: 11.5px;
    color: var(--fg-neutral);
  }
  .mock-studio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #121212;
    transform: scale(1.012);
    transform-origin: center;
  }
  .mock-studio .hotspot {
    background: #ffd23f;
    color: #111827;
    border: 2px solid rgba(255,255,255,0.92);
    box-shadow: 0 0 0 6px rgba(255,210,63,0.28), 0 8px 18px rgba(0,0,0,0.42), 0 0 20px rgba(255,210,63,0.46);
    animation: studioHotspotPulse 2.4s ease-out infinite;
  }
  @keyframes studioHotspotPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,210,63,0.58), 0 8px 18px rgba(0,0,0,0.42), 0 0 20px rgba(255,210,63,0.46); }
    70% { box-shadow: 0 0 0 14px rgba(255,210,63,0), 0 8px 18px rgba(0,0,0,0.42), 0 0 20px rgba(255,210,63,0.46); }
    100% { box-shadow: 0 0 0 0 rgba(255,210,63,0), 0 8px 18px rgba(0,0,0,0.42), 0 0 20px rgba(255,210,63,0.46); }
  }
  @media (prefers-reduced-motion: reduce) {
    .mock-studio .hotspot { animation: none; }
  }
  .mock-side { background: var(--w-cool-98); border-right: 1px solid var(--line-neutral-subtle); padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
  .mock-side .label { font: 700 10px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-neutral-muted); margin: 8px 4px; }
  .mock-voice { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; }
  .mock-voice.active { background: var(--bg-accent-subtle); }
  .mock-voice .av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--w-blue-50), var(--w-violet-60)); flex: 0 0 24px; }
  .mock-voice .av.b2 { background: linear-gradient(135deg, var(--w-cyan-60), var(--w-blue-50)); }
  .mock-voice .av.b3 { background: linear-gradient(135deg, var(--w-orange-60), var(--w-violet-60)); }
  .mock-voice .av.b4 { background: linear-gradient(135deg, var(--w-green-60), var(--w-cyan-60)); }
  .mock-voice .meta { display: flex; flex-direction: column; }
  .mock-voice .meta .n { font-weight: 600; }
  .mock-voice .meta .s { color: var(--fg-neutral-muted); font-size: 10.5px; }

  .mock-main { display: flex; flex-direction: column; }
  .mock-toolbar { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-neutral-subtle); align-items: center; }
  .mock-tab { padding: 6px 12px; border-radius: 6px; font-weight: 600; font-size: 11px; }
  .mock-tab.active { background: var(--w-cool-5); color: white; }
  .mock-tab.dim { color: var(--fg-neutral-muted); }
  .mock-textarea {
    flex: 1; padding: 24px; background: white; font: 500 14px/1.7 var(--font-sans);
    color: var(--fg-primary); border: none; outline: none; resize: none;
    letter-spacing: -0.005em;
  }
  .mock-textarea .tag-inline {
    display: inline-block; padding: 1px 6px; border-radius: 4px;
    background: var(--bg-accent-subtle); color: var(--w-blue-45);
    font-family: var(--font-mono); font-size: 12px;
  }
  .mock-controls {
    border-top: 1px solid var(--line-neutral-subtle); padding: 12px 16px; display: flex; align-items: center; gap: 16px;
    background: var(--w-cool-98);
  }
  .mock-play {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--w-blue-50); color: white;
    display: grid; place-items: center;
  }
  .mock-wave { flex: 1; display: flex; gap: 2px; align-items: center; height: 24px; }
  .mock-wave .b { flex: 1; background: var(--w-blue-50); border-radius: 1px; opacity: 0.85; }
  .mock-time { font-family: var(--font-mono); font-size: 11px; color: var(--fg-neutral-muted); }
  .mock-dl {
    background: var(--w-cool-5); color: white; font-size: 11px; font-weight: 600;
    padding: 6px 12px; border-radius: 6px;
  }

  /* Mock broadcast screen */
  .mock-broadcast {
    aspect-ratio: 1421/800;
    background: white;
    position: relative;
    overflow: hidden;
    font-size: 11.5px;
  }
  .mock-broadcast-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: white;
  }
  .mock-studio .hotspot.hotspot-up .hotspot-tip,
  .mock-broadcast .hotspot.hotspot-up .hotspot-tip {
    top: auto;
    bottom: 36px;
  }
  .mock-studio .hotspot.hotspot-left .hotspot-tip,
  .mock-broadcast .hotspot.hotspot-left .hotspot-tip {
    left: auto;
    right: 0;
    transform: none;
  }
  .mock-studio .hotspot.hotspot-right .hotspot-tip,
  .mock-broadcast .hotspot.hotspot-right .hotspot-tip {
    left: 0;
    transform: none;
  }
  .mock-broadcast .mock-side { padding: 14px 10px; }
  .mock-bcast-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
  .mock-bcast-head { display: flex; align-items: center; justify-content: space-between; }
  .mock-bcast-head h5 { font: 700 13px/1 var(--font-sans); letter-spacing: -0.018em; color: var(--fg-primary); }
  .mock-bcast-input {
    background: white; border: 1px solid var(--line-neutral); border-radius: 8px;
    padding: 12px 14px; font: 500 13px/1.6 var(--font-sans); color: var(--fg-primary);
    min-height: 88px; letter-spacing: -0.005em;
  }
  .mock-bcast-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mock-bcast-cell {
    background: white; border: 1px solid var(--line-neutral-subtle); border-radius: 8px;
    padding: 10px 12px; display: flex; flex-direction: column; gap: 4px;
  }
  .mock-bcast-cell .l { font-size: 10px; color: var(--fg-neutral-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .mock-bcast-cell .v { font-size: 12.5px; font-weight: 600; color: var(--fg-primary); }
  .mock-bcast-action {
    background: var(--w-violet-60); color: white; border-radius: 8px;
    padding: 12px; text-align: center; font-weight: 700; font-size: 13px;
  }
  .mock-side-item { padding: 8px; border-radius: 6px; display: flex; gap: 8px; align-items: center; }
  .mock-side-item.act { background: var(--bg-energy-subtle); color: var(--w-violet-45); font-weight: 600; }
  .mock-dot-mag { width: 6px; height: 6px; border-radius: 50%; background: var(--w-violet-60); }
  .mock-dot-cy { width: 6px; height: 6px; border-radius: 50%; background: var(--w-cyan-60); }
  .mock-dot-bl { width: 6px; height: 6px; border-radius: 50%; background: var(--w-blue-50); }

  /* Mini calendar overlay */
  .mock-mini-cal {
    position: absolute; right: 16px; bottom: 16px;
    width: 180px; background: white;
    border: 1px solid var(--line-neutral); border-radius: 10px;
    box-shadow: var(--shadow-normal);
    padding: 10px; font-size: 10px;
  }
  .mock-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 6px; }
  .mock-cal-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 3px; color: var(--fg-neutral-muted); font-size: 9px; }
  .mock-cal-cell.has { background: var(--bg-energy-subtle); color: var(--w-violet-45); font-weight: 700; }
  .mock-cal-cell.today { background: var(--w-violet-60); color: white; font-weight: 700; }

  /* 요금 카드 */
  .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .pricing-card { display: flex; flex-direction: column; min-height: 100%; }
  .pricing-desc {
    min-height: 44px;
    margin: 8px 0 24px;
    font-size: 14.5px;
    line-height: 1.65;
  }
  .pricing-card .pricing-cta {
    width: 100%;
    height: 44px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 10px;
    border-color: var(--line-neutral);
    background: white;
    color: var(--fg-primary);
    font: 700 14px/1 var(--font-sans);
    letter-spacing: -0.008em;
    box-shadow: inset 0 0 0 1px rgba(13,14,18,0.02);
  }
  .pricing-card .pricing-cta::after {
    content: "→";
    margin-left: 2px;
    font-size: 16px;
    transform: none;
  }
  .pricing-card .pricing-cta:hover {
    background: var(--w-cool-5);
    border-color: var(--w-cool-5);
    color: white;
    box-shadow: 0 10px 22px rgba(13,14,18,0.16);
    transform: translateY(-1px);
  }
  .pricing-card .pricing-cta:hover::after {
    transform: translateX(3px);
  }
  .pricing-free-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--w-violet-60), var(--w-blue-50));
    color: white;
    padding: 5px 10px;
    border-radius: 999px;
    font: 800 12px/1 var(--font-sans);
    letter-spacing: 0.03em;
    box-shadow: 0 8px 18px rgba(79,55,255,0.24), 0 0 0 4px rgba(79,55,255,0.08);
  }
  @media (max-width: 860px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-desc { min-height: 0; }
  }

  /* Closer CTA */
  .closer {
    background: var(--w-cool-5);
    color: white;
    border-radius: 32px;
    padding: 80px 64px;
    text-align: center;
    overflow: hidden;
    position: relative;
  }
  .closer::before {
    content: ""; position: absolute; inset: -50% -10% auto -10%;
    height: 200%;
    background: radial-gradient(40% 40% at 50% 100%, rgba(79,55,255,0.45), transparent 70%);
  }
  .closer > * { position: relative; z-index: 1; }
  .closer h2 {
    font: 800 clamp(32px, 4vw, 56px)/1.1 var(--font-sans); letter-spacing: -0.034em;
    color: white; text-wrap: balance;
  }
  .closer p { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 17px; }
  .closer-cta { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .closer-cta .btn-outline { color: white; border-color: rgba(255,255,255,0.24); }
  .closer-cta .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: white; }
  @media (max-width: 720px) { .closer { padding: 56px 24px; border-radius: 20px; } }

  /* ---- Service guide (hub selector) ---- */
  .svc-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 860px) { .svc-guide { grid-template-columns: 1fr; } }
  .svc-col { background: white; border: 1px solid var(--line-neutral-subtle); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; transition: transform .2s, border-color .2s, box-shadow .2s; }
  .svc-col:hover { transform: translateY(-3px); border-color: var(--w-blue-50); box-shadow: var(--shadow-emphasize); }
  .svc-col.b:hover { border-color: var(--w-violet-60); }
  .svc-head { display: flex; align-items: center; gap: 12px; }
  .svc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-accent-subtle); color: var(--w-blue-45); display: grid; place-items: center; flex: 0 0 44px; }
  .svc-col.b .svc-ic { background: var(--bg-energy-subtle); color: var(--w-violet-45); }
  .svc-col h3 { font: 800 22px/1.2 var(--font-sans); letter-spacing: -0.022em; color: var(--fg-primary); }
  .svc-col .for { font: 600 13px/1.5 var(--font-sans); color: var(--fg-neutral-muted); letter-spacing: -0.005em; }
  .svc-rows { display: flex; flex-direction: column; gap: 10px; }
  .svc-row { display: flex; gap: 12px; font: 500 14px/1.5 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; }
  .svc-row .k { flex: 0 0 56px; font: 700 11px/1.45 var(--font-sans); color: var(--fg-neutral-muted); letter-spacing: 0.04em; }
  .svc-col .svc-cta { margin-top: auto; }

  /* ---- How to (3 steps) ---- */
  .howto-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 860px) { .howto-steps { grid-template-columns: 1fr; } }
  .howto-step { background: white; border: 1px solid var(--line-neutral-subtle); border-radius: 20px; padding: 32px; position: relative; }
  .howto-step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--w-cool-5); color: white; display: grid; place-items: center; font: 800 16px/1 var(--font-sans); margin-bottom: 20px; }
  .howto-step h4 { font: 700 19px/1.3 var(--font-sans); letter-spacing: -0.018em; color: var(--fg-primary); margin-bottom: 8px; }
  .howto-step p { font: 500 14.5px/1.65 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; }
  .howto-step .arrow { position: absolute; top: 50%; right: -10px; transform: translate(50%, -50%); color: var(--fg-neutral-disable); font: 700 22px/1 var(--font-sans); z-index: 2; pointer-events: none; }
  @media (max-width: 860px) { .howto-step .arrow { display: none; } }

  /* ---- Feature columns ---- */
  .feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 860px) { .feature-cols { grid-template-columns: 1fr; } }
  .feature-col { background: white; border: 1px solid var(--line-neutral-subtle); border-radius: 24px; padding: 36px; }
  .feature-col .fc-head { margin-bottom: 24px; }
  /* 서비스 이름 라벨(칩)은 언어에 따라 길이가 크게 다르다(ko 12자 ↔ es 32자).
     .eyebrow 는 height 고정이라 두 줄이 되면 글자가 밖으로 나가므로, 이름을 담는 칩만 높이를 푼다. */
  .feature-col .fc-head .eyebrow,
  .pricing-card .eyebrow {
    height: auto; min-height: 28px; padding: 5px 12px;
    white-space: normal; line-height: 1.35; text-align: left;
  }
  .feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
  .feature-item h5 { font: 700 14.5px/1.3 var(--font-sans); letter-spacing: -0.01em; color: var(--fg-primary); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
  .feature-item h5::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--w-blue-50); flex: 0 0 6px; }
  .feature-col.b .feature-item h5::before { background: var(--w-violet-60); }
  .feature-item p { font: 500 13px/1.55 var(--font-sans); color: var(--fg-neutral-muted); padding-left: 13px; letter-spacing: -0.005em; }
  .feature-item h5 .new-chip { font: 800 9px/1 var(--font-sans); letter-spacing: 0.07em; color: #fff; background: var(--w-blue-50); padding: 3px 6px; border-radius: 999px; flex: 0 0 auto; }
  .feature-col.b .feature-item h5 .new-chip { background: var(--w-violet-60); }

  /* ---- Case studies ---- */
  .case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  @media (max-width: 1100px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 860px) { .case-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }
  .case-card {
    background: white;
    border: 1px solid var(--line-neutral-subtle);
    border-radius: 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    box-shadow: 0 18px 46px -34px rgba(13, 14, 18, 0.48);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .case-card:hover { transform: translateY(-4px); border-color: rgba(79,55,255,0.22); box-shadow: 0 26px 56px -34px rgba(13, 14, 18, 0.62); }
  .case-visual {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--w-cool-95);
  }
  .case-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,14,18,0.02) 42%, rgba(13,14,18,0.56) 100%);
    pointer-events: none;
  }
  .case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
  }
  .case-card:hover .case-visual img { transform: scale(1.045); }
  .case-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.62);
    background: rgba(255,255,255,0.9);
    color: var(--fg-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font: 700 11.5px/1 var(--font-sans);
    letter-spacing: -0.005em;
  }
  .case-body { padding: 24px; display: flex; flex: 1; flex-direction: column; gap: 12px; }
  .case-card .mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg-accent-subtle);
    font: 800 22px/1 var(--font-sans);
    color: var(--w-blue-50);
  }
  .case-card.b .mark { background: var(--bg-energy-subtle); color: var(--w-violet-60); }
  .case-card p { font: 500 14.5px/1.7 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; }
  .case-card .who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 8px; }
  .case-card .who .av { width: 34px; height: 34px; border-radius: 9px; background: var(--w-cool-95); display: grid; place-items: center; flex: 0 0 34px; font: 800 13px/1 var(--font-sans); color: var(--fg-neutral-muted); }
  .case-card .who .nm { font: 700 13.5px/1.3 var(--font-sans); color: var(--fg-primary); }
  .case-card .who .tag { font: 500 12px/1.3 var(--font-sans); color: var(--fg-neutral-muted); }
  @media (max-width: 720px) {
    .case-body { padding: 20px; }
    .case-visual { aspect-ratio: 16/9; }
  }

  /* ---- FAQ ---- */
  .faq { border-top: 1px solid var(--line-neutral); max-width: 860px; }
  .faq details { border-bottom: 1px solid var(--line-neutral); padding: 22px 8px; }
  .faq summary { cursor: pointer; list-style: none; font: 700 17px/1.4 var(--font-sans); letter-spacing: -0.014em; color: var(--fg-primary); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font: 400 24px/1 var(--font-sans); color: var(--fg-neutral-muted); transition: transform .2s; flex: 0 0 auto; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details > p { margin-top: 10px; font: 500 14.5px/1.7 var(--font-sans); color: var(--fg-neutral-subtle); letter-spacing: -0.005em; }

  /* ---- Logo wall (2행 · 박스 없이 로고만 · 높이 통일) ----
     로고는 scripts/normalize-client-logos.py 로 전부 192x64(3:1) 캔버스에 맞춰
     정규화돼 있다. 그래서 로고별 인라인 height 가 없고 여기서 박스 하나만 잡는다.
     gap 은 정규화 전 트랙 폭(= Σ로고폭 + N*gap)을 보존하도록 재계산한 값 — 마키 속도가 그대로다. */
  .logo-rows { display: flex; flex-direction: column; gap: 60px; }
  .logo-row { gap: 140px; align-items: center; animation-duration: 150s; }
  #logo-track-b { animation-delay: -40s; }   /* 같은 속도, 위상만 어긋나게 */
  .logo-chip { flex: 0 0 auto; display: grid; place-items: center; }
  .logo-chip img {
    height: 64px; width: 192px; max-width: none; object-fit: contain;
    filter: grayscale(1); opacity: 0.55;
    transition: filter .25s ease, opacity .25s ease;
  }
  .logo-chip:hover img { filter: grayscale(0); opacity: 1; }
  /* 모바일: 박스를 줄이고 간격도 같은 비율로 좁힌다 */
  @media (max-width: 720px) {
    .logo-rows { gap: 34px; }
    .logo-row { gap: 50px; animation-duration: 90s; }
    #logo-track-b { animation-delay: -24s; }
    .logo-chip img { height: 48px; width: 144px; }
  }
  @media (max-width: 480px) {
    .logo-rows { gap: 28px; }
    .logo-row { gap: 34px; animation-duration: 72s; }
    #logo-track-b { animation-delay: -20s; }
    .logo-chip img { height: 44px; width: 132px; }
  }

/* ==== 로그인 사용자 이용 현황 스트립 — 요금 섹션 위 (남은 글자수·만료일·업셀) ==== */
.my-usage-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
  margin-bottom: 28px;
}
.my-usage-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px; border-radius: 16px; background: white;
  border: 1px solid var(--line-neutral-subtle);
}
.my-usage-card .mu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.my-usage-card .mu-plan { font: 700 13px/1 var(--font-sans); color: var(--w-blue-50); background: var(--bg-accent-subtle); padding: 6px 10px; border-radius: 999px; }
.my-usage-card .mu-plan.is-off { color: var(--fg-neutral-muted); background: var(--w-cool-96); }
.my-usage-card .mu-main { font: 800 22px/1.2 var(--font-sans); letter-spacing: -0.02em; color: var(--fg-primary); }
.my-usage-card .mu-main small { font: 600 13px/1 var(--font-sans); color: var(--fg-neutral-muted); margin-left: 4px; }
.my-usage-card .mu-bar { height: 6px; border-radius: 999px; background: var(--w-cool-94); overflow: hidden; }
.my-usage-card .mu-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--w-blue-50); }
.my-usage-card .mu-bar.is-low > span { background: var(--w-magenta-50, #e0407a); }
.my-usage-card .mu-sub { font: 500 13px/1.5 var(--font-sans); color: var(--fg-neutral-muted); }
.my-usage-card .mu-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ==== 세 번째 서비스(AI 안내데스크) 기능 묶음 — 두 열 아래 한 줄 전체, 안쪽 목록 4열 ==== */
.feature-cols > .feature-col.c { grid-column: 1 / -1; }
.feature-col.c .fc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-col.c .fc-head .new-chip { font: 800 9px/1 var(--font-sans); letter-spacing: 0.07em; color: #fff; background: var(--w-cyan-50); padding: 4px 7px; border-radius: 999px; }
.feature-col.c .feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-col.c .feature-item h5::before { background: var(--w-cyan-60); }
@media (max-width: 1000px) { .feature-col.c .feature-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-col.c .feature-list { grid-template-columns: 1fr; } }

/* ============================================================================
   AI 안내데스크 구역 (.hg — preview_home.ejs "04c Guide Desk", 요금 구역 바로 위)
   시설에 붙이는 안내판(진짜 데모 QR)과 찍으면 열리는 손님 폰(실제 손님 화면 C안 목업)을 한 판(.hg-stage)에 세운다.
   · 안내판과 폰은 바닥선(아래쪽)을 맞춘다 — 물건처럼 보이게 그림자 한 겹, 장식 그라데이션·빛 번짐 없음.
   · 움직임은 폰 시연 하나(26초, 아래 hgm-*). #hgStage.is-paused(처음·화면 밖·탭 숨김)면 멈추고, 동작 줄이기면 첫 문답 장면으로 정지.
     기본 스타일(움직임 없음) = 첫 문답 장면: 대화 판 + 첫 문답 + 3단계.
   · 폰 목업(.gv-*)은 guide-ai.css "손님 화면 목업"의 사본이다(홈은 guide-ai.css 를 읽지 않는다) — 손님 화면 디자인이 바뀌면 두 곳을 같이.
   · 폰·태블릿(≤960)은 자기 화면의 QR 을 찍을 수 없으니 안내판 QR 대신 큰 버튼(/guideai 와 같은 규칙).
   ============================================================================ */
.hg { --hg-ink: var(--w-cool-10); --hg-sign-w: 320px; --hg-gap: 40px; }
/* 한국어만 단어 단위 줄바꿈 — 일본어·중국어는 띄어쓰기가 없어 keep-all 이면 줄이 안 나뉘고 넘친다 */
html:lang(ko) .hg { word-break: keep-all; }
.hg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto auto 1fr; /* 왼쪽 글 묶음을 판 높이 가운데로 */
  column-gap: 64px;
}
.hg-head { grid-column: 1; grid-row: 2; }
.hg-facts { grid-column: 1; grid-row: 3; }
.hg-cta { grid-column: 1; grid-row: 4; }
.hg-stage { grid-column: 2; grid-row: 1 / -1; align-self: center; }

/* 서비스 이름표 — 안내판 문법(잉크 판 + 흰 글씨), 픽토그램만 이 서비스 색(청록) */
.hg-plate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hg-plate-name {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px;
  border-radius: 8px; background: var(--hg-ink); color: #fff;
  font: 700 15px/1 var(--font-sans); letter-spacing: -0.01em; white-space: nowrap;
}
.hg-new { font: 800 10px/1 var(--font-sans); letter-spacing: 0.07em; color: var(--w-cyan-40); background: var(--bg-tech-subtle); padding: 5px 8px; border-radius: 999px; }
.hg-h2 {
  margin-top: 22px;
  font: 700 clamp(30px, 3.2vw, 44px)/1.2 var(--font-sans); letter-spacing: -0.032em;
  color: var(--fg-primary); text-wrap: balance;
}
.hg-h2 > span, .hg-h2 .hg-ln { display: block; } /* 번역 값의 \n 자리에서만 끊는다(한국어는 늘 넷 줄) */
.hg-lead { margin-top: 18px; max-width: 540px; font: 500 17px/1.65 var(--font-sans); letter-spacing: -0.005em; color: var(--fg-neutral-subtle); text-wrap: pretty; }

/* 다른 점 넷 — 층별 안내판처럼 한 줄씩(카드 격자가 아니다) */
.hg-facts { list-style: none; margin-top: 36px; border-top: 1px solid var(--line-neutral); }
.hg-facts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-neutral); }
.hg-fact-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--hg-ink); color: #fff; }
.hg-facts h3 { font: 700 16px/1.4 var(--font-sans); letter-spacing: -0.014em; color: var(--fg-primary); }
.hg-facts p { margin-top: 3px; font: 500 14.5px/1.6 var(--font-sans); letter-spacing: -0.005em; color: var(--fg-neutral-subtle); text-wrap: pretty; }

.hg-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hg a.hg-btn-pri, .hg a.hg-btn-pri:hover, .hg a.hg-btn-pri:focus { background: var(--w-cyan-40); color: #fff; }
.hg a.hg-btn-pri:hover { background: var(--w-cyan-30); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 113, 133, 0.26); }
.hg a:focus-visible { outline: 3px solid var(--w-blue-80); outline-offset: 3px; }

/* 아이콘 — lib/guideIcons.js gIcon() 인라인 SVG. 크기 = font-size(1em), 색 = 글자색 */
.hg .ms { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; font-size: 24px; fill: currentColor; vertical-align: -0.125em; overflow: visible; }
.hg-plate-name .ms { font-size: 20px; color: var(--w-cyan-70); }
.hg-fact-ic .ms { font-size: 20px; }

/* ── 판 — 벽(중립 회색) 위에 안내판과 폰 ── */
.hg-stage { position: relative; padding: 40px 36px 28px; border-radius: 28px; background: var(--w-cool-96); }
.hg-stage-grid {
  display: grid; grid-template-columns: var(--hg-sign-w) 280px; justify-content: center;
  column-gap: var(--hg-gap); row-gap: 20px; align-items: end;
}

/* 안내판 — QR 인쇄물 "안내판" 디자인을 웹 크기로(guide-ai.css .gl-post 와 같은 구성) */
.hg-post { width: var(--hg-sign-w); padding: 24px 24px 20px; border-radius: 22px; background: #fff; color: var(--hg-ink); box-shadow: 0 1px 2px rgba(13, 14, 18, 0.06), 0 28px 50px -30px rgba(13, 14, 18, 0.5); }
.hg-post-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; } /* 서비스 이름이 긴 언어는 위치 칩이 다음 줄로 */
.hg-post-brand { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 800 15px/1.2 var(--font-sans); letter-spacing: -0.02em; white-space: nowrap; }
.hg-post-i { flex: none; width: 28px; height: 28px; color: var(--w-blue-50); }
.hg-post-place { display: inline-flex; align-items: center; gap: 2px; min-width: 0; height: 28px; padding: 0 10px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-neutral-strong); font: 700 12px/1.2 var(--font-sans); }
.hg-post-place .ms { font-size: 15px; }
.hg-post-place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-post-head { margin-top: 20px; font: 800 27px/1.16 var(--font-sans); letter-spacing: -0.045em; text-wrap: balance; }
.hg-post-head .hg-ln { display: block; }
.hg-post-qr { position: relative; width: 216px; height: 216px; margin: 20px auto 0; padding: 16px; }
.hg-post-qr svg { display: block; width: 100%; height: 100%; }
/* 카메라 인식 모서리 — 인쇄물과 같은 L 자(바깥이 둥근) */
.hg-post-c { position: absolute; width: 40px; height: 40px; border: 0 solid var(--w-blue-50); }
.hg-post-c.is-tl { left: 0; top: 0; border-top-width: 4.5px; border-left-width: 4.5px; border-top-left-radius: 14px; }
.hg-post-c.is-tr { right: 0; top: 0; border-top-width: 4.5px; border-right-width: 4.5px; border-top-right-radius: 14px; }
.hg-post-c.is-bl { left: 0; bottom: 0; border-bottom-width: 4.5px; border-left-width: 4.5px; border-bottom-left-radius: 14px; }
.hg-post-c.is-br { right: 0; bottom: 0; border-bottom-width: 4.5px; border-right-width: 4.5px; border-bottom-right-radius: 14px; }
.hg-post-hint { margin-top: 10px; text-align: center; font: 600 13px/1.5 var(--font-sans); color: var(--fg-neutral-subtle); text-wrap: balance; }
/* 폰에서 쓰는 큰 버튼 — 컴퓨터 화면에서는 QR 이 대신한다(QR 을 못 만든 때만 보인다) */
.hg a.hg-post-go {
  display: none; align-items: center; justify-content: center; gap: 8px; min-height: 56px; margin-top: 22px; padding: 0 18px;
  border-radius: 14px; background: var(--hg-ink); color: #fff; font: 800 17px/1.2 var(--font-sans); letter-spacing: -0.02em;
}
.hg .hg-post.no-qr a.hg-post-go { display: flex; }
.hg-post-go .ms { font-size: 22px; }
.hg-post-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 12px; border-top: 1.5px solid var(--hg-ink); }
.hg-post-foot b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 15px/1.3 var(--font-sans); letter-spacing: -0.01em; }
.hg-post-foot span { flex: none; font: 600 12.5px/1.3 var(--font-sans); color: var(--fg-neutral-muted); }

/* 안내판 밑 — 지금 찍어 보게 · 이 기기에서 열기 */
.hg-try { align-self: start; width: var(--hg-sign-w); }
.hg-try b { display: block; font: 700 15px/1.4 var(--font-sans); letter-spacing: -0.014em; color: var(--fg-primary); }
.hg-try span { display: block; margin-top: 3px; font: 500 13.5px/1.55 var(--font-sans); color: var(--fg-neutral-muted); text-wrap: balance; }
.hg a.hg-open { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font: 700 14px/1.3 var(--font-sans); color: var(--w-blue-50); }
.hg a.hg-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.hg-open .ms { font-size: 18px; }

/* 폰 밑 — 시연 단계(지금 단계만 진하게, 폰 화면과 같은 박자) */
.hg-steps { list-style: none; align-self: start; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; }
.hg-steps li { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1.2 var(--font-sans); letter-spacing: -0.01em; color: var(--fg-primary); opacity: 0.42; white-space: nowrap; }
.hg-steps li:last-child { opacity: 1; }
.hg-steps i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--w-cyan-40); color: #fff; font: 800 11px/1 var(--font-sans); font-style: normal; font-feature-settings: "tnum"; }

/* 읽기 도우미 전용 */
.hg-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── 손님 폰 — guide-ai.css "손님 화면 목업"의 사본(실제 손님 화면 css/guide/agent.css C안의 색·배치) ── */
.hg .gv-phone {
  --gv-bg: #fff; --gv-soft: #f4f4f6; --gv-ink: #0b0b0f; --gv-muted: #64646e; --gv-line: #e6e6eb; --gv-line-soft: #f0f0f3;
  --gv-acc: #4f37ff; --gv-green: #12803f;
  position: relative; width: 280px; height: 576px; padding: 10px; border-radius: 46px; background: #0c0d11;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(12, 13, 17, 0.12), 0 34px 64px -20px rgba(12, 13, 17, 0.5);
}
.hg .gv-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: var(--gv-bg); color: var(--gv-ink); font-family: var(--font-sans); isolation: isolate; }
.hg .gv-island { position: absolute; z-index: 9; top: 9px; left: 50%; width: 78px; height: 22px; margin-left: -39px; border-radius: 12px; background: #0c0d11; }
.hg .gv-phone .ms { font-size: 14px; }
.hg .gv-page { position: absolute; inset: 0; padding: 40px 14px 0; }
.hg .gv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.hg .gv-id { min-width: 0; }
.hg .gv-title { font: 800 11px/1.35 var(--font-sans); letter-spacing: -0.01em; }
.hg .gv-brand { display: inline-block; margin-left: 2px; padding: 0 5px; border-radius: 999px; background: var(--gv-soft); color: var(--gv-muted); font: 800 7.5px/1.6 var(--font-sans); vertical-align: 1px; white-space: nowrap; }
.hg .gv-sample { display: inline-block; margin-left: 1px; padding: 0 4px; border: 1px solid var(--gv-acc); border-radius: 999px; color: var(--gv-acc); font: 800 7.5px/1.45 var(--font-sans); vertical-align: 1px; white-space: nowrap; }
.hg .gv-sub { margin-top: 2px; display: flex; align-items: center; gap: 2px; font: 500 9.5px/1.3 var(--font-sans); color: var(--gv-muted); }
.hg .gv-sub .ms { font-size: 11px; }
.hg .gv-tools { display: flex; flex: none; gap: 4px; }
.hg .gv-rb { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gv-line); font: 800 8px/1 var(--font-sans); }
.hg .gv-rb .ms { font-size: 12px; }
.hg .gv-now { margin-top: 12px; display: flex; align-items: center; gap: 5px; font: 700 9.5px/1.3 var(--font-sans); color: var(--gv-green); }
.hg .gv-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.hg .gv-hero { margin-top: 8px; font: 800 27px/1.12 var(--font-sans); letter-spacing: -0.045em; }
.hg .gv-hero-s { margin-top: 6px; font: 500 10px/1.3 var(--font-sans); color: var(--gv-muted); }
.hg .gv-mic { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hg .gv-mic-o { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gv-ink); color: #fff; box-shadow: 0 0 0 8px var(--gv-bg), 0 0 0 9px var(--gv-line); }
.hg .gv-mic-o .ms { font-size: 30px; }
.hg .gv-mic b { font: 800 10.5px/1.2 var(--font-sans); }
.hg .gv-list { margin-top: 14px; }
.hg .gv-row { display: flex; align-items: center; gap: 8px; height: 36px; border-bottom: 1px solid var(--gv-line-soft); }
.hg .gv-ric { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--gv-soft); }
.hg .gv-ric .ms { font-size: 15px; }
.hg .gv-row b { flex: 1; font: 800 11px/1.2 var(--font-sans); }
.hg .gv-row > .ms { color: var(--gv-muted); font-size: 14px; }
.hg .gv-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; gap: 5px; padding-top: 8px; border-top: 1px solid var(--gv-line-soft); background: var(--gv-bg); }
.hg .gv-in { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 3px 0 10px; border-radius: 10px; background: var(--gv-soft); font: 500 9.5px/1 var(--font-sans); color: var(--gv-muted); }
.hg .gv-send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--gv-ink); color: #fff; }
.hg .gv-staff { display: flex; align-items: center; gap: 3px; height: 36px; padding: 0 9px; border-radius: 10px; border: 1px solid var(--gv-line); font: 800 9.5px/1 var(--font-sans); }
.hg .gv-tap { position: absolute; z-index: 5; left: 50%; top: 214px; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95); opacity: 0; }
.hg .gv-live { position: absolute; inset: 0; z-index: 3; padding: 40px 16px 0; background: var(--gv-bg); }
.hg .gv-ltop { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; min-height: 22px; }
.hg .gv-lw { font: 700 8.5px/1.2 var(--font-sans); color: var(--gv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg .gv-pill { display: grid; grid-template-columns: auto auto; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--gv-soft); font: 800 8.5px/1 var(--font-sans); white-space: nowrap; }
.hg .gv-ldot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gv-acc); }
.hg .gv-st { grid-area: 1 / 2; }
.hg .gv-lv { opacity: 0; }
.hg .hg-turn { position: absolute; left: 16px; right: 16px; top: 62px; }
.hg .gv-u { margin-top: 20px; font: 600 11px/1.45 var(--font-sans); color: var(--gv-muted); }
.hg .gv-ai { margin-top: 8px; font: 800 19px/1.38 var(--font-sans); letter-spacing: -0.03em; }
.hg .gv-ai span { display: block; }
.hg .gv-src { margin-top: 10px; font: 700 9.5px/1.3 var(--font-sans); color: var(--gv-muted); }
.hg .gv-src u { color: var(--gv-ink); font-weight: 800; text-decoration-color: var(--gv-acc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hg .gv-wave { position: absolute; left: 20px; right: 20px; bottom: 124px; display: flex; align-items: center; justify-content: space-between; height: 38px; }
.hg .gv-wave i { display: block; width: 4px; height: 100%; border-radius: 2px; background: var(--gv-acc); transform-origin: center; transform: scaleY(calc(0.3 + var(--k, 1) * 0.6)); }
.hg .gv-ctl { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; align-items: flex-start; justify-content: center; gap: 20px; }
.hg .gv-cb { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 8.5px/1 var(--font-sans); }
.hg .gv-cb i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gv-soft); font-style: normal; }
.hg .gv-cb .ms { font-size: 17px; }
.hg .gv-end i { width: 52px; height: 52px; background: var(--gv-ink); color: #fff; }
.hg .gv-end .ms { font-size: 24px; }
/* 기본(움직임 없음) = 첫 문답 장면 */
.hg .hg-turn.t2, .hg .hg-turn.t3 { opacity: 0; }

/* 1) 카메라로 안내판 비추기 — 벽 앞 안내판(화면 속 작은 판) → 노란 모서리가 QR 에 맞물림 → 노란 주소 버튼 누름 */
.hg-scan { position: absolute; inset: 0; z-index: 4; background: #000; color: #fff; opacity: 0; }
.hg-scan-view { position: absolute; left: 0; right: 0; top: 60px; bottom: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #dfe1e5; overflow: hidden; }
.hg-scan-card { width: 150px; padding: 12px 12px 14px; border-radius: 12px; background: #fff; color: #0b0b0f; box-shadow: 0 10px 22px rgba(12, 13, 17, 0.2); transform-origin: 50% 60%; }
.hg-scan-card p { font: 800 11.5px/1.2 var(--font-sans); letter-spacing: -0.03em; }
.hg-scan-card .hg-ln { display: block; }
.hg-scan-qr { position: relative; display: block; width: 96px; height: 96px; margin: 10px auto 0; background: #f1f1f3; }
.hg-scan-qr svg { display: block; width: 100%; height: 100%; }
.hg-scan-brk { position: absolute; inset: -10px; opacity: 0; }
.hg-scan-brk i { position: absolute; width: 22px; height: 22px; border: 2.5px solid #ffd60a; }
.hg-scan-brk i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hg-scan-brk i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hg-scan-brk i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hg-scan-brk i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.hg-scan-pill {
  position: relative; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px;
  border-radius: 7px; background: #ffd60a; color: #000; font: 700 10px/1 var(--font-sans); white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22); opacity: 0;
}
.hg .hg-scan-pill .ms { font-size: 13px; }
.hg-scan-tap { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95); opacity: 0; }
.hg-scan-shutter { position: absolute; left: 50%; bottom: 36px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff; }
.hg-scan-shutter::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }

/* ── 시연 모션 (26초 한 바퀴) — 폰 화면과 단계 표시가 같은 박자다(한쪽 % 를 고치면 나머지도)
   0 찍기 · 1.8 첫 화면 · 3.6 큰 버튼 · 4.2 대화 판 · 4.6 질문1 · 6.0 답1 · 10.6 질문2 · 12.0 답2 · 16.0 질문3 · 17.8 답3 · 24.4 되감기 ── */
.hg-stage .hg-scan { animation: hgm-scan 26s linear infinite both; }
.hg-stage .hg-scan-card { animation: hgm-card 26s cubic-bezier(.3, .6, .3, 1) infinite both; }
.hg-stage .hg-scan-brk { animation: hgm-brk 26s ease-out infinite both; }
.hg-stage .hg-scan-pill { animation: hgm-pill 26s ease infinite both; }
.hg-stage .hg-scan-tap { animation: hgm-ctap 26s ease-out infinite both; }
.hg-stage .gv-page { animation: hgm-page 26s cubic-bezier(.2, .7, .2, 1) infinite both; }
.hg-stage .gv-row { animation: hgm-rise 26s cubic-bezier(.2, .7, .2, 1) infinite both; }
.hg-stage .gv-row:nth-child(2) { animation-delay: .08s; }
.hg-stage .gv-row:nth-child(3) { animation-delay: .16s; }
.hg-stage .gv-mic-o { animation: hgm-press 26s ease infinite both; }
.hg-stage .gv-tap { animation: hgm-tap 26s ease-out infinite both; }
.hg-stage .gv-live { animation: hgm-live 26s cubic-bezier(.2, .7, .2, 1) infinite both; }
.hg-stage .gv-lv { animation: hgm-lv 26s linear infinite both; }
.hg-stage .gv-sp { animation: hgm-sp 26s linear infinite both; }
.hg-stage .gv-ldot { animation: hgm-ldot 26s linear infinite both; }
.hg-stage .gv-wave i { animation: hgm-wave 1s ease-in-out infinite; }
.hg-stage .hg-turn.t1 { animation: hgm-turn1 26s ease infinite both; }
.hg-stage .hg-turn.t2 { animation: hgm-turn2 26s ease infinite both; }
.hg-stage .hg-turn.t3 { animation: hgm-turn3 26s ease infinite both; }
.hg-stage .t1 .gv-u { animation: hgm-u1 26s linear infinite both; }
.hg-stage .t2 .gv-u { animation: hgm-u2 26s linear infinite both; }
.hg-stage .t3 .gv-u { animation: hgm-u3 26s linear infinite both; }
.hg-stage .t1 .gv-ai { animation: hgm-a1 26s linear infinite both; }
.hg-stage .t2 .gv-ai { animation: hgm-a2 26s linear infinite both; }
.hg-stage .t3 .gv-ai { animation: hgm-a3 26s linear infinite both; }
.hg-stage .t1 .gv-src { animation: hgm-s1 26s ease infinite both; }
.hg-stage .t2 .gv-src { animation: hgm-s2 26s ease infinite both; }
.hg-stage .t3 .gv-src { animation: hgm-s3 26s ease infinite both; }
.hg-stage .hg-steps li:nth-child(1) { animation: hgm-step1 26s linear infinite both; }
.hg-stage .hg-steps li:nth-child(2) { animation: hgm-step2 26s linear infinite both; }
.hg-stage .hg-steps li:nth-child(3) { animation: hgm-step3 26s linear infinite both; }
.hg-stage.is-paused, .hg-stage.is-paused * { animation-play-state: paused !important; }

@keyframes hgm-scan { 0%, 6.73% { opacity: 1; } 7.5%, 96.92% { opacity: 0; } 100% { opacity: 1; } }
/* 카메라가 안내판으로 다가감 — 가려진 동안(7.5~96.9%) 처음 크기로 되돌린다 */
@keyframes hgm-card { 0% { transform: scale(0.94); } 6.73%, 50% { transform: scale(1.04); } 50.01%, 100% { transform: scale(0.94); } }
@keyframes hgm-brk { 0%, 1.15% { opacity: 0; transform: scale(1.3); } 2.69% { opacity: 1; transform: scale(0.96); } 3.08%, 6.54% { opacity: 1; transform: none; } 7.12%, 100% { opacity: 0; transform: none; } }
@keyframes hgm-pill { 0%, 2.88% { opacity: 0; transform: translateY(6px); } 3.65%, 4.42% { opacity: 1; transform: none; } 4.62% { opacity: 1; transform: scale(0.94); } 5%, 6.54% { opacity: 1; transform: none; } 7.12%, 100% { opacity: 0; transform: none; } }
@keyframes hgm-ctap { 0%, 4.23% { opacity: 0; transform: scale(0.5); } 4.62% { opacity: 1; transform: scale(1); } 5.58%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes hgm-page { 0%, 6.92% { opacity: 0; transform: translateY(14px); } 8.85%, 93.85% { opacity: 1; transform: none; } 96.15%, 100% { opacity: 0; transform: none; } }
@keyframes hgm-rise { 0%, 7.5% { opacity: 0; transform: translateY(8px); } 9.62%, 100% { opacity: 1; transform: none; } }
@keyframes hgm-press { 0%, 13.85% { transform: none; } 14.62% { transform: scale(0.94); } 15.38%, 100% { transform: none; } }
@keyframes hgm-tap { 0%, 13.65% { opacity: 0; transform: scale(0.5); } 14.42% { opacity: 1; transform: scale(1); } 15.77%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes hgm-live { 0%, 15.77% { opacity: 0; transform: translateY(24px); } 17.31%, 93.85% { opacity: 1; transform: none; } 96.15%, 100% { opacity: 0; transform: none; } }
/* 듣는 중(초록 점) ↔ 말하는 중(인디고 점) — 손님 말 동안만 "듣고 있어요" */
@keyframes hgm-lv { 0%, 15.76% { opacity: 0; } 15.77%, 23.07% { opacity: 1; } 23.08%, 41.91% { opacity: 0; } 41.92%, 46.14% { opacity: 1; } 46.15%, 62.68% { opacity: 0; } 62.69%, 68.45% { opacity: 1; } 68.46%, 100% { opacity: 0; } }
@keyframes hgm-sp { 0%, 15.76% { opacity: 1; } 15.77%, 23.07% { opacity: 0; } 23.08%, 41.91% { opacity: 1; } 41.92%, 46.14% { opacity: 0; } 46.15%, 62.68% { opacity: 1; } 62.69%, 68.45% { opacity: 0; } 68.46%, 100% { opacity: 1; } }
@keyframes hgm-ldot { 0%, 15.76% { background: var(--gv-acc); } 15.77%, 23.07% { background: var(--gv-green); } 23.08%, 41.91% { background: var(--gv-acc); } 41.92%, 46.14% { background: var(--gv-green); } 46.15%, 62.68% { background: var(--gv-acc); } 62.69%, 68.45% { background: var(--gv-green); } 68.46%, 100% { background: var(--gv-acc); } }
@keyframes hgm-wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(calc(0.35 + var(--k, 1) * 0.65)); } }
@keyframes hgm-turn1 { 0%, 40.77% { opacity: 1; transform: none; } 41.92%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes hgm-turn2 { 0%, 41.92% { opacity: 0; transform: translateY(12px); } 42.69%, 61.54% { opacity: 1; transform: none; } 62.69%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes hgm-turn3 { 0%, 62.69% { opacity: 0; transform: translateY(12px); } 63.46%, 100% { opacity: 1; transform: none; } }
@keyframes hgm-u1 { 0%, 17.69% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(12, end); } 22.31%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hgm-u2 { 0%, 42.31% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(8, end); } 45.38%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hgm-u3 { 0%, 63.08% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(11, end); } 67.69%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hgm-a1 { 0%, 23.07% { opacity: 0; clip-path: inset(0 0 100% 0); } 23.08% { opacity: 1; clip-path: inset(0 0 100% 0); animation-timing-function: steps(5, end); } 28.46%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hgm-a2 { 0%, 46.14% { opacity: 0; clip-path: inset(0 0 100% 0); } 46.15% { opacity: 1; clip-path: inset(0 0 100% 0); animation-timing-function: steps(4, end); } 50%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hgm-a3 { 0%, 68.45% { opacity: 0; clip-path: inset(0 0 100% 0); } 68.46% { opacity: 1; clip-path: inset(0 0 100% 0); animation-timing-function: steps(5, end); } 74.62%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hgm-s1 { 0%, 29.23% { opacity: 0; } 30%, 100% { opacity: 1; } }
@keyframes hgm-s2 { 0%, 50.77% { opacity: 0; } 51.54%, 100% { opacity: 1; } }
@keyframes hgm-s3 { 0%, 75.38% { opacity: 0; } 76.15%, 100% { opacity: 1; } }
@keyframes hgm-step1 { 0%, 6.92% { opacity: 1; } 6.93%, 96.14% { opacity: 0.42; } 96.15%, 100% { opacity: 1; } }
@keyframes hgm-step2 { 0%, 6.92% { opacity: 0.42; } 6.93%, 16.15% { opacity: 1; } 16.16%, 100% { opacity: 0.42; } }
@keyframes hgm-step3 { 0%, 16.15% { opacity: 0.42; } 16.16%, 96.14% { opacity: 1; } 96.15%, 100% { opacity: 0.42; } }

@media (prefers-reduced-motion: reduce) {
  .hg-stage, .hg-stage * { animation: none !important; }
}

/* ── 반응형 ── */
/* 좁은 노트북·태블릿 — 글 묶음 위, 판 아래(가운데), 다른 점 넷은 두 열 */
@media (max-width: 1279px) {
  .hg-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hg-head, .hg-facts, .hg-cta, .hg-stage { grid-column: 1; grid-row: auto; }
  .hg-head { max-width: 780px; }
  .hg-h2 .hg-ln { display: inline; } /* 넓은 한 줄에서는 반쪽씩 두 줄 */
  .hg-stage { width: 100%; margin-top: 40px; } /* 판은 글 묶음과 같은 폭 — 안내판·폰은 판 가운데 */
  .hg-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 44px; }
}
@media (max-width: 900px) {
  .hg { --hg-sign-w: 296px; --hg-gap: 28px; }
  .hg-stage { padding: 32px 24px 24px; }
}
/* 폰·태블릿 — 자기 화면의 QR 은 찍을 수 없으니 안내판 안 QR 대신 큰 버튼 */
@media (max-width: 960px) {
  .hg-post-qr, .hg-post-hint { display: none; }
  .hg .hg-post a.hg-post-go { display: flex; }
  .hg-post { align-self: center; }
  .hg-try b, .hg .hg-try a.hg-open { display: none; } /* 안내판 안 큰 버튼이 같은 일을 한다 */
}
/* 폰 — 폰 시연 → 단계 → 안내판(버튼) 순서로 한 줄 */
@media (max-width: 719px) {
  .hg-stage { padding: 28px 16px 22px; border-radius: 22px; margin-top: 32px; }
  .hg-stage-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 16px; }
  .hg .gv-phone { order: 1; }
  .hg-steps { order: 2; }
  .hg-post { order: 3; width: 100%; max-width: 340px; margin-top: 8px; }
  .hg-try { order: 4; width: 100%; max-width: 340px; text-align: center; }
  .hg-facts { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .hg-cta .btn { flex: 1 1 auto; }
}
/* 아주 좁은 폰(≤359) — 폰 목업(280)이 판 안에 들어가게 판을 양옆 여백까지 넓힌다 */
@media (max-width: 359px) {
  .hg-stage { margin-left: -12px; margin-right: -12px; padding-left: 8px; padding-right: 8px; }
}
/* 좁은 폰 — 긴 언어(스페인어·베트남어)의 큰 버튼 글자가 화면 밖으로 나가지 않게 두 줄까지 접는다(구역 버튼 + 마무리 버튼) */
@media (max-width: 560px) {
  .hg-cta .btn, .closer-cta .btn { white-space: normal; height: auto; min-height: 56px; padding-top: 12px; padding-bottom: 12px; line-height: 1.3; text-align: center; }
}
