/* ==========================================================================
   Homepage story components (loaded after flow.css): platform coverage, buying journey, intelligence graph,
   before → action → after timeline, research cards, trust row, human-in-the-loop strip.
   One accent (cyan), thin borders, no gradients beyond the existing hero.
   ========================================================================== */

/* ---------- Platform coverage ---------- */
.fl-plats { padding: 48px 0 8px; text-align: center; }
.fl-plats > p { margin: 0 auto 18px; max-width: 560px; font-size: 15px; color: var(--fg-2); }
.fl-plats ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fl-plats li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-1); font-size: 13.5px; color: var(--fg-2); transition: color .3s, border-color .3s; }
.fl-plats li i { width: 6px; height: 6px; border-radius: 50%; background: #3a3a3d; transition: background .3s, box-shadow .3s; }
.fl-plats li:has(span.on) { color: var(--fg); border-color: rgba(1,194,225,.4); }
.fl-plats li:has(span.on) i { background: var(--fl-a); box-shadow: 0 0 8px var(--fl-a); }

/* ---------- The buying journey now starts with an answer ---------- */
.fl-journey { display: grid; gap: 12px; padding-bottom: 96px; }
.fl-jrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.fl-jrow small { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.fl-jrow ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fl-jrow ol li { position: relative; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); font-size: 14px; color: var(--fg-2); }
.fl-jrow ol li + li { margin-left: 18px; }
.fl-jrow ol li + li::before { content: "→"; position: absolute; left: -21px; top: 50%; transform: translateY(-50%); color: var(--fg-4); font-size: 13px; }
.fl-jrow p { margin: 0; font-size: 14px; color: var(--fg-2); }
.fl-jrow.on { border-color: rgba(1,194,225,.35); }
.fl-jrow.on small { color: var(--fl-a); }
.fl-jrow.on ol li { color: var(--fg); }
.fl-jrow.on ol li.hl { border-color: rgba(1,194,225,.5); background: rgba(1,194,225,.08); box-shadow: 0 0 24px rgba(1,194,225,.12); }
.fl-jrow.on ol li.hl::after { content: attr(data-note); position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--fl-a); }
html[lang=ko] .fl-jrow.on ol li.hl::after { content: attr(data-note-ko); }
.fl-jrow.on p { color: var(--fg); }
.fl-jrow.on ol { padding-bottom: 16px; }

/* ---------- Intelligence graph ---------- */
.fl-graph { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 96px; }
.fl-graph-stage { position: relative; aspect-ratio: 1 / .78; min-height: 380px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(60% 55% at 50% 50%, rgba(1,194,225,.06), transparent 70%), var(--bg-1); overflow: hidden; }
.fl-graph-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fl-graph-stage svg line { stroke: rgba(255,255,255,.1); stroke-width: 1; transition: stroke .35s, opacity .35s; }
.fl-graph-stage svg line.on { stroke: var(--fl-a); opacity: .9; filter: drop-shadow(0 0 3px rgba(1,194,225,.6)); }
.fl-graph-stage.dim svg line:not(.on) { opacity: .35; }
.fl-gnode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #0e0e0f; font-size: 12.5px; color: var(--fg-2); white-space: nowrap; transition: color .3s, border-color .3s, box-shadow .3s, opacity .35s; cursor: default; }
.fl-gnode.on { color: var(--fg); border-color: rgba(1,194,225,.5); box-shadow: 0 0 0 4px rgba(1,194,225,.1), 0 0 24px rgba(1,194,225,.2); }
.fl-graph-stage.dim .fl-gnode:not(.on):not(.fl-gcore) { opacity: .4; }
.fl-gcore { left: 50%; top: 50%; width: 150px; height: 150px; display: grid; place-items: center; align-content: center; gap: 3px; border-radius: 50%; border: 1px solid rgba(1,194,225,.45); background: radial-gradient(circle at 50% 38%, rgba(1,194,225,.18), rgba(1,194,225,.03) 70%), #0b0b0c; box-shadow: 0 0 0 12px rgba(1,194,225,.04); text-align: center; white-space: normal; }
.fl-gcore small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fl-a); }
.fl-gcore b { font-size: 13.5px; font-weight: 500; color: var(--fg); }
.fl-gcore span { font-size: 11px; color: var(--fg-3); }
.fl-graph-copy h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.fl-graph-copy > p { margin-top: 12px; color: var(--fg-2); max-width: 440px; }
.fl-glegend { margin: 22px 0 0; border-left: 1px solid var(--line); }
.fl-glegend li { position: relative; padding: 8px 0 8px 16px; cursor: pointer; transition: color .3s; }
.fl-glegend li::before { content: ""; position: absolute; left: -1px; top: 18%; bottom: 18%; width: 2px; background: var(--fl-a); transform: scaleY(0); transition: transform .5s var(--fl-expo); }
.fl-glegend li b { display: block; font-size: 14px; font-weight: 500; color: var(--fg-3); transition: color .3s; }
.fl-glegend li span { display: block; font-size: 13px; color: var(--fg-3); }
.fl-glegend li.on b { color: var(--fg); } .fl-glegend li.on span { color: var(--fg-2); } .fl-glegend li.on::before { transform: scaleY(1); }
.fl-graph-note { margin-top: 18px; font-size: 12.5px; color: var(--fg-3); }

