/* 2026-10-08 content renewal: styles for sections added on top of the Peachworlds export.
   New blocks sit in normal flow between existing sections; ids of the original markup are untouched. */

:root {
  --g-ink: #0b0b10;
  --g-ink-2: #4a4a57;
  --g-ink-3: #7a7a88;
  --g-line: rgba(11, 11, 16, 0.1);
  --g-card: #f4f4f7;
  --g-accent: #5b3df5;
  --g-accent-2: #8b5cff;
  --g-glow: #f7b0ff;
  --g-dark: #101010;
  --g-font: 'Pretendard', 'Inter', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

.g-hide { display: none !important; }
.g-anchor { display: block; position: relative; top: -96px; height: 0; }

/* ---------- shared section scaffolding ---------- */
.g-sections { position: relative; z-index: 5; background: #fff; width: 100%; font-family: var(--g-font); word-break: keep-all; overflow-wrap: anywhere; }
.g-sec { box-sizing: border-box; width: 100%; max-width: 1248px; margin: 0 auto; padding: 160px 24px 0; color: var(--g-ink); }
.g-label {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--g-font) !important; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-ink-3);
}
.g-label::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-h2 {
  margin: 22px 0 0; font-family: var(--g-font) !important; font-weight: 500;
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.2; letter-spacing: -0.035em; color: inherit;
}
.g-h2 em, .g-statement em { font-style: normal; color: var(--g-accent); }
.g-lead { margin: 28px 0 0; font-family: var(--g-font) !important; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.8; color: var(--g-ink-2); max-width: 760px; }
.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 8px; }
.g-two .g-lead { max-width: none; }
.g-statement {
  margin: 64px 0 0; padding-top: 32px; border-top: 1px solid var(--g-line);
  font-family: var(--g-font) !important; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.6; letter-spacing: -0.02em; color: var(--g-ink-2);
}
.g-statement strong { color: var(--g-ink); font-weight: 600; }
.g-num { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--g-accent); }
.g-card-title { margin: 14px 0 0; font-family: var(--g-font) !important; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
.g-card-lead { margin: 10px 0 0; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--g-ink); }
.g-card-text { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: var(--g-ink-2); }

/* ---------- HERO ---------- */
.g-hero-sub {
  margin: 14px 0 0; max-width: 680px; font-family: var(--g-font) !important;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.82);
}
.g-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; box-sizing: border-box;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; text-decoration: none;
  font-family: var(--g-font); font-size: 16px; white-space: nowrap; background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s ease, border-color .2s ease;
}
.g-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.g-btn-arrow { width: 14px; height: 14px; filter: invert(1); }
#ico91 { flex-wrap: wrap; column-gap: 16px; row-gap: 16px; }
#g-hero-btn2 { position: relative; top: -10px; left: 10px; height: 56px; }
#ifmw9a7 { text-transform: none !important; }

/* ---------- ABOUT: tagline + WHY panel + belief ---------- */
#iiz3y-3-2-2-2-3-2, #iiz3y-3-3-2 { line-height: 1.75 !important; max-width: 820px; }
#iiz3y-3-3-2 .ganeum-steps { display: block; margin-top: 20px; font-weight: 600; color: #5b3df5; }
#iiz3y-3-3-2 .ganeum-name { display: block; margin-bottom: 4px; font-size: 0.72em; font-weight: 700; letter-spacing: 0.14em; color: #8a7bd8; }

/* intro Q&A: 가늠자는 무엇을 하는 회사인가요? */
#g-intro.g-intro { box-sizing: border-box; width: calc(100% - 48px); max-width: 880px; margin: 8px auto 0; padding: 44px 52px; border-radius: 24px; background: var(--g-card); color: var(--g-ink); font-family: var(--g-font); text-align: left; }
.g-intro-q { margin: 0 0 22px; font-family: var(--g-font) !important; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; color: var(--g-ink); }
.g-intro-q::before { content: "Q."; margin-right: 10px; color: var(--g-accent); }
.g-intro-a { margin: 0 0 14px; font-family: var(--g-font) !important; font-size: 17px; line-height: 1.75; color: var(--g-ink-2); word-break: keep-all; }
.g-intro-a:last-child { margin-bottom: 0; }
.g-intro-a strong { font-weight: 700; color: var(--g-ink); }
.g-intro-a em { font-style: normal; font-weight: 600; color: var(--g-accent); }
@media (max-width: 767px) {
  #g-intro.g-intro { width: 90vw; max-width: 90vw; padding: 28px 22px; border-radius: 24px; }
  .g-intro-q { margin-bottom: 16px; }
  .g-intro-a { font-size: 15px; line-height: 1.7; }
}
main.g-main { display: contents; }
.g-intro-more { display: inline-block; margin-top: 18px; font-family: var(--g-font) !important; font-size: 15px; font-weight: 600; color: var(--g-accent); text-decoration: none; }
.g-intro-more:hover, .g-intro-more:focus-visible { text-decoration: underline; }
#ijl82-2-3.g-why-panel { visibility: visible !important; height: auto !important; align-items: stretch; margin-top: 40px; }
.g-why {
  box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  padding: 72px 64px; color: #fff; font-family: var(--g-font); word-break: keep-all;
  background: radial-gradient(120% 120% at 100% 0%, rgba(139, 92, 255, 0.28) 0%, rgba(16, 16, 16, 0) 55%);
}
.g-why .g-label { color: rgba(255, 255, 255, 0.6); }
.g-why-title { margin: 22px 0 0; font-family: var(--g-font) !important; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.3; letter-spacing: -0.03em; color: #fff; }
.g-why-text { margin: 22px 0 0; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.72); }
.g-why-q { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.g-why-q li {
  padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  font-size: 16px; color: #fff;
}
.g-why-q li::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--g-glow), var(--g-accent-2)); color: #0a0810; font-size: 12px; font-weight: 800; }
.g-why-answer { align-self: end; }
.g-why-big { margin: 0; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.4; letter-spacing: -0.03em; font-weight: 500; color: #fff; }

#ijl82-2-2.g-belief-slot { visibility: visible !important; align-items: center; margin-top: 72px; }
.g-belief { width: 100%; text-align: center; font-family: var(--g-font); }
.g-belief-text { margin: 0; font-family: var(--g-font) !important; font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.4; color: var(--g-ink); }
.g-belief-text em { font-style: normal; color: var(--g-accent); }

/* ---------- VISION ---------- */
.g-vision .g-two { margin-top: 12px; }
.g-vision-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.g-vision-list li { position: relative; padding: 18px 20px 18px 52px; border-radius: 14px; background: var(--g-card); font-size: 16px; line-height: 1.6; color: var(--g-ink); }
.g-vision-list li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--g-glow), var(--g-accent)); }

/* ---------- PHILOSOPHY ---------- */
.g-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.g-principle { padding: 36px 36px 40px; border-radius: 20px; background: var(--g-card); }

/* ---------- WHAT WE DO ---------- */
.g-data { position: relative; margin-top: 28px; padding: 32px; border-radius: 20px; background: var(--g-dark); color: #fff; overflow: hidden; }
.g-data::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(139, 92, 255, 0.45), transparent); pointer-events: none; }
.g-data-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.g-tag { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.g-data-flow { height: 56px; display: grid; place-items: center; }
.g-data-flow span { width: 1px; height: 100%; background: linear-gradient(rgba(255, 255, 255, 0), var(--g-glow)); }
.g-data-out { position: relative; z-index: 1; margin: 0; font-family: var(--g-font) !important; font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -0.03em; }

/* ---------- DECISION INTELLIGENCE ---------- */
.g-di { padding-bottom: calc(350px + 120px); } /* #ijl82-3-3 below is pulled up by top:-350px */
.g-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.g-step { position: relative; padding: 28px 24px 30px; border-radius: 18px; background: var(--g-card); }
.g-step-no { display: block; font-size: 12px; font-weight: 700; color: var(--g-ink-3); letter-spacing: 0.1em; }
.g-step-en { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--g-accent); }
.g-step-ko { display: block; margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.g-step-text { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: var(--g-ink-2); }
.g-step-decide { grid-column: span 2; background: var(--g-dark); color: #fff; overflow: hidden; }
.g-step-decide::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 176, 255, 0.55), transparent); }
.g-step-decide .g-step-en { color: var(--g-glow); }
.g-step-decide .g-step-text, .g-step-decide .g-step-no { color: rgba(255, 255, 255, 0.72); }
.g-note { margin: 28px 0 0; font-size: 16px; line-height: 1.7; color: var(--g-ink-2); }
.g-note strong { color: var(--g-ink); }

/* the 3D canvas turns dark at a fixed distance below its anchors; the inserted white-zone
   sections (and the AI/People cards after them) carry their own white backdrop, fading out into the chat scene */
#ijl82-3-3 { background-color: #fff !important; z-index: 5 !important; padding-bottom: 80px; }
#ijl82-3-3::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 320px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); pointer-events: none; }
#g-sections-2 { background: transparent; }

