/* uture — AX journey section (education → on-site execution → co-build) */

/* Korean typography: never break inside words */
.section-title,
.section-sub,
.hero-sub,
.concern-title,
.concern-desc,
.philosophy-text,
.fde-card h3,
.fde-card > p,
.sol1-title,
.sol1-desc,
.process-body h3,
.process-body p,
.big-cta h2,
.proposal-copy p {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.section-title { text-wrap: balance; }

.fde {
  position: relative;
  background:
    radial-gradient(900px 420px at 50% -120px, var(--orange-faint), transparent 70%),
    var(--bg-0);
  overflow: hidden;
}
.fde::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.fde-head {
  max-width: 780px;
  margin-bottom: 88px;
}
.fde .section-title .accent-orange { color: var(--orange); }

/* ---- Journey track ---- */
.fde-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fde-track::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg,
    var(--orange) 0%,
    rgba(255,106,26,0.55) 45%,
    rgba(255,255,255,0.14) 100%);
  z-index: 0;
}
.fde-track::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  z-index: 0;
}

.fde-track-divider {
  position: absolute;
  top: 23px;
  left: 22.5%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.fde-track-divider span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--text-3);
  border: 1px dashed rgba(255,255,255,0.18);
  background: var(--bg-0);
}

.fde-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fde-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  padding-right: 18px;
  background: var(--bg-0);
}
.fde-node-dot {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid rgba(255,106,26,0.45);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,106,26,0.22), transparent 60%),
    var(--bg-1);
  box-shadow: 0 0 0 6px var(--bg-0), 0 0 28px rgba(255,106,26,0.18);
}
.fde-node-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-2);
}
.fde-col:first-child .fde-node-label { color: var(--orange); }

.fde-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.fde-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,26,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,106,26,0.12);
}
.fde-card h3 {
  margin: 24px 0 12px;
  font-size: 24px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.fde-card > p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.fde-points {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.fde-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
}
.fde-points li svg {
  flex: none;
  margin-top: 3px;
  color: var(--orange);
}

/* ---- Mock visuals ---- */
.fde-mock {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  background: #0A0A0D;
  padding: 14px 16px 16px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
}
.fde-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fde-mock-head .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.fde-mock-head .dot.on {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}
.fde-mock-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

/* educate rows */
.fde-edu-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.fde-edu-row .bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(255,106,26,0.16), rgba(255,106,26,0.04));
}
.fde-edu-row .lbl { position: relative; color: var(--text-1); }
.fde-edu-row em {
  position: relative;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}
.fde-edu-row.done .lbl { color: var(--text-3); }
.fde-edu-row.active { border-color: rgba(255,106,26,0.3); }
.fde-edu-row.active em { color: var(--orange); }

/* embed chat */
.fde-chat {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.5;
}
.fde-chat .who {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
  color: var(--text-3);
}
.fde-chat p { color: var(--text-1); }
.fde-chat.them {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-top-left-radius: 3px;
}
.fde-chat.us {
  align-self: flex-end;
  background: rgba(255,106,26,0.1);
  border: 1px solid rgba(255,106,26,0.28);
  border-top-right-radius: 3px;
}
.fde-chat.us .who { color: var(--orange); }
.fde-chat-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--orange);
  opacity: 0.85;
}

/* build terminal */
.fde-term {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text-2);
}
.fde-term .ps { color: var(--orange); margin-right: 8px; }
.fde-term .ok { color: #9DD49C; }
.fde-term .dep { color: var(--orange); }
.fde-term .caret {
  width: 7px;
  height: 13px;
  margin-top: 4px;
  background: var(--orange);
  animation: fde-blink 1s steps(1) infinite;
}
@keyframes fde-blink { 50% { opacity: 0; } }

/* ---- Proof strip ---- */
.fde-proof {
  margin-top: 64px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(255,106,26,0.06), transparent 40%), var(--bg-1);
}
.fde-proof-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-2);
}
.fde-proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fde-proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-1);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
}
.fde-proof-chip svg { color: var(--orange); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .fde-track { grid-template-columns: 1fr; gap: 40px; }
  .fde-track-divider { display: none; }
  .fde-track::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg,
      var(--orange) 0%,
      rgba(255,106,26,0.55) 45%,
      rgba(255,255,255,0.14) 100%);
  }
  .fde-track::after { display: none; }
  .fde-card h3 br { display: none; }
}

@media (max-width: 640px) {
  .fde-head { margin-bottom: 56px; }
  .fde-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .fde-card { padding: 18px 18px 24px; }
  .fde-card h3 { font-size: 20px; }
  .fde-node-dot {
    width: 40px;
    height: 40px;
    font-size: 12.5px;
  }
  .fde-track::before { left: 20px; }
}