/* ---------- Before → action → after ---------- */
.fl-baa-wrap { padding-bottom: 32px; }
.fl-baa { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.2fr 1fr; gap: 12px; margin: 0; padding: 30px 0 0; list-style: none; }
.fl-baa::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 1px; background: rgba(255,255,255,.12); }
.fl-baa::after { content: ""; position: absolute; left: 10%; top: 8px; height: 3px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--fl-a), #3e8bff); box-shadow: 0 0 10px rgba(1,194,225,.6); transition: width 2.6s var(--fl-expo); }
.fl-baa.in::after { width: 80%; }
.fl-baa > li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .7s var(--fl-expo), border-color .4s; transition-delay: calc(var(--i) * .35s); }
.fl-baa > li::before { content: ""; position: absolute; left: 50%; top: -27px; width: 9px; height: 9px; margin-left: -5px; border-radius: 50%; background: #2a2a2d; border: 1px solid #3a3a3d; transition: background .4s calc(var(--i) * .35s), box-shadow .4s calc(var(--i) * .35s); }
.fl-baa.in > li { opacity: 1; transform: none; }
.fl-baa.in > li::before { background: var(--fl-a); box-shadow: 0 0 10px var(--fl-a); }
.fl-baa > li small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.fl-baa > li strong { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fl-baa > li > span { font-size: 12.5px; color: var(--fg-2); }
.fl-baa > li ul { display: grid; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; }
.fl-baa > li ul li { position: relative; padding-left: 14px; font-size: 13px; color: var(--fg); }
.fl-baa > li ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--fl-a); }
.fl-baa > li.end { border-color: rgba(1,194,225,.4); background: linear-gradient(180deg, rgba(1,194,225,.08), rgba(1,194,225,.01)); }
.fl-baa > li.end strong { color: var(--fl-a); }
.fl-baa-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: var(--fg-3); }

/* ---------- Human in the loop ---------- */
.fl-hitl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: -8px 0 36px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fl-hitl div { padding: 16px 20px; border-right: 1px solid var(--line); background: var(--bg-1); }
.fl-hitl div:last-child { border-right: 0; }
.fl-hitl small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.fl-hitl b { font-size: 15px; font-weight: 500; }
.fl-hitl div:nth-child(2) { background: rgba(1,194,225,.05); }
.fl-hitl div:nth-child(2) small { color: var(--fl-a); }