/* ---------- card visuals replacing third-party screenshots ---------- */
.g-viz { width: 100%; height: 100%; box-sizing: border-box; font-family: var(--g-font); }
.g-viz-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 12px; }
.g-viz-flow span { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(91, 61, 245, 0.18); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--g-accent); box-shadow: 0 6px 18px rgba(91, 61, 245, 0.08); }
.g-viz-flow i { width: 14px; height: 1px; background: rgba(91, 61, 245, 0.4); }
.g-viz-decide { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.g-viz-decide span { padding: 14px 20px; border-radius: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.g-viz-ai { background: #fff; color: var(--g-ink-2); border: 1px solid var(--g-line); }
.g-viz-decide i { width: 36px; height: 1px; background: var(--g-ink-3); }
.g-viz-human { background: var(--g-dark); color: #fff; box-shadow: 0 10px 30px rgba(91, 61, 245, 0.25); }

.g-viz-svc { position: relative; min-height: 260px; display: grid; place-items: center; color: #fff; overflow: hidden; }
.g-viz-naeil .g-orbit { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 28px; gap: 12px; }
.g-viz-naeil .g-orbit span { align-self: start; justify-self: start; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.g-viz-naeil .g-orbit span:nth-child(2n) { justify-self: end; }
.g-viz-naeil .g-orbit span:nth-child(n+3) { align-self: end; }
.g-viz-naeil .g-core { position: relative; display: flex; gap: 0; border-radius: 999px; overflow: hidden; box-shadow: 0 0 60px rgba(139, 92, 255, 0.45); }
.g-viz-naeil .g-core b { padding: 16px 26px; font-size: 16px; font-weight: 600; }
.g-viz-naeil .g-core b:first-child { background: linear-gradient(135deg, var(--g-glow), var(--g-accent-2)); color: #0a0810; }
.g-viz-naeil .g-core b:last-child { background: #1d1d22; color: #fff; }
.g-viz-panse svg { position: absolute; left: 6%; right: 6%; top: 18%; width: 88%; height: 52%; }
.g-chips { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }
.g-chips span { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.85); }
.g-viz-ajari .g-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.g-pin { position: relative; width: 26px; height: 26px; margin-top: -40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--g-glow), var(--g-accent-2)); box-shadow: 0 0 0 14px rgba(139, 92, 255, 0.18), 0 0 0 30px rgba(139, 92, 255, 0.08); }

/* service text: name + link */
.g-svc-name { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; color: var(--g-accent); }
.g-svc-link { display: table; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--g-ink); font-weight: 600; text-decoration: none; }
.g-svc-link:hover { color: var(--g-accent); }
#i6x28p, #iiz3y-3-2-2-3-2-2-2, #iiz3y-3-2-2-3-2-4 { line-height: 1.75 !important; }
#i3krdj, #i3krdj-3, #i3krdj-3-2 { height: auto !important; min-height: 400px; }
#ico91-3-2.g-svc-head { flex-direction: column; align-items: flex-start; }
.g-svc-intro { margin-top: 24px; }

/* ---------- ONE GANEUM ---------- */
.g-inline-label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--g-accent); }
.g-quote { display: block; margin: 18px 0; font-size: 1.25em; font-weight: 600; color: var(--g-ink); }
#iiz3y-3-2-2-3-2-3 { line-height: 1.8 !important; max-width: 820px; }
#i3krdj-2-2-2-4.g-one-panel { background: var(--g-dark); border-radius: 24px; }
.g-one { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 64px 24px; font-family: var(--g-font); color: #fff;
  background: radial-gradient(60% 70% at 50% 50%, rgba(139, 92, 255, 0.3), transparent 70%); }
.g-one-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.g-one-row span { padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 16px; }
.g-one-line { width: 1px; height: 44px; background: linear-gradient(rgba(255, 255, 255, 0.1), var(--g-glow)); }
.g-one-engine { padding: 20px 36px; border-radius: 16px; background: linear-gradient(135deg, var(--g-glow), var(--g-accent-2)); color: #0a0810; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; box-shadow: 0 0 80px rgba(139, 92, 255, 0.55); }
.g-one-platform { padding: 14px 26px; border-radius: 12px; border: 1px solid rgba(247, 176, 255, 0.6); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.g-one-next { margin-top: 20px; }
.g-one-next span { font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); border-style: dashed; }

/* ---------- DIFFERENCE ---------- */
.g-difference { padding-top: 200px; padding-bottom: 40px; }
.g-diffs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.g-diff { grid-column: span 2; padding: 32px 28px 36px; border-radius: 20px; background: var(--g-card); }
.g-diff:nth-child(4), .g-diff:nth-child(5) { grid-column: span 3; }

/* ---------- FUTURE (former testimonials slot, dark zone) ---------- */
#i8jsjl-2-2-2, #ijl82-3-2-2 { visibility: visible !important; }
#i8jsjl-2-2-2 { width: 100%; }
.g-future { width: 100%; color: #fff; font-family: var(--g-font); word-break: keep-all; }
.g-future .g-label, .g-promise-head .g-label { color: rgba(255, 255, 255, 0.6); }
.g-future .g-lead, .g-promise-head .g-lead { color: rgba(255, 255, 255, 0.72); }
.g-sad { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 20px; margin-top: 24px; font-size: clamp(40px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; }
.g-sad span { color: rgba(255, 255, 255, 0.35); }
.g-sad i { font-style: normal; color: rgba(255, 255, 255, 0.35); }
.g-sad .g-sad-now { background: linear-gradient(90deg, var(--g-glow), var(--g-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-future-statement { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: clamp(20px, 2vw, 28px); line-height: 1.6; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.85); }
.g-future-statement em, .g-promise-head .g-h2 em, .g-promise-text em { font-style: normal; color: var(--g-glow); }

/* ---------- PROMISE ---------- */
.g-promise-head { width: 100%; max-width: 1200px; margin-top: 200px; color: #fff; font-family: var(--g-font); word-break: keep-all; }
#i8jsjl-2-3 { margin-top: 48px !important; }
#ijl82-3-2-2 { padding-top: 120px; }
.g-promise-close { width: 100%; max-width: 1200px; margin: 0 auto; text-align: center; font-family: var(--g-font); }
.g-promise-text { margin: 0; font-size: clamp(24px, 3vw, 44px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.4; color: #fff; }

/* ---------- CTA ---------- */
.g-cta { row-gap: 20px; }
.g-cta-text { margin: 4px 0 4px; max-width: 520px; font-family: var(--g-font) !important; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.72); word-break: keep-all; }
#ico91-4 > .g-btn-ghost { margin-top: -8px; }

/* ---------- FOOTER ---------- */
.g-footer-brand { width: 100%; max-width: 1600px; box-sizing: border-box; padding: 18px 0 4px; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-family: var(--g-font); }
.g-footer-nav { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 6px; }
.g-footer-nav a { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.g-footer-nav a:hover, .g-footer-nav a:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 767px) { .g-footer-nav { justify-content: center; gap: 2px 16px; } }
.g-footer-line, .g-footer-copy { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.g-footer-line b { color: #fff; font-weight: 700; letter-spacing: 0.08em; margin-right: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 992px) {
  #g-hero-btn2 { top: revert; left: 20px; height: 46px; }
  .g-two { grid-template-columns: 1fr; gap: 0; }
  .g-why { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px; }
  .g-steps { grid-template-columns: repeat(2, 1fr); }
  .g-step-decide { grid-column: span 2; }
  .g-diffs { grid-template-columns: 1fr 1fr; }
  .g-diff, .g-diff:nth-child(4), .g-diff:nth-child(5) { grid-column: auto; }
  .g-diff:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 767px) {
  .g-di { padding-bottom: calc(30dvh + 80px); } /* mobile: #ijl82-3-3 uses top:-30dvh */
}
@media (max-width: 480px) {
  #g-hero-btn2 { left: revert; height: 46px; }
}
@media (max-width: 640px) {
  .g-sec { padding-top: 110px; padding-left: 20px; padding-right: 20px; }
  .g-difference { padding-top: 140px; }
  .g-principles, .g-steps, .g-diffs { grid-template-columns: 1fr; }
  .g-step-decide, .g-diff:nth-child(5) { grid-column: auto; }
  .g-principle, .g-diff { padding: 28px 24px 30px; }
  .g-why { padding: 36px 22px; }
  .g-btn-ghost { height: 44px; padding: 0 18px; font-size: 15px; }
  .g-footer-brand { flex-direction: column; text-align: center; align-items: center; }
  .g-promise-head { margin-top: 120px; }
  .g-viz-flow span { padding: 7px 10px; font-size: 11px; }
}
/* mobile CTA: the export pins the footer over the bottom of this block, so keep it short there */
@media (max-width: 640px) {
  .g-cta-text { display: none; }
  .g-footer-brand .g-footer-line + .g-footer-line { display: none; }
  .g-footer-brand { padding-top: 10px; margin-top: 10px; }
}

/* ===== alignment pass (2026-10-08) ===== */
/* AI / People cards: identical visual boxes, text columns start at the same height */
#i8jsjl-2 { align-items: stretch !important; }
#i3krdj-4, #i3krdj-4-3 { flex: 1 1 0; }
#ih46pn-4, #ih46pn-4-2 { height: 240px !important; padding: 24px !important; box-sizing: border-box; align-items: center; justify-content: center; }
#ih46pn-4 .g-viz, #ih46pn-4-2 .g-viz { height: auto; }
#i3krdj-2-4, #i3krdj-2-4-3 { padding: 28px 0 0 !important; justify-content: flex-start !important; }
#i83zh8-3, #i83zh8-3-3, #i83zh8-2-2, #i83zh8-2-2-2 { max-width: 520px !important; }

/* Services: same text column width/gutter on every row */
#i3krdj-2, #i3krdj-2-3-4 { padding: 0 56px 0 0 !important; align-items: flex-start !important; justify-content: center !important; }
#i3krdj-2-3-2-2 { padding: 0 0 0 56px !important; align-items: flex-start !important; justify-content: center !important; }
#iq2i9n, #iq2i9n-2-2-2, #iq2i9n-2-4 { width: 100%; }
#i83zh8, #i83zh8-2 { max-width: none !important; width: 100%; }
#i6x28p, #iiz3y-3-2-2-3-2-2-2, #iiz3y-3-2-2-3-2-4 { width: 100% !important; max-width: 520px !important; }

/* Section headers centred, matching ABOUT and the closing statements */
.g-sec > .g-label, .g-future > .g-label, .g-promise-head > .g-label { justify-content: center; }
.g-sec > .g-label::after, .g-future > .g-label::after, .g-promise-head > .g-label::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-sec > .g-h2, .g-promise-head > .g-h2 { text-align: center; }
.g-sec > .g-lead, .g-promise-head > .g-lead { text-align: center; margin-left: auto; margin-right: auto; }
.g-statement, .g-note, .g-future-statement { text-align: center; }
.g-sad { justify-content: center; }

#ijp7h-3-2 { align-items: center !important; width: 100%; }
#ico91-3-2.g-svc-head { align-items: center !important; text-align: center; width: 100%; }
#ico91-3-2 .g-label { justify-content: center; }
#ico91-3-2 .g-label::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.g-svc-intro { margin-left: auto; margin-right: auto; }

#i3krdj-2-3-3, #iq2i9n-2-3, #ihlqjb-2-3 { align-items: center !important; text-align: center; width: 100%; }
#iiz3y-3-2-2-3-2-3 { margin-left: auto; margin-right: auto; }

@media (max-width: 992px) {
  #i3krdj-2, #i3krdj-2-3-4, #i3krdj-2-3-2-2 { padding: 0 !important; }
  #ih46pn-4, #ih46pn-4-2 { height: 220px !important; }
}
#iiz3y-3-2, #iiz3y-3-2-2-3-4 { text-align: center !important; width: 100%; }
#iiz3y-3-2-2-3-4 .g-inline-label { text-align: center; }
/* Promise cards: same top edge, centred like their header */
#i8jsjl-2-3 { align-items: stretch !important; width: 100%; gap: 20px !important; }
#i3krdj-4-4, #i3krdj-4-3-3, #i3krdj-4-3-2-2 { flex: 1 1 0; width: auto !important; height: auto !important; }
#i3krdj-2-4-4, #i3krdj-2-4-3-4, #i3krdj-2-4-3-2-3,
#iq2i9n-3-4, #iq2i9n-3-3-4, #iq2i9n-3-3-2-3 { width: 100%; justify-content: flex-start !important; align-items: center !important; text-align: center; padding: 0 !important; }
#ihlqjb-3-4-2, #ihlqjb-3-3-4, #ihlqjb-3-3-2-3 { align-items: center !important; }
#i6x28p-2-3, #i6x28p-2-2-4, #i6x28p-2-2-3-2 { line-height: 1.7 !important; max-width: 320px; margin: 8px auto 0; }
@media (max-width: 992px) { #i8jsjl-2-3 { gap: 40px !important; } }
#iiz3y-3-2-2-2-3-3, #iiz3y-3-2-2-2-2-3, #iiz3y-3-2-2-2-2-2-3 { text-align: center !important; width: 100%; }

/* ===== mobile header: language switcher sized and spaced like the menu button (36px, top 20px) ===== */
@media (max-width: 480px) {
  #lang-switcher {
    top: calc(20px + env(safe-area-inset-top)) !important; right: 70px !important; bottom: auto !important;
    height: 36px; padding: 3px; gap: 0; box-sizing: border-box; box-shadow: none;
  }
  #lang-switcher .lang-btn { min-width: 34px !important; min-height: 0 !important; height: 28px; padding: 0 9px !important; font-size: 11px; line-height: 28px; }
  #lang-switcher .lang-sep { height: 12px; }
}
/* #ijl82 is shifted up by top:-50dvh, leaving a 50dvh void (+ the 75px #ih46pn spacer) before the
   inserted sections — dark on mobile. Close it. */
#g-sections-1 { margin-top: calc(-50dvh - 75px); }
#ico91-3-2 .g-label { margin-bottom: 18px; }

/* ===== mobile spacing pass ===== */
br.g-m { display: none; }
@media (max-width: 640px) {
  br.g-m { display: inline; }
  .g-promise-text { font-size: 22px; line-height: 1.5; padding: 0 8px; }
  .g-promise-close { padding: 0 20px; box-sizing: border-box; }

  .g-sec { padding-top: 72px; }
  .g-difference { padding-top: 72px; padding-bottom: 24px; }
  .g-di { padding-bottom: calc(30dvh + 32px); }
  .g-statement { margin-top: 40px; padding-top: 24px; }
  .g-principles, .g-steps, .g-diffs { margin-top: 32px; }
  #ijl82-2-2.g-belief-slot { margin-top: 40px; }
  #ijl82-2-3.g-why-panel { margin-top: 24px; }
  #ijl82-3 { padding-top: 4dvh !important; }              /* after the chat scene, before SERVICES */
  #ijp7h-3-2 { margin-bottom: 24px !important; }
  #ijl82-3-4 { padding-top: 72px !important; }            /* ONE GANEUM */
  #ijl82-3-2 { margin-top: 24px !important; padding-top: 72px !important; padding-bottom: 40px !important; }
  #i8jsjl-2-2-2 { gap: 32px !important; }
  .g-future-statement { margin-top: 32px; }
  .g-promise-head { margin-top: 72px; }
  #i8jsjl-2-3 { margin-top: 32px !important; gap: 32px !important; }
  #ijl82-3-2-2 { padding-top: 48px !important; }
}
@media (max-width: 640px) {
  .g-label { font-size: 11px; letter-spacing: 0.08em; gap: 10px; text-align: center; }
  .g-label::before, .g-sec > .g-label::after, .g-future > .g-label::after, .g-promise-head > .g-label::after, #ico91-3-2 .g-label::after { width: 18px !important; }
  .g-why .g-label, .g-why .g-label::before { text-align: left; }
}
/* stacked (column) layout: flex-basis 0 collapsed the promise cards to 0px height */
@media (max-width: 992px) {
  #i3krdj-4-4, #i3krdj-4-3-3, #i3krdj-4-3-2-2 { flex: 0 0 auto; overflow: visible !important; }
}
/* VISION: list on the left, intro paragraph on the right (desktop only; mobile keeps reading order) */
@media (min-width: 993px) {
  .g-vision .g-two > .g-vision-list { order: 1; margin-top: 28px; }
  .g-vision .g-two > .g-lead { order: 2; }
}
/* WHAT WE DO: data visual on the left, copy on the right (desktop only) */
@media (min-width: 993px) {
  .g-whatwedo .g-two > .g-data { order: 1; }
  .g-whatwedo .g-two > div:not(.g-data) { order: 2; }
}

/* ===== scroll feedback ===== */
#g-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2147483001; pointer-events: none; background: rgba(255, 255, 255, 0.08); }
#g-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--g-glow), var(--g-accent-2)); box-shadow: 0 0 10px rgba(139, 92, 255, 0.6); }

#g-scroll-cue {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 2147483000; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--g-font); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.85);
  transition: opacity .4s ease, transform .4s ease;
}
#g-scroll-cue.is-hidden { opacity: 0; transform: translate(-50%, 10px); }
html[data-lang="ko"] #g-scroll-cue .g-cue-text::before { content: "아래로 스크롤"; }
html[data-lang="en"] #g-scroll-cue .g-cue-text::before { content: "Scroll down"; }
#g-scroll-cue .g-cue-arrow {
  width: 26px; height: 40px; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 14px; position: relative;
}
#g-scroll-cue .g-cue-arrow::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: linear-gradient(var(--g-glow), var(--g-accent-2)); animation: g-cue 1.6s ease-in-out infinite;
}
@keyframes g-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
/* the hero copy sits at the bottom on mobile; keep the cue clear of the buttons */
@media (max-width: 640px) {
  #g-scroll-cue { bottom: calc(10px + env(safe-area-inset-bottom)); font-size: 11px; }
  #g-scroll-cue .g-cue-arrow { width: 22px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { #g-scroll-cue .g-cue-arrow::after { animation: none; } }
@media (max-width: 640px) { #g-progress { height: 4px; } }

/* ===== main page header menu (회사소개 · 서비스 ▾ · 찾아오는 길) ===== */
#irlfg-4-3 > :not(.g-nav), #irlfg-2-2-3 > :not(.g-mnav) { display: none !important; }
#irlfg-4-3 { justify-content: flex-end !important; align-items: center !important; padding-right: 40px; overflow: visible !important; }
#irod2, #irod2-4 { overflow: visible !important; }
.g-mnav.g-mnav-main { display: grid !important; position: static; inset: auto; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; width: 100%; }
#irlfg-2-2-3 { width: 100%; }

/* scroll cue: a dark glass pill so it reads on the white sections too */
#g-scroll-cue { padding: 10px 14px 12px; border-radius: 18px; background: rgba(10, 8, 16, 0.62); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
@media (max-width: 640px) {
  #g-scroll-cue { bottom: calc(16px + env(safe-area-inset-bottom)); padding: 8px 12px 10px; font-size: 12px; }
}
#g-scroll-cue .g-cue-text::before { content: "아래로 스크롤"; }
html[data-lang="en"] #g-scroll-cue .g-cue-text::before { content: "Scroll down"; }

/* ===== WHAT WE DO data box: tags light up one by one, a light drop falls down the line,
   and the conclusion catches the light (runs only while the box is on screen: .is-live) ===== */
.g-data { isolation: isolate; }
.g-data::after { transition: opacity .6s ease; }
.g-data.is-live::after { animation: g-data-glow 3.6s ease-in-out infinite; }
@keyframes g-data-glow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

.g-tag { position: relative; transition: color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease; }
.g-data.is-live .g-tag { animation: g-tag-pulse 3.6s ease-in-out infinite; }
.g-data.is-live .g-tag:nth-child(1) { animation-delay: 0s; }
.g-data.is-live .g-tag:nth-child(2) { animation-delay: .4s; }
.g-data.is-live .g-tag:nth-child(3) { animation-delay: .8s; }
.g-data.is-live .g-tag:nth-child(4) { animation-delay: 1.2s; }
.g-data.is-live .g-tag:nth-child(5) { animation-delay: 1.6s; }
.g-data.is-live .g-tag:nth-child(6) { animation-delay: 2s; }
.g-data.is-live .g-tag:nth-child(7) { animation-delay: 2.4s; }
.g-data.is-live .g-tag:nth-child(8) { animation-delay: 2.8s; }
.g-data.is-live .g-tag:nth-child(9) { animation-delay: 3.2s; }
@keyframes g-tag-pulse {
  0%, 30%, 100% { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.18); background: transparent; box-shadow: none; transform: none; }
  10% { color: #fff; border-color: var(--g-glow); background: rgba(139, 92, 255, 0.28); box-shadow: 0 0 18px rgba(247, 176, 255, 0.55), inset 0 0 10px rgba(247, 176, 255, 0.25); transform: translateY(-2px); }
}

.g-data-flow { height: 84px; position: relative; }
.g-data-flow span { position: relative; width: 2px; height: 100%; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.g-data-flow span::after {
  content: ""; position: absolute; left: 0; right: 0; top: -45%; height: 45%; border-radius: 2px;
  background: linear-gradient(rgba(247, 176, 255, 0), var(--g-glow) 70%, #fff);
  box-shadow: 0 0 10px var(--g-glow);
}
.g-data.is-live .g-data-flow span::after { animation: g-drop 1.2s cubic-bezier(.55, 0, .75, .4) infinite; }
@keyframes g-drop { 0% { top: -45%; opacity: 0; } 15% { opacity: 1; } 100% { top: 100%; opacity: 1; } }
/* splash where the drop lands */
.g-data-flow::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--g-glow); box-shadow: 0 0 14px 4px rgba(247, 176, 255, 0.7); opacity: 0; transform: scale(.4);
}
.g-data.is-live .g-data-flow::after { animation: g-splash 1.2s ease-out infinite; }
@keyframes g-splash { 0%, 80% { opacity: 0; transform: scale(.4); } 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }

.g-data-out {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--g-glow) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g-data.is-live .g-data-out { animation: g-sheen 2.4s ease-in-out infinite; }
@keyframes g-sheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }

@media (prefers-reduced-motion: reduce) {
  .g-data.is-live .g-tag, .g-data.is-live .g-data-flow span::after, .g-data.is-live .g-data-flow::after, .g-data.is-live .g-data-out, .g-data.is-live::after { animation: none !important; }
  .g-data-flow span { background: linear-gradient(rgba(255, 255, 255, 0.12), var(--g-glow)); }
}

/* ===== data box v2: diagonal drop into a wobbling purple orb (bottom-right) =====
   renewal.js sets --x0/--y0 (start under the tags), --len and --ang (towards the orb centre). */
.g-data { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 120px; }
.g-data::after { display: none; }                           /* replaced by the orb */
.g-data-tags, .g-data-out { position: relative; z-index: 2; }
.g-data-out { max-width: 60%; }
.g-data-flow { position: absolute; inset: 0; height: auto; display: block; z-index: 1; pointer-events: none; }
.g-data-flow span {
  position: absolute; left: var(--x0, 50%); top: var(--y0, 120px); width: 2px; height: var(--len, 0px); margin-left: -1px;
  transform-origin: 50% 0; transform: rotate(var(--ang, 0deg));
  background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.16));
}
.g-data.is-live .g-data-flow span::after { animation: g-drop2 1.8s cubic-bezier(.5, 0, .8, .45) infinite; }
@keyframes g-drop2 { 0% { top: -45%; opacity: 0; } 8% { opacity: 1; } 50% { top: 100%; opacity: 1; } 51%, 100% { top: 100%; opacity: 0; } }

/* the orb */
.g-data-flow::after {
  content: ""; position: absolute; left: var(--x1, 85%); top: var(--y1, 80%); width: var(--orb, 150px); height: var(--orb, 150px);
  margin: calc(var(--orb, 150px) / -2) 0 0 calc(var(--orb, 150px) / -2); bottom: auto; opacity: 1; transform: none;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255, 220, 255, 0.95) 0%, rgba(247, 176, 255, 0.85) 18%, rgba(139, 92, 255, 0.75) 48%, rgba(91, 61, 245, 0.25) 72%, rgba(91, 61, 245, 0) 100%);
  box-shadow: 0 0 60px 10px rgba(139, 92, 255, 0.45);
  filter: blur(0.3px);
}
/* ripple ring */
.g-data-flow::before {
  content: ""; position: absolute; left: var(--x1, 85%); top: var(--y1, 80%); width: var(--orb, 150px); height: var(--orb, 150px);
  margin: calc(var(--orb, 150px) / -2) 0 0 calc(var(--orb, 150px) / -2); border-radius: 50%;
  border: 2px solid rgba(247, 176, 255, 0.7); opacity: 0; transform: scale(.6);
}
.g-data.is-live .g-data-flow::after { animation: g-orb-wobble 4.2s ease-in-out infinite, g-orb-bump 1.8s ease-out infinite; }
.g-data.is-live .g-data-flow::before { animation: g-orb-ripple 1.8s ease-out infinite; }
@keyframes g-orb-wobble {
  0%, 100% { border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; }
  25% { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; }
  50% { border-radius: 48% 52% 58% 42% / 56% 44% 56% 44%; }
  75% { border-radius: 56% 44% 48% 52% / 44% 52% 48% 56%; }
}
@keyframes g-orb-bump { 0%, 48% { scale: 1; } 56% { scale: 1.12; } 70% { scale: .97; } 82%, 100% { scale: 1; } }
@keyframes g-orb-ripple { 0%, 49% { opacity: 0; transform: scale(.6); } 52% { opacity: .9; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.9); } }

@media (max-width: 640px) {
  .g-data { min-height: 360px; gap: 150px; }
  .g-data-out { max-width: 70%; }
}
@media (prefers-reduced-motion: reduce) {
  .g-data.is-live .g-data-flow::after, .g-data.is-live .g-data-flow::before { animation: none !important; }
  .g-data-flow span { background: linear-gradient(rgba(255, 255, 255, 0.08), var(--g-glow)); }
}

/* ===== data box v3: the orb is the main page's own 3D sphere (assets/sphere-orb.webp, a clean frame
   of the scene). Its black background disappears with mix-blend-mode: screen on the dark box. ===== */
.g-data-flow::after {
  width: var(--img, 240px); height: var(--img, 240px); margin: calc(var(--img, 240px) / -2) 0 0 calc(var(--img, 240px) / -2);
  border-radius: 0; box-shadow: none; filter: none;
  background: url('/assets/sphere-orb.webp') center / contain no-repeat;
  mix-blend-mode: screen;
}
.g-data-flow::before { width: var(--orb, 150px); height: var(--orb, 150px); margin: calc(var(--orb, 150px) / -2) 0 0 calc(var(--orb, 150px) / -2); }
.g-data.is-live .g-data-flow::after { animation: g-orb-sway 9s ease-in-out infinite, g-orb-bump 1.8s ease-out infinite; }
@keyframes g-orb-sway { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@keyframes g-orb-bump { 0%, 48% { scale: 1; } 56% { scale: 1.07; filter: brightness(1.35); } 70% { scale: .985; filter: brightness(1.1); } 82%, 100% { scale: 1; filter: brightness(1); } }
/* no stacking context on the flow layer, so the sphere's screen blend reaches the dark box */
.g-data-flow { z-index: auto; }
.g-data-flow span { z-index: 1; }
@media (max-width: 640px) { .g-data-out { max-width: 58%; } }

/* ===== chat scene ("안녕 가늠자!"): light effects over the live 3D sphere =====
   #g-chat-fx is injected as the first child of the chat section (z-index:-1 context), so it paints
   above the canvas but under the speech bubbles. renewal.js positions it on the sphere
   (--cx/--cy/--r) and shows it only while the chat section fills the screen. */
#g-chat-fx {
  position: fixed; left: var(--cx, 50%); top: var(--cy, 59%); width: calc(var(--r, 240px) * 2); height: calc(var(--r, 240px) * 2);
  translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity .8s ease;
}
#g-chat-fx.is-on { opacity: 1; }
#g-chat-fx > * { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; }
/* breathing halo around the sphere */
#g-chat-fx .g-fx-halo { inset: -18%; background: radial-gradient(closest-side, rgba(139, 92, 255, 0) 58%, rgba(167, 120, 255, 0.38) 72%, rgba(247, 176, 255, 0.12) 86%, rgba(139, 92, 255, 0) 100%); }
#g-chat-fx.is-on .g-fx-halo { animation: g-fx-breathe 4.2s ease-in-out infinite; }
@keyframes g-fx-breathe { 0%, 100% { opacity: .55; scale: .98; } 50% { opacity: 1; scale: 1.04; } }
/* inner shimmer sweeping across the surface */
#g-chat-fx .g-fx-sheen { background: conic-gradient(from 0deg, rgba(247, 176, 255, 0) 0deg, rgba(247, 176, 255, 0) 250deg, rgba(247, 176, 255, 0.22) 320deg, rgba(255, 255, 255, 0.35) 345deg, rgba(247, 176, 255, 0) 360deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 92%, transparent 100%); mask-image: radial-gradient(closest-side, #000 92%, transparent 100%); }
#g-chat-fx.is-on .g-fx-sheen { animation: g-fx-spin 7s linear infinite; }
@keyframes g-fx-spin { to { rotate: 360deg; } }
/* ripple rings leaving the surface */
#g-chat-fx .g-fx-ring { border: 2px solid rgba(247, 176, 255, 0.75); box-shadow: 0 0 18px rgba(247, 176, 255, 0.45); opacity: 0; }
#g-chat-fx.is-on .g-fx-ring { animation: g-fx-ring 3.6s ease-out infinite; }
#g-chat-fx.is-on .g-fx-ring:nth-of-type(4) { animation-delay: 1.2s; }
#g-chat-fx.is-on .g-fx-ring:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes g-fx-ring { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 1.55; } }
/* sparks orbiting on tilted ellipses */
#g-chat-fx .g-fx-orbit { inset: -14%; border-radius: 50%; mix-blend-mode: normal; }
#g-chat-fx .g-fx-orbit::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px rgba(247, 176, 255, 0.9), 0 0 30px 8px rgba(139, 92, 255, 0.6); }
#g-chat-fx .g-fx-orbit.o1 { transform: rotate(-16deg) scaleY(.36); }
#g-chat-fx .g-fx-orbit.o2 { inset: -6%; transform: rotate(58deg) scaleY(.28); }
#g-chat-fx .g-fx-orbit > i { position: absolute; inset: 0; border-radius: 50%; }
#g-chat-fx.is-on .g-fx-orbit.o1 { animation: g-fx-orbit1 6s linear infinite; }
#g-chat-fx.is-on .g-fx-orbit.o2 { animation: g-fx-orbit2 9s linear infinite; }
@keyframes g-fx-orbit1 { from { transform: rotate(-16deg) scaleY(.36) rotate(0deg); } to { transform: rotate(-16deg) scaleY(.36) rotate(360deg); } }
@keyframes g-fx-orbit2 { from { transform: rotate(58deg) scaleY(.28) rotate(0deg); } to { transform: rotate(58deg) scaleY(.28) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { #g-chat-fx * { animation: none !important; } }

/* ===== Decision Intelligence steps: 01→06 light up in turn, then the light lands on 07 DECIDE =====
   One 6s cycle. Step i starts at i × 0.45s; DECIDE reacts at ~46% (2.75s). Runs only while visible (.is-live). */
.g-step { transition: box-shadow .3s ease; }
.g-steps.is-live .g-step:not(.g-step-decide) { animation: g-step-lit 6s ease-in-out infinite; }
.g-steps.is-live .g-step:not(.g-step-decide) .g-step-en { animation: g-step-en 6s ease-in-out infinite; }
.g-steps.is-live .g-step:nth-child(2), .g-steps.is-live .g-step:nth-child(2) .g-step-en { animation-delay: .45s; }
.g-steps.is-live .g-step:nth-child(3), .g-steps.is-live .g-step:nth-child(3) .g-step-en { animation-delay: .9s; }
.g-steps.is-live .g-step:nth-child(4), .g-steps.is-live .g-step:nth-child(4) .g-step-en { animation-delay: 1.35s; }
.g-steps.is-live .g-step:nth-child(5), .g-steps.is-live .g-step:nth-child(5) .g-step-en { animation-delay: 1.8s; }
.g-steps.is-live .g-step:nth-child(6), .g-steps.is-live .g-step:nth-child(6) .g-step-en { animation-delay: 2.25s; }
@keyframes g-step-lit {
  0%, 16%, 100% { box-shadow: 0 0 0 1px rgba(91, 61, 245, 0); background: var(--g-card); }
  5% { box-shadow: 0 0 0 1.5px rgba(139, 92, 255, 0.75), 0 10px 30px rgba(139, 92, 255, 0.22); background: #f3efff; }
}
@keyframes g-step-en {
  0%, 16%, 100% { color: var(--g-accent); text-shadow: none; }
  5% { color: #8b5cff; text-shadow: 0 0 12px rgba(139, 92, 255, 0.55); }
}

/* 07 DECIDE: the glow swells, a ring ripples out, the label lights */
.g-step-decide::before {
  content: ""; position: absolute; right: 40px; bottom: 30px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(247, 176, 255, 0.8); box-shadow: 0 0 20px rgba(247, 176, 255, 0.5); opacity: 0; pointer-events: none;
}
.g-steps.is-live .g-step-decide { animation: g-decide-card 6s ease-in-out infinite; }
.g-steps.is-live .g-step-decide::after { animation: g-decide-glow 6s ease-in-out infinite; }
.g-steps.is-live .g-step-decide::before { animation: g-decide-ring 6s ease-out infinite; }
.g-steps.is-live .g-step-decide .g-step-en { animation: g-decide-en 6s ease-in-out infinite; }
@keyframes g-decide-card {
  0%, 42%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 1.5px rgba(247, 176, 255, 0.6), 0 18px 60px rgba(139, 92, 255, 0.45); }
  70% { box-shadow: 0 0 0 1px rgba(247, 176, 255, 0.25), 0 12px 40px rgba(139, 92, 255, 0.2); }
}
@keyframes g-decide-glow {
  0%, 42%, 100% { opacity: .75; scale: 1; }
  50% { opacity: 1; scale: 1.6; }
  72% { opacity: .9; scale: 1.15; }
}
@keyframes g-decide-ring {
  0%, 45% { opacity: 0; scale: .4; }
  48% { opacity: 1; scale: .6; }
  75%, 100% { opacity: 0; scale: 2.6; }
}
@keyframes g-decide-en {
  0%, 42%, 100% { color: var(--g-glow); text-shadow: none; letter-spacing: .16em; }
  50%, 64% { color: #fff; text-shadow: 0 0 14px rgba(247, 176, 255, 0.95), 0 0 30px rgba(139, 92, 255, 0.7); letter-spacing: .24em; }
}
@media (max-width: 640px) { .g-step-decide::before { right: 20px; bottom: 16px; width: 90px; height: 90px; } }
@media (prefers-reduced-motion: reduce) {
  .g-steps.is-live .g-step, .g-steps.is-live .g-step *, .g-steps.is-live .g-step::before, .g-steps.is-live .g-step::after { animation: none !important; }
}

/* ===== AI / People cards: "fork" — AI spreads possibilities, a person picks one =====
   Both cards share one 4s beat. Animations run only while the card is on screen (.is-live). */
.g-viz-fork, .g-viz-pick { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; }
.g-viz-fork svg, .g-viz-pick svg { width: 100%; height: 100%; max-height: 200px; overflow: visible; }
.g-viz-fork .g-path, .g-viz-pick .g-path { fill: none; stroke: #d6d0ea; stroke-width: 2.5; stroke-linecap: round; }
.g-viz-fork .g-dot { fill: #8b5cff; opacity: .55; }
.g-viz-fork .g-hub { fill: url(#gpick); fill: #8b5cff; filter: drop-shadow(0 0 6px rgba(139, 92, 255, 0.6)); }
.g-viz-fork .g-hub-ring { fill: none; stroke: #b48cff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-fork .g-path-lit { fill: none; stroke: #8b5cff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 22 100; stroke-dashoffset: 22; opacity: 0;
  filter: drop-shadow(0 0 5px rgba(247, 176, 255, 0.9)); }
.g-end circle { fill: #fff; stroke: #cfc6ee; stroke-width: 2; transition: fill .3s; }
.g-end text { font: 700 14px var(--g-font); fill: #8a80a8; text-anchor: middle; }

/* AI card timeline (4s): dots converge 0–35%, hub pulses ~38%, light runs out the three paths 40–80%, ends glow */
.g-viz-fork.is-live .g-dot { animation: g-fork-dot 4s cubic-bezier(.6, 0, .4, 1) infinite; animation-delay: var(--d); }
@keyframes g-fork-dot {
  0% { transform: translate(0, 0); opacity: .55; }
  32% { transform: translate(var(--dx), var(--dy)); opacity: .9; }
  36%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
.g-viz-fork.is-live .g-hub { animation: g-fork-hub 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes g-fork-hub { 0%, 30%, 60%, 100% { transform: scale(1); } 38% { transform: scale(1.45); } }
.g-viz-fork.is-live .g-hub-ring { animation: g-fork-ring 4s ease-out infinite; }
@keyframes g-fork-ring { 0%, 36% { opacity: 0; transform: scale(1); } 40% { opacity: .9; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(3.2); } }
.g-viz-fork.is-live .g-path-lit { animation: g-fork-run 4s ease-in infinite; animation-delay: var(--d); }
@keyframes g-fork-run { 0%, 38% { stroke-dashoffset: 22; opacity: 0; } 40% { opacity: 1; } 76% { stroke-dashoffset: -100; opacity: 1; } 78%, 100% { stroke-dashoffset: -100; opacity: 0; } }
.g-viz-fork.is-live .g-end circle { animation: g-fork-end 4s ease-out infinite; animation-delay: var(--d); }
.g-viz-fork.is-live .g-end text { animation: g-fork-end-t 4s ease-out infinite; animation-delay: var(--d); }
@keyframes g-fork-end { 0%, 74%, 100% { fill: #fff; stroke: #cfc6ee; } 80%, 92% { fill: #efe7ff; stroke: #8b5cff; } }
@keyframes g-fork-end-t { 0%, 74%, 100% { fill: #8a80a8; } 80%, 92% { fill: #5b3df5; } }

/* People card timeline (4s): the person pulses 0–20%, one path draws 20–62%, check + DECIDE pop at the end */
.g-viz-pick .g-person circle:not(.g-person-ring), .g-viz-pick .g-person path { fill: #5b3df5; }
.g-viz-pick .g-person-ring { fill: none; stroke: #b48cff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-pick .g-pick-lit { fill: none; stroke: url(#gpick); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(247, 176, 255, 0.85)); }
.g-viz-pick .g-check circle { fill: url(#gpick); }
.g-viz-pick .g-check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-viz-pick .g-check, .g-viz-pick .g-decide-tag { opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-pick .g-decide-tag rect { fill: #101010; }
.g-viz-pick .g-decide-tag text { font: 700 12px var(--g-font); letter-spacing: .12em; fill: #fff; text-anchor: middle; }
/* static (no-motion / before play) state shows the decision already made */
.g-viz-pick:not(.is-live) .g-pick-lit { stroke-dashoffset: 0; }
.g-viz-pick:not(.is-live) .g-check, .g-viz-pick:not(.is-live) .g-decide-tag { opacity: 1; }

.g-viz-pick.is-live .g-person-ring { animation: g-pick-ring 4s ease-out infinite; }
@keyframes g-pick-ring { 0% { opacity: .9; transform: scale(.8); } 20%, 100% { opacity: 0; transform: scale(1.6); } }
.g-viz-pick.is-live .g-pick-lit { animation: g-pick-draw 4s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes g-pick-draw { 0%, 18% { stroke-dashoffset: 100; opacity: 1; } 60%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.g-viz-pick.is-live .g-check { animation: g-pick-pop 4s ease-out infinite; }
.g-viz-pick.is-live .g-decide-tag { animation: g-pick-pop 4s ease-out infinite; animation-delay: .12s; }
@keyframes g-pick-pop { 0%, 58% { opacity: 0; transform: scale(.5); } 64% { opacity: 1; transform: scale(1.15); } 70%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.g-viz-pick.is-live .g-end:not(.g-chosen) { animation: g-pick-dim 4s ease-in-out infinite; }
@keyframes g-pick-dim { 0%, 55%, 100% { opacity: 1; } 65%, 90% { opacity: .45; } }

@media (prefers-reduced-motion: reduce) {
  .g-viz-fork *, .g-viz-pick * { animation: none !important; }
  .g-viz-pick .g-pick-lit { stroke-dashoffset: 0; }
  .g-viz-pick .g-check, .g-viz-pick .g-decide-tag { opacity: 1; }
}
#ih46pn-4 .g-viz-fork, #ih46pn-4-2 .g-viz-pick { height: 100% !important; }

/* stacked (column) layout: flex-basis 0 collapsed the AI / People cards to 0px height on mobile */
@media (max-width: 992px) {
  #i3krdj-4, #i3krdj-4-3 { flex: 0 0 auto !important; overflow: visible !important; }
}

/* =====================================================================
   Service diagrams v2 (내일의 혜택 · 판세AI · 에이자리) — pure SVG, motion while on screen (.is-live)
   ===================================================================== */
.g-viz-scale, .g-viz-trend, .g-viz-spot { min-height: 0 !important; display: flex !important; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; }
.g-viz-scale svg, .g-viz-trend svg, .g-viz-spot svg { width: 100%; height: 100%; max-height: 300px; overflow: visible; }
.g-viz-scale text, .g-viz-trend text, .g-viz-spot text { font-family: var(--g-font); text-anchor: middle; }

/* card size: the diagram follows the height of the copy beside it (desktop) */
@media (min-width: 993px) {
  #i3krdj, #i3krdj-3, #i3krdj-3-2 { min-height: 0 !important; height: auto !important; align-items: stretch !important; }
  #i3krdj-2-2, #i3krdj-2-2-2, #i3krdj-2-2-2-2 { width: 46% !important; min-height: 300px; height: auto !important; padding: 0 !important; display: flex !important; }
  #i3krdj-2, #i3krdj-2-3-2-2, #i3krdj-2-3-4 { width: 54% !important; padding-top: 24px !important; padding-bottom: 24px !important; }
  #i3krdj-2-2 > .g-viz, #i3krdj-2-2-2 > .g-viz, #i3krdj-2-2-2-2 > .g-viz { flex: 1; height: auto; }
}
@media (max-width: 992px) {
  #i3krdj-2-2 > .g-viz, #i3krdj-2-2-2-3 > .g-viz, #i3krdj-2-2-2-2 > .g-viz { height: 240px; }
}

/* ---------- 내일의 혜택: perspectives → balance of 기회 / 위험 (4.8s) ---------- */
.g-viz-scale .g-chip rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.g-viz-scale .g-chip text { font-size: 14px; fill: rgba(255, 255, 255, 0.88); }
.g-viz-scale .g-flow-base { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 1.5; }
.g-viz-scale .g-flow-lit { fill: none; stroke: #f7b0ff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 20 100; stroke-dashoffset: 20; opacity: 0; filter: drop-shadow(0 0 4px rgba(247, 176, 255, 0.9)); }
.g-viz-scale .g-stand { fill: rgba(255, 255, 255, 0.16); }
.g-viz-scale .g-beam { transform-box: view-box; transform-origin: 260px 132px; }
.g-viz-scale .g-beam-bar { fill: rgba(255, 255, 255, 0.55); }
.g-viz-scale .g-string { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.g-viz-scale .g-pan text { font-size: 15px; font-weight: 700; }
.g-viz-scale .g-pan-a text { fill: #0a0810; }
.g-viz-scale .g-pan-b rect { fill: #1d1b26; stroke: rgba(247, 176, 255, 0.5); stroke-width: 1.5; }
.g-viz-scale .g-pan-b text { fill: #fff; }
.g-viz-scale .g-pivot { fill: #f7b0ff; filter: drop-shadow(0 0 6px rgba(247, 176, 255, 0.9)); }
.g-viz-scale .g-pivot-ring { fill: none; stroke: #f7b0ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-scale.is-live .g-flow-lit { animation: g-sc-flow 4.8s ease-in infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes g-sc-flow { 0% { stroke-dashoffset: 20; opacity: 0; } 3% { opacity: 1; } 22% { stroke-dashoffset: -100; opacity: 1; } 24%, 100% { stroke-dashoffset: -100; opacity: 0; } }
.g-viz-scale.is-live .g-chip rect { animation: g-sc-chip 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes g-sc-chip { 0%, 14%, 100% { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.22); } 3% { fill: rgba(139, 92, 255, 0.35); stroke: #f7b0ff; } }
.g-viz-scale.is-live .g-beam { animation: g-sc-beam 4.8s cubic-bezier(.4, 0, .3, 1) infinite; }
@keyframes g-sc-beam { 0%, 26% { rotate: 0deg; } 36% { rotate: -7deg; } 48% { rotate: 5deg; } 60% { rotate: -2.5deg; } 72%, 100% { rotate: 0deg; } }
.g-viz-scale.is-live .g-pivot-ring { animation: g-sc-ring 4.8s ease-out infinite; }
@keyframes g-sc-ring { 0%, 28% { opacity: 0; transform: scale(1); } 31% { opacity: .9; } 55%, 100% { opacity: 0; transform: scale(3.4); } }

/* ---------- 판세AI: trend draws, signals pop, possible next flows branch out (5s) ---------- */
.g-viz-trend .g-axis line { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; stroke-dasharray: 3 5; }
.g-viz-trend .g-tag-now, .g-viz-trend .g-tag-next { font-size: 11px; font-weight: 700; letter-spacing: .14em; fill: rgba(255, 255, 255, 0.45); }
.g-viz-trend .g-tag-next { fill: rgba(247, 176, 255, 0.75); }
.g-viz-trend .g-trend-base { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 3; stroke-linejoin: round; }
.g-viz-trend .g-trend { fill: none; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(247, 176, 255, 0.55)); }
.g-viz-trend .g-signal circle:last-child { fill: #fff; }
.g-viz-trend .g-signal-ring { fill: none; stroke: #f7b0ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-trend .g-branch { fill: none; stroke: #f7b0ff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 6; opacity: .85; }
.g-viz-trend .g-branch-end { fill: #1d1b26; stroke: #f7b0ff; stroke-width: 2; }
.g-viz-trend.is-live .g-trend { animation: g-tr-draw 5s ease-in-out infinite; }
@keyframes g-tr-draw { 0% { stroke-dashoffset: 100; opacity: 1; } 45%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.g-viz-trend.is-live .g-signal { animation: g-tr-pop 5s ease-out infinite; animation-delay: calc(var(--i) * .55s + .7s); transform-box: fill-box; transform-origin: center; }
@keyframes g-tr-pop { 0% { opacity: 0; scale: .3; } 6% { opacity: 1; scale: 1.5; } 12%, 70% { opacity: 1; scale: 1; } 80%, 100% { opacity: 0; scale: 1; } }
.g-viz-trend.is-live .g-signal-ring { animation: g-tr-ring 5s ease-out infinite; animation-delay: calc(var(--i) * .55s + .7s); }
@keyframes g-tr-ring { 0% { opacity: .9; transform: scale(1); } 18%, 100% { opacity: 0; transform: scale(3); } }
.g-viz-trend.is-live .g-branch { animation: g-tr-branch 5s linear infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes g-tr-branch { 0%, 46% { opacity: 0; stroke-dashoffset: 0; } 52% { opacity: .9; } 90% { opacity: .9; stroke-dashoffset: -40; } 100% { opacity: 0; stroke-dashoffset: -44; } }
.g-viz-trend.is-live .g-branch-end { animation: g-tr-end 5s ease-out infinite; animation-delay: calc(var(--i) * .18s); transform-box: fill-box; transform-origin: center; }
@keyframes g-tr-end { 0%, 56% { opacity: 0; scale: .4; } 62% { opacity: 1; scale: 1.3; } 68%, 90% { opacity: 1; scale: 1; } 100% { opacity: 0; } }

/* ---------- 에이자리: conditions rule places out until one fits (6s) ---------- */
.g-viz-spot .g-cand { transform-box: fill-box; transform-origin: 50% 100%; }
.g-viz-spot .g-cand path { filter: drop-shadow(0 4px 8px rgba(139, 92, 255, 0.45)); }
.g-viz-spot .g-cand-dot { fill: #0a0810; opacity: .55; }
.g-viz-spot .g-cand-ring { fill: none; stroke: #f7b0ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-spot .g-cond rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.g-viz-spot .g-cond text { font-size: 13px; fill: rgba(255, 255, 255, 0.85); }
.g-viz-spot.is-live .g-cond rect { animation: g-sp-cond 6s ease-in-out infinite; animation-delay: calc(var(--i) * .7s + .2s); }
@keyframes g-sp-cond { 0%, 12%, 100% { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.22); } 3%, 8% { fill: rgba(139, 92, 255, 0.4); stroke: #f7b0ff; } }
.g-viz-spot.is-live .g-cand:not(.g-cand-pick) { animation: g-sp-out 6s ease-in-out infinite; animation-delay: calc(var(--o) * .7s + .35s); }
@keyframes g-sp-out { 0%, 3% { opacity: 1; scale: 1; } 8% { opacity: .18; scale: .82; } 52% { opacity: .18; scale: .82; } 60%, 100% { opacity: 1; scale: 1; } }
.g-viz-spot.is-live .g-cand-pick { animation: g-sp-pick 6s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes g-sp-pick { 0%, 48% { scale: 1; translate: 0 0; } 53% { scale: 1.3; translate: 0 -8px; } 58% { scale: 1.2; translate: 0 0; } 85% { scale: 1.2; } 95%, 100% { scale: 1; } }
.g-viz-spot.is-live .g-cand-pick .g-cand-ring { animation: g-sp-ring 6s ease-out infinite; }
@keyframes g-sp-ring { 0%, 52% { opacity: 0; transform: scale(1); } 55% { opacity: .9; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(2.6); } }

@media (prefers-reduced-motion: reduce) {
  .g-viz-scale *, .g-viz-trend *, .g-viz-spot * { animation: none !important; }
}
/* mobile: diagram box hugs the drawing (no empty band), minimal inner padding */
@media (max-width: 992px) {
  #i3krdj-2-2, #i3krdj-2-2-2-3, #i3krdj-2-2-2-2 { padding: 0 !important; }
  #i3krdj-2-2 > .g-viz, #i3krdj-2-2-2-3 > .g-viz, #i3krdj-2-2-2-2 > .g-viz { height: auto !important; padding: 10px 6px; }
  .g-viz-scale svg, .g-viz-trend svg, .g-viz-spot svg { height: auto; aspect-ratio: 520 / 300; }
}

/* service detail pages: let the diagram use the full width of its panel */
.g-viz-wrap .g-viz-scale svg, .g-viz-wrap .g-viz-trend svg, .g-viz-wrap .g-viz-spot svg { max-height: none; }
.g-viz-wrap .g-viz-scale, .g-viz-wrap .g-viz-trend, .g-viz-wrap .g-viz-spot { padding: 28px; }

/* People card v2: the choice rotates A → B → C (one 4s beat each, 12s loop) */
.g-viz-pick .g-pick-lit { opacity: 0; }
.g-viz-pick:not(.is-live) .g-check:not([style*="--k:0"]), .g-viz-pick:not(.is-live) .g-decide-tag:not([style*="--k:0"]) { opacity: 0; }
.g-viz-pick:not(.is-live) .g-pick-lit[style*="--k:0"] { opacity: 1; stroke-dashoffset: 0; }
.g-viz-pick:not(.is-live) .g-check[style*="--k:0"], .g-viz-pick:not(.is-live) .g-decide-tag[style*="--k:0"] { opacity: 1; }
.g-viz-pick.is-live .g-pick-lit { animation: g-pick-draw3 12s cubic-bezier(.5, 0, .3, 1) infinite; animation-delay: calc(var(--k) * 4s); }
@keyframes g-pick-draw3 { 0%, 6% { stroke-dashoffset: 100; opacity: 1; } 20%, 30% { stroke-dashoffset: 0; opacity: 1; } 33.3%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.g-viz-pick.is-live .g-check, .g-viz-pick.is-live .g-decide-tag { animation: g-pick-pop3 12s ease-out infinite !important; animation-delay: calc(var(--k) * 4s) !important; }
.g-viz-pick.is-live .g-decide-tag { animation-delay: calc(var(--k) * 4s + .12s) !important; }
@keyframes g-pick-pop3 { 0%, 19% { opacity: 0; transform: scale(.5); } 21% { opacity: 1; transform: scale(1.15); } 23%, 30% { opacity: 1; transform: scale(1); } 33.3%, 100% { opacity: 0; transform: scale(1); } }
.g-viz-pick.is-live .g-end { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .g-viz-pick .g-pick-lit[style*="--k:0"] { opacity: 1; stroke-dashoffset: 0; }
  .g-viz-pick .g-check[style*="--k:0"], .g-viz-pick .g-decide-tag[style*="--k:0"] { opacity: 1 !important; }
}

/* glow on the group, not on each path: a perfectly horizontal path (B) has a 0-height box,
   and a drop-shadow filter on it makes the whole path disappear */
.g-viz-fork .g-path-lit, .g-viz-pick .g-pick-lit { filter: none !important; }
.g-viz-fork .g-glow { filter: drop-shadow(0 0 5px rgba(247, 176, 255, 0.9)); }
.g-viz-pick .g-glow { filter: drop-shadow(0 0 6px rgba(247, 176, 255, 0.85)); }

/* ===== 내일의 혜택 v3: overlapping perspective lenses (5s) ===== */
.g-viz-venn { min-height: 0 !important; display: flex !important; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; }
.g-viz-venn svg { width: 100%; height: 100%; max-height: 300px; overflow: visible; }
.g-viz-wrap .g-viz-venn svg { max-height: none; }
.g-viz-wrap .g-viz-venn { padding: 28px; }
.g-viz-venn text { font-family: var(--g-font); text-anchor: middle; }
.g-viz-venn .g-lens-c circle { fill: rgba(139, 92, 255, 0.16); stroke: rgba(247, 176, 255, 0.55); stroke-width: 1.5; }
.g-viz-venn .g-lens-label rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.24); stroke-width: 1; }
.g-viz-venn .g-lens-label text { font-size: 13px; fill: rgba(255, 255, 255, 0.88); }
.g-viz-venn .g-venn-core text { font-size: 15px; font-weight: 700; fill: #0a0810; }
.g-viz-venn .g-venn-risk path { fill: #f7b0ff; }
.g-viz-venn .g-venn-risk rect { fill: #1d1b26; stroke: rgba(247, 176, 255, 0.6); stroke-width: 1.5; }
.g-viz-venn .g-venn-risk text { font-size: 13px; font-weight: 700; fill: #fff; }
.g-viz-venn .g-risk-ring { fill: none; stroke: #f7b0ff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-viz-venn .g-venn-glow, .g-viz-venn .g-venn-core { transform-box: fill-box; transform-origin: center; }
@media (max-width: 992px) { #i3krdj-2-2 > .g-viz-venn { height: auto !important; padding: 10px 6px; } .g-viz-venn svg { height: auto; aspect-ratio: 520 / 300; } }

.g-viz-venn.is-live .g-lens-c { animation: g-venn-in 5s cubic-bezier(.3, 0, .2, 1) infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes g-venn-in {
  0% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
  14% { transform: translate(0, 0); opacity: 1; }
  88% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}
.g-viz-venn.is-live .g-lens-label rect { animation: g-venn-label 5s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes g-venn-label { 0%, 2% { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.24); } 6%, 12% { fill: rgba(139, 92, 255, 0.4); stroke: #f7b0ff; } 20%, 100% { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.24); } }
.g-viz-venn.is-live .g-venn-glow { animation: g-venn-glow 5s ease-in-out infinite; }
@keyframes g-venn-glow { 0%, 38% { opacity: 0; transform: scale(.4); } 46% { opacity: 1; transform: scale(1.25); } 54%, 84% { opacity: .85; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.6); } }
.g-viz-venn.is-live .g-venn-core { animation: g-venn-core 5s ease-out infinite; }
@keyframes g-venn-core { 0%, 40% { opacity: 0; transform: scale(.5); } 47% { opacity: 1; transform: scale(1.15); } 52%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
.g-viz-venn.is-live .g-venn-risk { animation: g-venn-risk 5s ease-in-out infinite; }
@keyframes g-venn-risk { 0%, 52% { opacity: 0; } 56% { opacity: 1; } 62% { opacity: .35; } 68% { opacity: 1; } 74% { opacity: .35; } 80%, 86% { opacity: 1; } 94%, 100% { opacity: 0; } }
.g-viz-venn.is-live .g-risk-ring { animation: g-venn-rring 5s ease-out infinite; }
@keyframes g-venn-rring { 0%, 55% { opacity: 0; transform: scale(1); } 57% { opacity: .9; } 72%, 100% { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) { .g-viz-venn * { animation: none !important; } }

/* ===== ONE GANEUM: merge → accumulate → expand (6s loop, while on screen) =====
   0.0/0.8/1.6s each service lights and drops light into the engine (engine brightens a step each time),
   ~2.4s the light runs down to the platform, then the NEW FIELD pills switch on one by one. */
.g-one-line { position: relative; overflow: hidden; width: 2px !important; background: rgba(255, 255, 255, 0.14) !important; }
.g-one-line::after { content: ""; position: absolute; left: -1px; right: -1px; top: -60%; height: 60%; border-radius: 2px;
  background: linear-gradient(transparent, #f7b0ff, #fff); box-shadow: 0 0 8px #f7b0ff; opacity: 0; }
.g-one-engine { position: relative; transition: none; }
.g-one-engine::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid #f7b0ff; opacity: 0; pointer-events: none; }
.g-one-next span { transition: none; }

.g-one.is-live .g-one-row:first-child span { animation: g-one-svc 6s ease-in-out infinite; }
.g-one.is-live .g-one-row:first-child span:nth-child(2) { animation-delay: .8s; }
.g-one.is-live .g-one-row:first-child span:nth-child(3) { animation-delay: 1.6s; }
@keyframes g-one-svc {
  0%, 12%, 100% { border-color: rgba(255, 255, 255, 0.25); background: transparent; box-shadow: none; color: #fff; }
  3%, 7% { border-color: #f7b0ff; background: rgba(139, 92, 255, 0.35); box-shadow: 0 0 18px rgba(247, 176, 255, 0.5); }
}
.g-one.is-live .g-one-row + .g-one-line::after { animation: g-one-drop3 6s cubic-bezier(.5, 0, .8, .5) infinite; }
@keyframes g-one-drop3 {
  0% { top: -60%; opacity: 0; } 2% { opacity: 1; } 10% { top: 100%; opacity: 1; } 11% { top: -60%; opacity: 0; }
  14% { top: -60%; opacity: 1; } 23% { top: 100%; opacity: 1; } 24% { top: -60%; opacity: 0; }
  27% { top: -60%; opacity: 1; } 36% { top: 100%; opacity: 1; } 37%, 100% { top: 100%; opacity: 0; }
}
.g-one.is-live .g-one-engine { animation: g-one-engine 6s ease-in-out infinite; }
@keyframes g-one-engine {
  0%, 9% { filter: brightness(.72) saturate(.8); box-shadow: 0 0 30px rgba(139, 92, 255, 0.25); scale: 1; }
  11%, 22% { filter: brightness(.86); box-shadow: 0 0 50px rgba(139, 92, 255, 0.4); scale: 1.02; }
  24%, 35% { filter: brightness(1); box-shadow: 0 0 70px rgba(139, 92, 255, 0.55); scale: 1.03; }
  38% { filter: brightness(1.25); box-shadow: 0 0 110px rgba(247, 176, 255, 0.8); scale: 1.08; }
  44%, 86% { filter: brightness(1.12); box-shadow: 0 0 90px rgba(139, 92, 255, 0.7); scale: 1.04; }
  100% { filter: brightness(.72) saturate(.8); box-shadow: 0 0 30px rgba(139, 92, 255, 0.25); scale: 1; }
}
.g-one.is-live .g-one-engine::after { animation: g-one-ring 6s ease-out infinite; }
@keyframes g-one-ring { 0%, 36% { opacity: 0; transform: scale(1); } 38% { opacity: .9; transform: scale(1); } 52%, 100% { opacity: 0; transform: scale(1.25, 1.9); } }
.g-one.is-live .g-one-engine + .g-one-line::after { animation: g-one-drop1 6s cubic-bezier(.5, 0, .8, .5) infinite; }
@keyframes g-one-drop1 { 0%, 40% { top: -60%; opacity: 0; } 42% { opacity: 1; } 50% { top: 100%; opacity: 1; } 51%, 100% { top: 100%; opacity: 0; } }
.g-one.is-live .g-one-platform { animation: g-one-platform 6s ease-in-out infinite; }
@keyframes g-one-platform { 0%, 49%, 100% { border-color: rgba(247, 176, 255, 0.6); box-shadow: none; } 52%, 86% { border-color: #f7b0ff; box-shadow: 0 0 28px rgba(247, 176, 255, 0.55), inset 0 0 14px rgba(247, 176, 255, 0.25); } }
.g-one.is-live .g-one-next span { animation: g-one-field 6s ease-out infinite; }
.g-one.is-live .g-one-next span:nth-child(1) { animation-delay: 3.3s; }
.g-one.is-live .g-one-next span:nth-child(2) { animation-delay: 3.7s; }
.g-one.is-live .g-one-next span:nth-child(3) { animation-delay: 4.1s; }
@keyframes g-one-field {
  0% { border-style: solid; border-color: #f7b0ff; color: #fff; background: rgba(139, 92, 255, 0.35); box-shadow: 0 0 18px rgba(247, 176, 255, 0.55); }
  20% { border-style: solid; border-color: rgba(247, 176, 255, 0.8); color: #fff; background: rgba(139, 92, 255, 0.15); box-shadow: none; }
  26%, 100% { border-style: dashed; border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.55); background: transparent; box-shadow: none; }
}

/* ===== OUR FUTURE: Search → Answer → Decision follows the scroll =====
   renewal.js sets data-stage (0/1/2) and --a1/--a2 (arrow fill 0..1) on .g-sad. */
.g-sad span, .g-sad i { transition: color .35s ease, text-shadow .35s ease, opacity .35s ease; }
.g-sad span { color: rgba(255, 255, 255, 0.28); }
.g-sad .g-sad-now { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: rgba(255, 255, 255, 0.28); }
.g-sad i {
  background: linear-gradient(90deg, #f7b0ff 0, #f7b0ff calc(var(--a, 0) * 100%), rgba(255, 255, 255, 0.22) calc(var(--a, 0) * 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g-sad i:nth-of-type(1) { --a: var(--a1, 0); }
.g-sad i:nth-of-type(2) { --a: var(--a2, 0); }
.g-sad[data-stage="0"] span:nth-of-type(1),
.g-sad[data-stage="1"] span:nth-of-type(2) { color: #fff; text-shadow: 0 0 24px rgba(247, 176, 255, 0.45); }
.g-sad[data-stage="1"] span:nth-of-type(1),
.g-sad[data-stage="2"] span:nth-of-type(1),
.g-sad[data-stage="2"] span:nth-of-type(2) { color: rgba(255, 255, 255, 0.42); }
.g-sad[data-stage="2"] .g-sad-now {
  background: linear-gradient(90deg, var(--g-glow), var(--g-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(247, 176, 255, 0.45));
}
@media (prefers-reduced-motion: reduce) {
  .g-one * , .g-one *::after { animation: none !important; }
}

/* ===== OUR DIFFERENCE cards: same 01→ light sequence as the Decision Intelligence steps (6s loop) ===== */
.g-diffs.is-live .g-diff { animation: g-step-lit 6s ease-in-out infinite; }
.g-diffs.is-live .g-diff .g-num { animation: g-step-en 6s ease-in-out infinite; }
.g-diffs.is-live .g-diff:nth-child(2), .g-diffs.is-live .g-diff:nth-child(2) .g-num { animation-delay: .45s; }
.g-diffs.is-live .g-diff:nth-child(3), .g-diffs.is-live .g-diff:nth-child(3) .g-num { animation-delay: .9s; }
.g-diffs.is-live .g-diff:nth-child(4), .g-diffs.is-live .g-diff:nth-child(4) .g-num { animation-delay: 1.35s; }
.g-diffs.is-live .g-diff:nth-child(5), .g-diffs.is-live .g-diff:nth-child(5) .g-num { animation-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) { .g-diffs.is-live .g-diff, .g-diffs.is-live .g-diff * { animation: none !important; } }

/* ===== 찾아오는 길 map card: places fade in, a route draws to our office, our pin drops in (6s) ===== */
.g-loc-viz { position: absolute; inset: 0; }
.g-loc-viz svg { width: 100%; height: 100%; display: block; }
.g-loc-viz .g-road { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 14; stroke-linecap: round; }
.g-loc-viz .g-loc-other path { fill: rgba(167, 139, 250, 0.55); }
.g-loc-viz .g-loc-start { fill: #fff; stroke: rgba(247, 176, 255, 0.6); stroke-width: 4; }
.g-loc-viz .g-loc-route { fill: none; stroke: #f7b0ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.g-loc-viz .g-loc-shadow { fill: rgba(0, 0, 0, 0.45); }
.g-loc-viz .g-loc-ring { fill: none; stroke: #f7b0ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-loc-viz .g-loc-pin { filter: drop-shadow(0 6px 12px rgba(139, 92, 255, 0.6)); transform-box: fill-box; transform-origin: 50% 100%; }
.g-loc-viz .g-loc-tag rect { fill: rgba(10, 8, 16, 0.85); stroke: rgba(247, 176, 255, 0.55); stroke-width: 1.2; }
.g-loc-viz .g-loc-tag text { font-family: var(--g-font); font-size: 14px; fill: #fff; }
.g-loc-viz .g-loc-tag .t1 { font-weight: 700; }
.g-loc-viz .g-loc-tag .t2 { fill: rgba(255, 255, 255, 0.7); font-size: 13px; }
.g-loc-viz .g-loc-other, .g-loc-viz .g-loc-tag { transform-box: fill-box; transform-origin: 50% 100%; }

.g-loc-map.is-live .g-loc-other { animation: g-loc-other 6s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes g-loc-other { 0% { opacity: 0; transform: translateY(-8px); } 10% { opacity: 1; transform: none; } 50% { opacity: 1; } 58%, 90% { opacity: .22; } 100% { opacity: 0; } }
.g-loc-map.is-live .g-loc-route { animation: g-loc-route 6s ease-in-out infinite; }
@keyframes g-loc-route { 0%, 14% { stroke-dashoffset: 100; opacity: 1; } 48%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.g-loc-map.is-live .g-loc-pin { animation: g-loc-drop 6s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes g-loc-drop { 0%, 46% { opacity: 0; transform: translateY(-46px); } 52% { opacity: 1; transform: translateY(0) scale(1.08, .92); } 56% { transform: translateY(-10px); } 60% { transform: translateY(0); } 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.g-loc-map.is-live .g-loc-shadow { animation: g-loc-shadow 6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes g-loc-shadow { 0%, 46% { opacity: 0; transform: scale(.4); } 52%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.g-loc-map.is-live .g-loc-ring { animation: g-loc-ring 6s ease-out infinite; }
.g-loc-map.is-live .g-loc-ring.r2 { animation-delay: .5s; }
@keyframes g-loc-ring { 0%, 52% { opacity: 0; transform: scale(1); } 54% { opacity: .9; } 78%, 100% { opacity: 0; transform: scale(3.4); } }
.g-loc-map.is-live .g-loc-tag { animation: g-loc-tag 6s ease-out infinite; }
@keyframes g-loc-tag { 0%, 56% { opacity: 0; transform: translateY(8px); } 62%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* static: final state */
.g-loc-map:not(.is-live) .g-loc-other { opacity: .22; }
@media (prefers-reduced-motion: reduce) { .g-loc-viz * { animation: none !important; } }
@media (max-width: 640px) { .g-loc-viz .g-loc-tag .t2 { display: none; } .g-loc-viz .g-loc-tag rect { width: 92px; } }

/* ===== English uses the same typography as Korean (Pretendard, no italic serif accents) ===== */
html[data-lang="en"] body,
html[data-lang="en"] .pw-text-style,
html[data-lang="en"] h1, html[data-lang="en"] h2, html[data-lang="en"] h3, html[data-lang="en"] p {
  font-family: 'Pretendard', 'Inter', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif !important;
}
html[data-lang="en"] #itwt9d,
html[data-lang="en"] #iaya0c,
html[data-lang="en"] #itbgaj,
html[data-lang="en"] #ifmw9a7,
html[data-lang="en"] #ixixp8,
html[data-lang="en"] #if3ee6-2 {
  font-family: 'Pretendard', sans-serif !important;
  font-style: normal !important;
  font-weight: 500;
}
html[data-lang="en"] h1.pw-text-style, html[data-lang="en"] h2.pw-text-style { letter-spacing: -0.02em; }

/* ===== OUR PROMISE closing line: sit in the middle of the dark gap before CONTACT (visual offset only;
   the 3D spacers that follow must keep their height) ===== */
.g-promise-close { position: relative; top: 26vh; }
@media (max-width: 640px) { .g-promise-close { top: 32vh; } }

/* ===== ABOUT GANEUM label: line on both sides, like the other section labels ===== */
#ico91-2-2::after, #ico91-2-2-3::after { content: ""; width: 40px; height: 1px; background: #000; flex: none; }

/* ===== mobile: shorter page =====
   card groups become horizontal swipe rows (next card peeks in); the chat scene scrolls for less */
@media (max-width: 640px) {
  .g-steps, .g-principles, .g-diffs {
    display: flex !important; grid-template-columns: none !important; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    gap: 12px; margin-left: -20px; margin-right: -20px; padding: 4px 20px 18px; box-sizing: border-box;
  }
  .g-steps::-webkit-scrollbar, .g-principles::-webkit-scrollbar, .g-diffs::-webkit-scrollbar { display: none; }
  .g-steps > *, .g-principles > *, .g-diffs > * { flex: 0 0 80%; scroll-snap-align: center; grid-column: auto !important; }
  .g-steps > .g-step-decide { flex-basis: 86%; }
  .g-swipe-hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--g-ink-3); }
  .g-swipe-hint::before, .g-swipe-hint::after { content: ""; width: 18px; height: 1px; background: currentColor; }
  /* the chat scene keeps its 400dvh: its bubble sequence is tied to that scroll length */
}
.g-swipe-hint { display: none; }

/* wide screens (>1680px): these containers have a max-width but no auto margins, so they hugged the left */
#i8jsjl-2-2 { margin-left: auto !important; margin-right: auto !important; width: 100%; }
#i2m79a { left: 0; right: 0; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box; }

/* ONE GANEUM: equal-width service pills so the middle one (판세AI) sits exactly on the centre line;
   one row on mobile too */
.g-one-row:first-child { flex-wrap: nowrap; }
.g-one-row:first-child span { width: 132px; box-sizing: border-box; padding-left: 0; padding-right: 0; text-align: center; }
@media (max-width: 640px) {
  .g-one-row { gap: 8px; }
  .g-one-row:first-child span { width: 98px; font-size: 14px; padding-top: 10px; padding-bottom: 10px; }
  .g-one-next span { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 640px) {
  .g-one-next { flex-wrap: nowrap; }
  .g-one-next span { width: 98px; box-sizing: border-box; padding-left: 0 !important; padding-right: 0 !important; text-align: center; font-size: 10px; letter-spacing: .08em; }
}

/* service sites not open yet: non-clickable "coming soon" labels in place of the links */
.g-svc-link.is-soon { display: inline-flex; align-items: center; gap: 8px; border-bottom: 0; color: var(--g-ink-3); cursor: default; font-weight: 600; }
.g-svc-link.is-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-accent-2); box-shadow: 0 0 0 4px rgba(139, 92, 255, 0.15); }
.g-btn-solid.is-soon { cursor: default; background: rgba(255, 255, 255, 0.12) !important; color: rgba(255, 255, 255, 0.75) !important; border: 1px dashed rgba(255, 255, 255, 0.35); }
.g-svc-link.is-soon { display: flex; width: fit-content; margin-top: 18px; }

/* "준비 중입니다" notice */
#g-toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 2147483002; translate: -50% 12px;
  max-width: calc(100vw - 40px); box-sizing: border-box; padding: 14px 22px; border-radius: 14px;
  background: rgba(16, 14, 22, 0.94); border: 1px solid rgba(247, 176, 255, 0.45); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(139, 92, 255, 0.3);
  color: #fff; font: 600 15px/1.4 var(--g-font, 'Pretendard', sans-serif); text-align: center; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, translate .25s ease;
}
#g-toast.is-on { opacity: 1; translate: -50% 0; }
@media (max-width: 640px) { #g-toast { white-space: normal; font-size: 14px; } }

/* restored loading overlay (renewal.js finishes the count to 100%): same look as the original */
#g-pwb-loading-wrap { background-color: #06040A; }
#g-ib30d { height: 100dvh; width: 100dvw; position: fixed; display: flex; justify-content: center; align-items: center; background-color: #000; inset: 0; }
#g-iz52b { position: relative; display: flex; justify-content: center; align-items: center; }
#g-i3qaw { position: absolute; display: block; font-size: 18px; color: #fff; font-weight: bold; font-family: 'Pretendard', sans-serif; text-align: center; }

/* The export sets pointer-events:none on these button rows (the runtime forwards clicks to its own buttons only),
   so taps on the buttons we added fell through to the 3D canvas. */
#g-hero-btn2, #g-cta-btn2, #i37rm-3 { pointer-events: auto !important; }

/* ===== PHILOSOPHY cards (예측보다 근거…): same 01→04 border light as the steps / difference cards ===== */
.g-principle { transition: box-shadow .3s ease; }
.g-principles.is-live .g-principle { animation: g-step-lit 6s ease-in-out infinite; }
.g-principles.is-live .g-principle .g-num { animation: g-step-en 6s ease-in-out infinite; }
.g-principles.is-live .g-principle:nth-child(2), .g-principles.is-live .g-principle:nth-child(2) .g-num { animation-delay: .45s; }
.g-principles.is-live .g-principle:nth-child(3), .g-principles.is-live .g-principle:nth-child(3) .g-num { animation-delay: .9s; }
.g-principles.is-live .g-principle:nth-child(4), .g-principles.is-live .g-principle:nth-child(4) .g-num { animation-delay: 1.35s; }

/* Mobile swipe rows: instead of the running sequence, the card that slides into the centre flashes once */
@media (max-width: 640px) {
  .g-steps.is-live .g-step, .g-steps.is-live .g-step .g-step-en,
  .g-steps.is-live .g-step-decide::before, .g-steps.is-live .g-step-decide::after,
  .g-principles.is-live .g-principle, .g-principles.is-live .g-principle .g-num { animation: none !important; }
  .g-steps.is-live .g-step.g-flash:not(.g-step-decide), .g-principles.is-live .g-principle.g-flash { animation: g-card-flash 1.5s ease-out !important; }
  .g-steps.is-live .g-step.g-flash .g-step-en, .g-principles.is-live .g-principle.g-flash .g-num { animation: g-card-flash-en 1.5s ease-out !important; }
  .g-steps.is-live .g-step-decide.g-flash { animation: g-card-flash-dark 1.5s ease-out !important; }
}
@keyframes g-card-flash {
  0%, 100% { box-shadow: 0 0 0 1px rgba(91, 61, 245, 0); background: var(--g-card); }
  22% { box-shadow: 0 0 0 1.5px rgba(139, 92, 255, 0.85), 0 10px 30px rgba(139, 92, 255, 0.28); background: #f3efff; }
}
@keyframes g-card-flash-en {
  0%, 100% { color: var(--g-accent); text-shadow: none; }
  22% { color: #8b5cff; text-shadow: 0 0 12px rgba(139, 92, 255, 0.6); }
}
@keyframes g-card-flash-dark {
  0%, 100% { box-shadow: 0 0 0 1px rgba(247, 176, 255, 0); }
  22% { box-shadow: 0 0 0 1.5px rgba(247, 176, 255, 0.9), 0 0 36px rgba(139, 92, 255, 0.55); }
}
@media (prefers-reduced-motion: reduce) { .g-principles .g-principle, .g-principles .g-principle .g-num, .g-flash, .g-flash * { animation: none !important; } }