/* ---------- Research & insights ---------- */
.fl-research { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 96px; }
.fl-rcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); transition: border-color .3s, transform .5s var(--fl-expo); }
.fl-rcard:hover { border-color: rgba(1,194,225,.45); transform: translateY(-3px); }
.fl-rcard small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.fl-rcard h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.fl-rcard p { color: var(--fg-2); font-size: 14px; }
.fl-rcard .st { margin-top: auto; align-self: flex-start; }
.fl-rcard .fl-rviz { height: 54px; display: flex; align-items: flex-end; gap: 4px; }
.fl-rcard .fl-rviz i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #26262a; }
.fl-rcard .fl-rviz i.hi { background: var(--fl-a); }
.fl-rcard:hover .fl-rviz i { animation: flRise .8s var(--fl-expo) backwards; }
@keyframes flRise { from { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Integrations + Security ---------- */
.fl-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 96px; }
.fl-tcard { display: grid; gap: 14px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); transition: border-color .3s; }
.fl-tcard:hover { border-color: rgba(1,194,225,.45); }
.fl-tcard small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.fl-tcard h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.fl-tcard p { color: var(--fg-2); font-size: 14.5px; }
.fl-tcard ul { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-tcard ul li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--fg-2); }
.fl-tcard ul li.soon { color: var(--fg-3); border-style: dashed; }
.fl-tcard .link-arrow { margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .fl-jrow { grid-template-columns: 1fr; gap: 12px; }
  .fl-graph { grid-template-columns: 1fr; }
  .fl-baa { grid-template-columns: 1fr 1fr; }
  .fl-baa::before, .fl-baa::after { display: none; }
  .fl-baa > li::before { display: none; }
  .fl-research { grid-template-columns: 1fr; }
  .fl-trust { grid-template-columns: 1fr; }
  .fl-hitl { grid-template-columns: 1fr; }
  .fl-hitl div { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .fl-baa { grid-template-columns: 1fr; }
  .fl-graph-stage { min-height: 0; aspect-ratio: auto; height: auto; padding: 16px; }
  .fl-graph-stage svg, .fl-graph-stage .fl-gcore { display: none; }
  .fl-gnode { position: static; transform: none; display: inline-block; margin: 0 6px 8px 0; }
  .fl-gnode.on { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .fl-baa > li, .fl-baa::after { transition: none; } .fl-rcard:hover .fl-rviz i { animation: none; } }

/* ---------- Three engines: citation, competitor, opportunity ---------- */
.fl-engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 96px; }
.fl-eng { display: flex; flex-direction: column; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.fl-eng > small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fl-a); }
.fl-eng h3 { margin-top: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; min-height: 2.6em; }
.fl-eng > p { margin-top: 14px; font-size: 14px; color: var(--fg-2); }
.fl-eng > a { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--fg); }
.fl-eviz { margin-top: 18px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-2); }
.fl-eviz > p { margin: 10px 0 0; font-size: 11px; color: var(--fg-4); }
.fl-cite ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fl-cite li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: 12px; color: var(--fg-2); }
.fl-cite li i { display: block; height: 6px; border-radius: 3px; background: #26262a; overflow: hidden; }
.fl-cite li i::after { content: ""; display: block; height: 100%; width: 0; background: var(--fg-3); border-radius: 3px; transition: width 1s var(--fl-expo); }
.fl-cite.in li i::after { width: calc(var(--v) * 1%); }
.fl-cite li.you { color: var(--fg); } .fl-cite li.you i::after { background: var(--fl-a); }
.fl-cite li em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.fl-cmpx { display: grid; gap: 7px; font-size: 12px; }
.fl-cmpx .r { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 58px); gap: 8px; align-items: center; color: var(--fg-2); }
.fl-cmpx .r.h { color: var(--fg-4); font-size: 10.5px; letter-spacing: .04em; }
.fl-cmpx .r.h span { text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-cmpx .r > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-cmpx i { display: block; width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--fg-4); }
.fl-cmpx i.y { background: var(--fg-3); border-color: var(--fg-3); }
.fl-cmpx i.u { background: var(--fl-a); border-color: var(--fl-a); box-shadow: 0 0 8px rgba(1,194,225,.5); }
.fl-cmpx .r.lost > span:first-child { color: var(--fl-warn); }
.fl-opp { display: grid; gap: 8px; }
.fl-opp div { display: grid; grid-template-columns: 22px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 12px; color: var(--fg-2); }
.fl-opp div small { font-size: 10.5px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.fl-opp div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-opp div span b { display: block; font-weight: 400; font-size: 10.5px; color: var(--fg-4); }
.fl-opp div em { font-style: normal; font-weight: 500; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.fl-opp div:first-child em { color: var(--fl-a); }

/* ---------- Customer results placeholder + pilot ---------- */
.fl-results { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px; padding-bottom: 96px; }
.fl-results > div { padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.fl-results small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.fl-results h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.fl-results p { margin-top: 12px; font-size: 14.5px; color: var(--fg-2); }
.fl-pilot { border-color: rgba(1,194,225,.35) !important; }
.fl-pilot small { color: var(--fl-a); }
.fl-pilot b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.fl-pilot .btn { margin-top: 18px; }
@media (max-width: 1000px) { .fl-engines { grid-template-columns: 1fr; } .fl-results { grid-template-columns: 1fr; } }
